Add pushgateway svc
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed

This commit is contained in:
dvirlabs 2026-04-19 04:38:55 +03:00
parent e2937a8744
commit f81e408e11

View File

@ -85,8 +85,7 @@ steps:
ANSIBLE_CONFIG: ansible.cfg
SSH_PRIVATE_KEY:
from_secret: SSH_PRIVATE_KEY
PUSHGATEWAY_URL:
from_secret: PUSHGATEWAY_URL
PUSHGATEWAY_URL: http://pushgateway.observability-stack.svc.cluster.local:9091
commands:
- |
apk add --no-cache curl > /dev/null 2>&1
@ -136,8 +135,9 @@ steps:
#
# Required secrets (Woodpecker → Repository Settings → Secrets):
# SSH_PRIVATE_KEY SSH key to reach the managed server
# PUSHGATEWAY_URL Base URL of Prometheus Pushgateway
# e.g. http://pushgateway:9091
#
# Pushgateway URL is hardcoded (internal k8s service, not a secret):
# http://pushgateway.observability-stack.svc.cluster.local:9091
# =============================================================================
when:
event: cron
@ -155,8 +155,7 @@ steps:
ANSIBLE_CONFIG: ansible.cfg
SSH_PRIVATE_KEY:
from_secret: SSH_PRIVATE_KEY
PUSHGATEWAY_URL:
from_secret: PUSHGATEWAY_URL
PUSHGATEWAY_URL: http://pushgateway.observability-stack.svc.cluster.local:9091
commands:
- |
apk add --no-cache curl > /dev/null 2>&1