devops - drone test
Some checks reported errors
continuous-integration/drone/push Build was killed

This commit is contained in:
Mahdi Abu Yasmine 2023-12-14 23:04:06 +01:00
parent 01480124dc
commit 23a02a28db

View File

@ -66,7 +66,7 @@ steps:
- export SHORT_COMMIT="${DRONE_COMMIT:0:7}" - export SHORT_COMMIT="${DRONE_COMMIT:0:7}"
- export REMOTE_URL="${DRONE_REMOTE_URL:0:-4}" - export REMOTE_URL="${DRONE_REMOTE_URL:0:-4}"
- export ZULIP_MESSAGE=${DRONE_COMMIT_MESSAGE} - export ZULIP_MESSAGE=${DRONE_COMMIT_MESSAGE}
- curl -X POST ${ZULIP_HOST}/api/v1/messages -u ${ZULIP_USER}:${ZULIP_TKN} --data-urlencode type=stream --data-urlencode 'to="${ZULIP_STREAM}"' --data-urlencode topic=${ZULIP_TOPIC} --data content="${ZULIP_STATUS} **[build #${DRONE_BUILD_NUMBER}](${DRONE_BUILD_LINK})**%0A> **${DRONE_BUILD_EVENT}** event on **${DRONE_COMMIT_BRANCH}** branch *by* **${DRONE_COMMIT_AUTHOR}** ([${SHORT_COMMIT}](${REMOTE_URL}/commit/${DRONE_COMMIT}))%0A> ${ZULIP_MESSAGE}" - curl -X POST ${ZULIP_HOST}/api/v1/messages -u ${ZULIP_USER}:${ZULIP_TKN} --data-urlencode type=stream --data-urlencode 'to="${ZULIP_STREAM}"' --data-urlencode topic=${ZULIP_TOPIC} --data content="${ZULIP_STATUS} **[build %23${DRONE_BUILD_NUMBER}](${DRONE_BUILD_LINK})**%0A> **${DRONE_BUILD_EVENT}** event on **${DRONE_COMMIT_BRANCH}** branch *by* **${DRONE_COMMIT_AUTHOR}** ([${SHORT_COMMIT}](${REMOTE_URL}/commit/${DRONE_COMMIT}))%0A> ${ZULIP_MESSAGE}"
volumes: volumes:
- name: deps - name: deps