Skip to content

Commit

Permalink
udpatecli: support bump golang for 7.17 (#13559)
Browse files Browse the repository at this point in the history
(cherry picked from commit 6e8f871)

# Conflicts:
#	.github/workflows/bump-golang.yml
  • Loading branch information
v1v authored and mergify[bot] committed Jul 3, 2024
1 parent bb98985 commit dd07318
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .ci/bump-golang.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ scms:
owner: elastic
repository: apm-server
token: '{{ requiredEnv "GITHUB_TOKEN" }}'
branch: main
branch: '{{ requiredEnv "GITHUB_BRANCH" }}'
commitusingapi: true

sources:
Expand Down
29 changes: 29 additions & 0 deletions .github/workflows/bump-golang.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,38 @@ jobs:
command: --experimental apply --config .ci/bump-golang.yml
env:
GITHUB_TOKEN: ${{ secrets.UPDATECLI_GH_TOKEN }}
GITHUB_BRANCH: 'main'

<<<<<<< HEAD
- if: ${{ failure() }}
uses: elastic/oblt-actions/slack/send@v1.2.0
=======
bump-7:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
ref: '7.17'

- uses: elastic/oblt-actions/updatecli/run@v1.9.1
with:
command: --experimental apply --config .ci/bump-golang.yml
env:
GITHUB_TOKEN: ${{ secrets.UPDATECLI_GH_TOKEN }}
GITHUB_BRANCH: '7.17'

notify:
runs-on: ubuntu-latest
needs: [bump, bump-7]
if: always()
steps:
- id: check
uses: elastic/apm-pipeline-library/.github/actions/check-dependent-jobs@current
with:
needs: ${{ toJSON(needs) }}
- if: ${{ steps.check.outputs.isSuccess == 'false' }}
uses: elastic/oblt-actions/slack/send@v1.9.1
>>>>>>> 6e8f87116 (udpatecli: support bump golang for 7.17 (#13559))
with:
bot-token: ${{ secrets.SLACK_BOT_TOKEN }}
channel-id: "#apm-server"
Expand Down

0 comments on commit dd07318

Please sign in to comment.