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 ANSIBLE_CONFIG: ansible.cfg
SSH_PRIVATE_KEY: SSH_PRIVATE_KEY:
from_secret: SSH_PRIVATE_KEY from_secret: SSH_PRIVATE_KEY
PUSHGATEWAY_URL: PUSHGATEWAY_URL: http://pushgateway.observability-stack.svc.cluster.local:9091
from_secret: PUSHGATEWAY_URL
commands: commands:
- | - |
apk add --no-cache curl > /dev/null 2>&1 apk add --no-cache curl > /dev/null 2>&1
@ -136,8 +135,9 @@ steps:
# #
# Required secrets (Woodpecker → Repository Settings → Secrets): # Required secrets (Woodpecker → Repository Settings → Secrets):
# SSH_PRIVATE_KEY SSH key to reach the managed server # 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: when:
event: cron event: cron
@ -155,8 +155,7 @@ steps:
ANSIBLE_CONFIG: ansible.cfg ANSIBLE_CONFIG: ansible.cfg
SSH_PRIVATE_KEY: SSH_PRIVATE_KEY:
from_secret: SSH_PRIVATE_KEY from_secret: SSH_PRIVATE_KEY
PUSHGATEWAY_URL: PUSHGATEWAY_URL: http://pushgateway.observability-stack.svc.cluster.local:9091
from_secret: PUSHGATEWAY_URL
commands: commands:
- | - |
apk add --no-cache curl > /dev/null 2>&1 apk add --no-cache curl > /dev/null 2>&1