File tree Expand file tree Collapse file tree 2 files changed +7
-14
lines changed Expand file tree Collapse file tree 2 files changed +7
-14
lines changed Original file line number Diff line number Diff line change @@ -74,17 +74,12 @@ jobs:
74
74
needs :
75
75
- build-distribution
76
76
runs-on : ubuntu-latest
77
+ env :
78
+ # TODO: use keyless
79
+ AWS_ACCESS_KEY_ID : ${{ secrets.AWS_ACCESS_KEY_ID }}
80
+ AWS_SECRET_ACCESS_KEY : ${{ secrets.AWS_SECRET_ACCESS_KEY }}
77
81
steps :
78
82
- uses : actions/checkout@v4
79
- - uses : hashicorp/vault-action@v3.0.0
80
- with :
81
- url : ${{ secrets.VAULT_ADDR }}
82
- method : approle
83
- roleId : ${{ secrets.VAULT_ROLE_ID }}
84
- secretId : ${{ secrets.VAULT_SECRET_ID }}
85
- secrets : |
86
- secret/observability-team/ci/service-account/apm-agent-python access_key_id | AWS_ACCESS_KEY_ID ;
87
- secret/observability-team/ci/service-account/apm-agent-python secret_access_key | AWS_SECRET_ACCESS_KEY
88
83
- uses : actions/download-artifact@v3
89
84
with :
90
85
name : build-distribution
Original file line number Diff line number Diff line change @@ -174,13 +174,11 @@ jobs:
174
174
needs : ${{ toJSON(needs) }}
175
175
- run : ${{ steps.check.outputs.isSuccess }}
176
176
- if : failure() && (github.event_name == 'schedule' || github.event_name == 'push')
177
- uses : elastic/apm-pipeline-library/.github/ actions/notify-build-status@current
177
+ uses : elastic/oblt- actions/slack/ notify-result@v1
178
178
with :
179
+ bot-token : ${{ secrets.SLACK_BOT_TOKEN }}
179
180
status : ${{ steps.check.outputs.status }}
180
- vaultUrl : ${{ secrets.VAULT_ADDR }}
181
- vaultRoleId : ${{ secrets.VAULT_ROLE_ID }}
182
- vaultSecretId : ${{ secrets.VAULT_SECRET_ID }}
183
- slackChannel : " #apm-agent-python"
181
+ channel-id : " #apm-agent-python"
184
182
185
183
coverage :
186
184
name : Combine & check coverage.
You can’t perform that action at this time.
0 commit comments