Skip to content

Commit

Permalink
DNS: run GCS provider tests
Browse files Browse the repository at this point in the history
  • Loading branch information
julio-lopez committed Oct 25, 2024
1 parent c9bc399 commit 6bc2bb3
Showing 1 changed file with 38 additions and 0 deletions.
38 changes: 38 additions & 0 deletions .github/workflows/provider-gcs.yml
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() }}

0 comments on commit 6bc2bb3

Please sign in to comment.