From a2538ac3f8ddd34e06ae93ebd7192b828b2286c0 Mon Sep 17 00:00:00 2001 From: Fan Shang Xiang Date: Tue, 19 Mar 2024 15:47:14 +0800 Subject: [PATCH] add release pipeline for azclient --- .github/workflows/release-azclient-trace.yml | 25 +++++++++++++++++ .github/workflows/release-azclient.yml | 29 ++++++++++++++++++++ .github/workflows/release-configloader.yml | 25 +++++++++++++++++ .github/workflows/update-vendor-license.yml | 2 +- 4 files changed, 80 insertions(+), 1 deletion(-) create mode 100644 .github/workflows/release-azclient-trace.yml create mode 100644 .github/workflows/release-azclient.yml create mode 100644 .github/workflows/release-configloader.yml diff --git a/.github/workflows/release-azclient-trace.yml b/.github/workflows/release-azclient-trace.yml new file mode 100644 index 0000000000..5f367a46d4 --- /dev/null +++ b/.github/workflows/release-azclient-trace.yml @@ -0,0 +1,25 @@ +name: Release azclient trace +on: + workflow_dispatch: + push: + branches: + - master + paths: + - 'pkg/azclient/trace/*' +permissions: + contents: read +jobs: + build: + runs-on: ubuntu-22.04 + permissions: + contents: write + steps: + - uses: actions/checkout@v4 + with: + fetch-depth: '0' + - name: Bump version and push tag + id: tag_version + uses: mathieudutour/github-tag-action@v6.2 + with: + tag_prefix: pkg/azclient/trace/v + github_token: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/release-azclient.yml b/.github/workflows/release-azclient.yml new file mode 100644 index 0000000000..3fbd8aa9e1 --- /dev/null +++ b/.github/workflows/release-azclient.yml @@ -0,0 +1,29 @@ +name: Release azclient +on: + workflow_dispatch: + push: + branches: + - master + paths: + - 'pkg/azclient/*' + - '!pkg/azclient/configloader*' + - '!pkg/azclient/client-gen*' + - '!pkg/azclient/trace*' +permissions: + contents: read +jobs: + build: + runs-on: ubuntu-22.04 + permissions: + contents: write + steps: + - uses: actions/checkout@v4 + with: + fetch-depth: '0' + - name: Bump version and push tag + id: tag_version + uses: mathieudutour/github-tag-action@v6.2 + with: + tag_prefix: pkg/azclient/v + github_token: ${{ secrets.GITHUB_TOKEN }} + \ No newline at end of file diff --git a/.github/workflows/release-configloader.yml b/.github/workflows/release-configloader.yml new file mode 100644 index 0000000000..9a06d14dca --- /dev/null +++ b/.github/workflows/release-configloader.yml @@ -0,0 +1,25 @@ +name: Release azclient configloader +on: + workflow_dispatch: + push: + branches: + - master + paths: + - 'pkg/azclient/configloader/*' +permissions: + contents: read +jobs: + build: + runs-on: ubuntu-22.04 + permissions: + contents: write + steps: + - uses: actions/checkout@v4 + with: + fetch-depth: '0' + - name: Bump version and push tag + id: tag_version + uses: mathieudutour/github-tag-action@v6.2 + with: + github_token: ${{ secrets.GITHUB_TOKEN }} + tag_prefix: pkg/azclient/configloader/v diff --git a/.github/workflows/update-vendor-license.yml b/.github/workflows/update-vendor-license.yml index 7a7816f906..ed4f6106db 100644 --- a/.github/workflows/update-vendor-license.yml +++ b/.github/workflows/update-vendor-license.yml @@ -69,7 +69,7 @@ jobs: /kind testing #### What this PR does / why we need it: - New release published. + go.sum is out of sync #### Does this PR introduce a user-facing change? ```release-note