feat(azure-china): support azure china vault backend endpoint #1134
Workflow file for this run
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
name: Pipeline | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
# The branches below must be a subset of the branches above | |
branches: [main] | |
jobs: | |
linux: | |
strategy: | |
fail-fast: false | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Set up Docker | |
uses: docker/setup-buildx-action@v3 | |
- name: Download deps | |
run: docker build . -t ci | |
# Disable network so that Azure specific behavior doesn't happen | |
- name: Quality | |
run: docker run --network none --env GOPATH="" --rm -v $PWD:/go/work ci make quality | |
- name: Upload coverage to Codecov | |
uses: codecov/codecov-action@v4 | |
- name: Build and test plugin | |
run: docker run --network none --env GOPATH="" --rm -v $PWD:/go/work ci make e2e | |
mac: | |
strategy: | |
fail-fast: false | |
runs-on: macos-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Set up Go | |
uses: actions/setup-go@v5 | |
with: | |
go-version: 1.22.7 | |
- name: Quality checks | |
run: make quality | |
- name: Build and test plugin | |
run: make e2e |