@@ -73,26 +73,24 @@ jobs:
73
73
env :
74
74
TARBALL_FILE : artifacts.tar
75
75
steps :
76
- - id : buildkite
76
+ - id : buildkite-run
77
77
name : Run Release
78
- uses : elastic/apm-pipeline-library/.github/ actions/buildkite@current
78
+ uses :
elastic/oblt- actions/buildkite/[email protected]
79
79
with :
80
- vaultUrl : ${{ secrets.VAULT_ADDR }}
81
- vaultRoleId : ${{ secrets.VAULT_ROLE_ID }}
82
- vaultSecretId : ${{ secrets.VAULT_SECRET_ID }}
83
80
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 : |
89
84
ref=${{ inputs.ref }}
90
85
dry_run=${{ inputs.dry_run || 'false' }}
91
86
TARBALL_FILE=${{ env.TARBALL_FILE }}
92
87
93
- - uses : actions/download-artifact@v3
88
+ - uses : elastic/oblt- actions/buildkite/ download-artifact@v1.5.0
94
89
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 }}
96
94
97
95
- name : untar the buildkite tarball
98
96
run : tar xvf ${{ env.TARBALL_FILE }}
@@ -103,15 +101,15 @@ jobs:
103
101
subject-path : " ${{ github.workspace }}/**/target/*.jar"
104
102
105
103
- if : ${{ success() }}
106
- uses : elastic/oblt-actions/slack/send@v1.2 .0
104
+ uses : elastic/oblt-actions/slack/send@v1.5 .0
107
105
with :
108
106
bot-token : ${{ secrets.SLACK_BOT_TOKEN }}
109
107
channel-id : " #apm-agent-java"
110
108
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>)
112
110
113
111
- if : ${{ failure() }}
114
- uses : elastic/oblt-actions/slack/send@v1.2 .0
112
+ uses : elastic/oblt-actions/slack/send@v1.5 .0
115
113
with :
116
114
bot-token : ${{ secrets.SLACK_BOT_TOKEN }}
117
115
channel-id : " #apm-agent-java"
0 commit comments