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