refactor(.woodpecker.yml): add guacamole to no-op provision case (Pattern B — secrets in host .env), remove unused guacamole env vars from provision step
ci/woodpecker/push/woodpecker Pipeline was successful

This commit is contained in:
2026-06-26 23:15:23 -07:00
parent 2f1685f5a9
commit e7842fda6b
+2 -13
View File
@@ -39,12 +39,6 @@ steps:
from_secret: git_runner_token from_secret: git_runner_token
GIT_MCP_ACCESS_TOKEN: GIT_MCP_ACCESS_TOKEN:
from_secret: git_mcp_access_token from_secret: git_mcp_access_token
GUACAMOLE_LDAP_BIND_PASSWORD:
from_secret: guacamole_ldap_bind_password
GUACAMOLE_OIDC_CLIENT_SECRET:
from_secret: guacamole_oidc_client_secret
GUACAMOLE_DB_PASSWORD:
from_secret: guacamole_db_password
HOMEASSISTANT_FRIGATE_RTSP_PASSWORD: HOMEASSISTANT_FRIGATE_RTSP_PASSWORD:
from_secret: homeassistant_frigate_rtsp_password from_secret: homeassistant_frigate_rtsp_password
HOMEASSISTANT_IMMICH_API_KEY: HOMEASSISTANT_IMMICH_API_KEY:
@@ -141,8 +135,8 @@ steps:
STACK=$(basename "$f" .yaml) STACK=$(basename "$f" .yaml)
echo "Provisioning: $STACK" echo "Provisioning: $STACK"
case "$STACK" in case "$STACK" in
maintenance|media|unifi) maintenance|media|unifi|guacamole)
echo " No secrets for $STACK";; echo " No Docker secrets for $STACK — secrets in host .env";;
woodpecker) woodpecker)
echo " Manual only - skipping";; echo " Manual only - skipping";;
3dprint) 3dprint)
@@ -165,11 +159,6 @@ steps:
ssh -o StrictHostKeyChecking=no root@${SWARM_MANAGER_IP} "source /tmp/cs.sh ssh -o StrictHostKeyChecking=no root@${SWARM_MANAGER_IP} "source /tmp/cs.sh
create_or_update_secret 'homeassistant_frigate_rtsp_password' '${HOMEASSISTANT_FRIGATE_RTSP_PASSWORD}' create_or_update_secret 'homeassistant_frigate_rtsp_password' '${HOMEASSISTANT_FRIGATE_RTSP_PASSWORD}'
create_or_update_secret 'homeassistant_immich_api_key' '${HOMEASSISTANT_IMMICH_API_KEY}'";; create_or_update_secret 'homeassistant_immich_api_key' '${HOMEASSISTANT_IMMICH_API_KEY}'";;
guacamole)
ssh -o StrictHostKeyChecking=no root@${SWARM_MANAGER_IP} "source /tmp/cs.sh
create_or_update_secret 'guacamole_ldap_bind_password' '${GUACAMOLE_LDAP_BIND_PASSWORD}'
create_or_update_secret 'guacamole_oidc_client_secret' '${GUACAMOLE_OIDC_CLIENT_SECRET}'
create_or_update_secret 'guacamole_db_password' '${GUACAMOLE_DB_PASSWORD}'";;
mealie) mealie)
ssh -o StrictHostKeyChecking=no root@${SWARM_MANAGER_IP} "source /tmp/cs.sh ssh -o StrictHostKeyChecking=no root@${SWARM_MANAGER_IP} "source /tmp/cs.sh
create_or_update_secret 'mealie_db_password' '${MEALIE_DB_PASSWORD}' create_or_update_secret 'mealie_db_password' '${MEALIE_DB_PASSWORD}'