Skip to content

build(deps): bump the google-cloud group across 1 directory with 2 updates #378

build(deps): bump the google-cloud group across 1 directory with 2 updates

build(deps): bump the google-cloud group across 1 directory with 2 updates #378

name: Azurebs Integration Tests
on:
workflow_dispatch:
workflow_call:
pull_request_target:
push:
branches:
- main
concurrency:
group: azurebs-integration
cancel-in-progress: false
jobs:
gate:
name: Approval gate (fork PRs only)
runs-on: ubuntu-latest
if: >
github.event_name == 'pull_request_target' &&
github.event.pull_request.head.repo.full_name != github.repository
environment: fork-pr-integration-test
steps:
- run: echo "Fork PR approved, proceeding with integration tests"
azurecloud-environment-integration-tests:
name: AzureCloud Environment Integration Tests
runs-on: ubuntu-latest
needs: [gate]
if: always() && (needs.gate.result == 'success' || needs.gate.result == 'skipped')
steps:
- name: Checkout code
uses: actions/checkout@v7
with:
ref: ${{ github.event.pull_request.head.sha || github.sha }}
allow-unsafe-pr-checkout: true
- name: Set up Go
uses: actions/setup-go@v7
with:
go-version-file: go.mod
- name: Install Ginkgo
run: go install github.com/onsi/ginkgo/v2/ginkgo@latest
- name: Setup Azurebs Test Environment
run: |
export azure_storage_account="${{ secrets.AZURE_STORAGE_ACCOUNT }}"
export azure_storage_key="${{ secrets.AZURE_STORAGE_KEY }}"
./.github/scripts/azurebs/setup.sh
- name: Run Tests
run: |
export azure_storage_account="${{ secrets.AZURE_STORAGE_ACCOUNT }}"
export azure_storage_key="${{ secrets.AZURE_STORAGE_KEY }}"
./.github/scripts/azurebs/run-int.sh
- name: Teardown Azurebs Test Environment
if: always()
run: |
export azure_storage_account="${{ secrets.AZURE_STORAGE_ACCOUNT }}"
export azure_storage_key="${{ secrets.AZURE_STORAGE_KEY }}"
./.github/scripts/azurebs/teardown.sh