2 Commits

Author SHA1 Message Date
avm
8907db1b84 Merge dev into main
Some checks failed
Deploy Customer Main / Build, Push, Deploy (push) Failing after 1s
CI/CD Pipeline / Run Tests (push) Failing after 6m52s
CI/CD Pipeline / Code Quality Checks (push) Failing after 10m33s
CI/CD Pipeline / Build Docker Images (push) Has been skipped
CI/CD Pipeline / Push to Gitea Registry (push) Has been skipped
CI/CD Pipeline / Deploy to Server (push) Has been skipped
Merge dev into main for customer deploy.
2026-05-05 01:35:06 +03:00
c585d52e55 ci: serialize customer deploys
Some checks failed
CI/CD Pipeline / Run Tests (push) Failing after 7m13s
CI/CD Pipeline / Code Quality Checks (pull_request) Failing after 5m12s
CI/CD Pipeline / Code Quality Checks (push) Failing after 10m10s
CI/CD Pipeline / Build Docker Images (push) Has been skipped
CI/CD Pipeline / Push to Gitea Registry (push) Has been skipped
CI/CD Pipeline / Deploy to Server (push) Has been skipped
CI/CD Pipeline / Run Tests (pull_request) Failing after 6m56s
CI/CD Pipeline / Build Docker Images (pull_request) Has been skipped
CI/CD Pipeline / Push to Gitea Registry (pull_request) Has been skipped
CI/CD Pipeline / Deploy to Server (pull_request) Has been skipped
2026-05-05 00:34:36 +02:00

View File

@@ -166,9 +166,7 @@ jobs:
)
proxy_command="ssh -i ${key_path} -o BatchMode=yes -o IdentitiesOnly=yes -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o GlobalKnownHostsFile=/dev/null -o LogLevel=ERROR -o ConnectTimeout=15 -W %h:%p ${CUSTOMER_SSH_PROXY_HOST}"
remote_command="set -euo pipefail
cd /ecos
FORCE_PULL=1 COMPOSE_FILE='${CUSTOMER_COMPOSE_FILE}' '${CUSTOMER_DEPLOY_SCRIPT}'
docker image prune -f"
flock -w 1800 /tmp/ecos-customer-deploy.lock /bin/sh -c 'cd /ecos && FORCE_PULL=1 COMPOSE_FILE=\"${CUSTOMER_COMPOSE_FILE}\" \"${CUSTOMER_DEPLOY_SCRIPT}\" && docker image prune -f'"
ssh "${ssh_common[@]}" -o "ProxyCommand=${proxy_command}" "${CUSTOMER_DEPLOY_USER}@${CUSTOMER_DEPLOY_HOST}" "true"
ssh "${ssh_common[@]}" -o "ProxyCommand=${proxy_command}" "${CUSTOMER_DEPLOY_USER}@${CUSTOMER_DEPLOY_HOST}" "${remote_command}"