forked from kopia/kopia
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
c9bc399
commit 6bc2bb3
Showing
1 changed file
with
38 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
name: Providers - GCS | ||
on: | ||
push: | ||
branches: [ test/provider-gcs, refactor/gcs-client ] | ||
workflow_dispatch: | ||
inputs: | ||
ref: | ||
description: 'branch or git ref to use for the build' | ||
required: true | ||
default: 'test/providers' | ||
|
||
concurrency: | ||
group: ${{ github.workflow }}-${{ github.ref }} | ||
cancel-in-progress: true | ||
jobs: | ||
provider-test: | ||
name: GCS Provider Test | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Check out repository | ||
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 | ||
with: | ||
fetch-depth: 0 | ||
ref: ${{ github.event.inputs.ref_name || github.ref }} | ||
- name: Set up Go | ||
uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # v5.0.2 | ||
with: | ||
go-version-file: 'go.mod' | ||
check-latest: true | ||
id: go | ||
- name: Install Dependencies | ||
run: make provider-tests-deps | ||
- name: GCS | ||
run: make provider-tests PROVIDER_TEST_TARGET=gcs | ||
env: | ||
KOPIA_GCS_CREDENTIALS_JSON_GZIP: ${{ secrets.KOPIA_GCS_CREDENTIALS_JSON_GZIP }} | ||
KOPIA_GCS_TEST_BUCKET: ${{ secrets.KOPIA_GCS_TEST_BUCKET }} | ||
if: ${{ success() || failure() }} |