Added notify-build-status step to Drone pipeline.
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Fabio Manganiello 2023-08-06 11:14:12 +02:00
parent ed192faab2
commit d3fce6d922
Signed by: blacklight
GPG Key ID: D90FBA7F76362774
1 changed files with 23 additions and 0 deletions

View File

@ -207,3 +207,26 @@ steps:
curl --silent -XPOST \
-H "X-Token: $WORKER_RPC_SECRET" \
"https://worker.ci-cd.platypush.tech/hook/notify-platypush-release?version=$(python setup.py --version)"
- name: notify-build-status
image: alpine
environment:
WORKER_RPC_SECRET:
from_secret: worker_rpc_secret
when:
branch:
- master
event:
- push
depends_on:
- tests
- update-arch-packages
commands:
- apk add --update --no-cache curl
- |
curl --silent -XPOST \
-H "X-Token: $WORKER_RPC_SECRET" \
"https://worker.ci-cd.platypush.tech/hook/notify-platypush-build?status=$DRONE_BUILD_STATUS"