Update cron step
This commit is contained in:
parent
4fe239d4c4
commit
72e6f6aab7
@ -123,7 +123,7 @@ steps:
|
||||
curl --silent --show-error --fail --data-binary @- \
|
||||
"$${PUSHGATEWAY_URL}/metrics/job/gitops_rsyslog/instance/rsyslog-lab"
|
||||
|
||||
exit $DRIFT_RC
|
||||
echo "==> Metric pushed. Pipeline always succeeds; sync status is in Prometheus."
|
||||
when:
|
||||
branch: master
|
||||
event: push
|
||||
@ -173,6 +173,6 @@ steps:
|
||||
curl --silent --show-error --fail --data-binary @- \
|
||||
"$${PUSHGATEWAY_URL}/metrics/job/gitops_rsyslog/instance/rsyslog-lab"
|
||||
|
||||
exit $DRIFT_RC
|
||||
echo "==> Metric pushed. Pipeline always succeeds; sync status is in Prometheus."
|
||||
when:
|
||||
event: cron
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user