@@ -73,26 +73,24 @@ jobs:
7373 env :
7474 TARBALL_FILE : artifacts.tar
7575 steps :
76- - id : buildkite
76+ - id : buildkite-run
7777 name : Run Release
78- uses : elastic/apm-pipeline-library/.github/ actions/buildkite@current
78+ uses : elastic/oblt- actions/buildkite/run@v1.5.0
7979 with :
80- vaultUrl : ${{ secrets.VAULT_ADDR }}
81- vaultRoleId : ${{ secrets.VAULT_ROLE_ID }}
82- vaultSecretId : ${{ secrets.VAULT_SECRET_ID }}
8380 pipeline : ecs-logging-java-release
84- artifactName : releases
85- artifactPath : ${{ env.TARBALL_FILE }}
86- waitFor : true
87- printBuildLogs : false
88- buildEnvVars : |
81+ token : ${{ secrets.BUILDKITE_TOKEN }}
82+ wait-for : true
83+ env-vars : |
8984 ref=${{ inputs.ref }}
9085 dry_run=${{ inputs.dry_run || 'false' }}
9186 TARBALL_FILE=${{ env.TARBALL_FILE }}
9287
93- - uses : actions/download-artifact@v3
88+ - uses : elastic/oblt- actions/buildkite/ download-artifact@v1.5.0
9489 with :
95- name : releases
90+ build-number : ${{ steps.buildkite-run.outputs.number }}
91+ path : ${{ env.TARBALL_FILE }}
92+ pipeline : ${{ steps.buildkite-run.outputs.pipeline }}
93+ token : ${{ secrets.BUILDKITE_TOKEN }}
9694
9795 - name : untar the buildkite tarball
9896 run : tar xvf ${{ env.TARBALL_FILE }}
@@ -103,15 +101,15 @@ jobs:
103101 subject-path : " ${{ github.workspace }}/**/target/*.jar"
104102
105103 - if : ${{ success() }}
106- uses : elastic/oblt-actions/slack/send@v1.2 .0
104+ uses : elastic/oblt-actions/slack/send@v1.5 .0
107105 with :
108106 bot-token : ${{ secrets.SLACK_BOT_TOKEN }}
109107 channel-id : " #apm-agent-java"
110108 message : |
111- :runner: [${{ github.repository }}] Release *${{ github.ref_name }}* has been triggered in Buildkite: (<${{ steps.buildkite.outputs.build }}|build>)
109+ :runner: [${{ github.repository }}] Release *${{ github.ref_name }}* has been triggered in Buildkite: (<${{ steps.buildkite-run .outputs.build }}|build>)
112110
113111 - if : ${{ failure() }}
114- uses : elastic/oblt-actions/slack/send@v1.2 .0
112+ uses : elastic/oblt-actions/slack/send@v1.5 .0
115113 with :
116114 bot-token : ${{ secrets.SLACK_BOT_TOKEN }}
117115 channel-id : " #apm-agent-java"
0 commit comments