From df5de2dac34e079dada5bff4aef5bd3a9aa56bfa Mon Sep 17 00:00:00 2001 From: mahdi Date: Thu, 14 Dec 2023 23:35:55 +0100 Subject: [PATCH] devops - drone test --- .drone.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.drone.yml b/.drone.yml index 3994059..9485e37 100644 --- a/.drone.yml +++ b/.drone.yml @@ -50,7 +50,7 @@ steps: - ssh -p21022 -o StrictHostKeyChecking=accept-new -i /root/.ssh/id_rsa.kubehost mtc@bosub-kub-int.metacoaching.pro "hostname" - name: notify - image: pluie/alpine + image: bash:4.4 environment: ZULIP_HOST: https://zulip.meta-tech.academy ZULIP_STREAM: gitea @@ -61,13 +61,14 @@ steps: ZULIP_TKN: from_secret: ZULIP_TOKEN commands: + - apk add --no-cache curl - if [ "${DRONE_BUILD_STATUS}" != "success" ]; then export ZULIP_STATUS=":prohibited:"; fi - - export ZULIP_MESSAGE=$(echo -n ${DRONE_COMMIT_MESSAGE}) + - export ZULIP_MESSAGE=$${DRONE_COMMIT_MESSAGE:-2}) - export SHORT_COMMIT=$${DRONE_COMMIT:0:7} - echo $SHORT_COMMIT - echo $ZULIP_STATUS - echo $ZULIP_MESSAGE - - bash -c "echo ok" + - echo ok volumes: - name: deps