Update .gitlab-ci.yml file

This commit is contained in:
2025-12-23 12:05:13 +01:00
parent d007510704
commit 8351e9f1b1

View File

@@ -7,15 +7,15 @@ stages: # List of stages for jobs, and their order of execution
variables:
GIT_SSH_COMMAND: "ssh -i /home/gitlab-runner/.ssh/id_rsa -o IdentitiesOnly=yes"
SSH_CONNECTION_TIMEOUT: 2
notify_start:
stage: notify_start # Should be in a later stage than the job that might fail
script:
- column=':'
- echo "${flow_id}"
- curl -XPOST http://192.168.77.101:8123/api/webhook/voice-notifications-tC_8YKxMJIAaQRV5riKuC7Zl --data-raw 'message=portainer build job started'
- rm -rf /home/gitlab-runner/builds/1fLwHSKm2/0/jaydee/portainer.tmp
rules:
- if: '$CI_COMMIT_MESSAGE =~ /build/'
# notify_start:
# stage: notify_start # Should be in a later stage than the job that might fail
# script:
# - column=':'
# - echo "${flow_id}"
# - curl -XPOST http://192.168.77.101:8123/api/webhook/voice-notifications-tC_8YKxMJIAaQRV5riKuC7Zl --data-raw 'message=portainer build job started'
# - rm -rf /home/gitlab-runner/builds/1fLwHSKm2/0/jaydee/portainer.tmp
# rules:
# - if: '$CI_COMMIT_MESSAGE =~ /build/'
lint:
stage: lint
image: r.sectorq.eu/jaydee/builder-portainer:latest