File tree 1 file changed +6
-19
lines changed
1 file changed +6
-19
lines changed Original file line number Diff line number Diff line change @@ -49,23 +49,10 @@ jobs:
49
49
with :
50
50
terraform_version : 1.2.3
51
51
- run : make smoketest/run TEST_DIR=./tf
52
- - if : ${{ success() }}
53
- uses : elastic/apm-pipeline-library/.github/actions/slack-message @current
52
+ - if : always()
53
+ uses : elastic/apm-pipeline-library/.github/actions/notify-build-status @current
54
54
with :
55
- url : ${{ secrets.VAULT_ADDR }}
56
- roleId : ${{ secrets.VAULT_ROLE_ID }}
57
- secretId : ${{ secrets.VAULT_SECRET_ID }}
58
- channel : " #apm-aws-lambda"
59
- message : |
60
- :large_green_circle: [${{ github.repository }}] Smoketests successfully run on ${{ github.ref_name }}
61
- Build: (<${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}|here>)
62
- - if : ${{ failure() }}
63
- uses : elastic/apm-pipeline-library/.github/actions/slack-message@current
64
- with :
65
- url : ${{ secrets.VAULT_ADDR }}
66
- roleId : ${{ secrets.VAULT_ROLE_ID }}
67
- secretId : ${{ secrets.VAULT_SECRET_ID }}
68
- channel : " #apm-aws-lambda"
69
- message : |
70
- :large_yellow_circle: [${{ github.repository }}] Smoketests failed on ${{ github.ref_name }}
71
- Build: (<${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}|here>)
55
+ vaultUrl : ${{ secrets.VAULT_ADDR }}
56
+ vaultRoleId : ${{ secrets.VAULT_ROLE_ID }}
57
+ vaultSecretId : ${{ secrets.VAULT_SECRET_ID }}
58
+ slackChannel : " #apm-aws-lambda"
You can’t perform that action at this time.
0 commit comments