Skip to content

armgit / core

Public Imported from GitHub
0

100% open-source IoT Platform - Integrate your devices, add intelligence, build custom apps

whatsapp debug skip-build-skip-test

Michal Rutka2f8f1ea2f70b
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 8c674115f..f238d9c29 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -162,15 +162,17 @@ build-keycloak-postgresql-proxy:
.notify_whatsapp: &notify_whatsapp
image: registry.gitlab.com/gitlab-org/cloud-deploy/aws-base:latest
allow_failure: true
+ variables:
+ GIT_STRATEGY: none
script:
- >
curl --location --request POST $WHATSAPP_API
--header 'Content-Type: application/javascript'
- --data-raw '{
- "message": "Your $CI_PROJECT_TITLE$CI_JOB_STAGE code is $STATUS",
- "recipient": "$WHATSAPP_TEL",
- "user_id": "1"
- }'
+ --data-raw "{
+ \"message\": \"Your $CI_PROJECT_TITLE$CI_JOB_STAGE code is $STATUS\",
+ \"recipient\": \"$WHATSAPP_TEL\",
+ \"user_id\": \"1\"
+ }"
retry:
max: 2
diff --git a/gitlab-ci/gitlab-ci-submodule.yml b/gitlab-ci/gitlab-ci-submodule.yml
index 228c828ee..551bfc041 100644
--- a/gitlab-ci/gitlab-ci-submodule.yml
+++ b/gitlab-ci/gitlab-ci-submodule.yml
@@ -76,15 +76,17 @@ stages:
.notify_whatsapp: &notify_whatsapp
image: registry.gitlab.com/gitlab-org/cloud-deploy/aws-base:latest
allow_failure: true
+ variables:
+ GIT_STRATEGY: none
script:
- >
curl --location --request POST $WHATSAPP_API
--header 'Content-Type: application/javascript'
- --data-raw '{
- "message": "Your $CI_PROJECT_TITLE$CI_JOB_STAGE code is $STATUS",
- "recipient": "$WHATSAPP_TEL",
- "user_id": "1"
- }'
+ --data-raw "{
+ \"message\": \"Your $CI_PROJECT_TITLE$CI_JOB_STAGE code is $STATUS\",
+ \"recipient\": \"$WHATSAPP_TEL\",
+ \"user_id\": \"1\"
+ }"
retry:
max: 2