fix: ship nginx auth placeholder so LXC portals start before env push
Some checks failed
CI/CD Pipeline / Solidity Contracts (push) Failing after 1m22s
CI/CD Pipeline / Security Scanning (push) Successful in 2m31s
CI/CD Pipeline / Lint and Format (push) Failing after 47s
CI/CD Pipeline / Terraform Validation (push) Failing after 27s
CI/CD Pipeline / Kubernetes Validation (push) Successful in 27s
Deploy ChainID 138 / Deploy ChainID 138 (push) Failing after 44s
Validation / validate-genesis (push) Successful in 30s
Validation / validate-kubernetes (push) Has been cancelled
Validation / validate-terraform (push) Has been cancelled
Validation / validate-smart-contracts (push) Has been cancelled
Validation / validate-security (push) Has been cancelled
Validation / validate-documentation (push) Has been cancelled
Verify Deployment / Verify Deployment (push) Has been cancelled

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-06-29 05:20:58 -07:00
parent 064239be13
commit 4ebca7d550
2 changed files with 14 additions and 1 deletions

View File

@@ -0,0 +1,2 @@
# Placeholder — replaced per-CTID by push-portal-env-to-lxc.sh / generate-portal-nginx-auth-snippet.sh
# Empty headers until super-admin key is injected.

View File

@@ -55,7 +55,18 @@ tar -czf "$STAGE" \
services/dbis-exchange/package.json \
services/dbis-exchange/package-lock.json \
scripts/deployment/start-omnl-banking-portal.sh \
deploy/nginx/omnl-lxc-portal.conf
deploy/nginx/omnl-lxc-portal.conf \
deploy/nginx/omnl-portal-auth-current.conf.inc
if [[ -f "$REPO_DIR/.env" ]]; then
set -a
# shellcheck disable=SC1090
source "$REPO_DIR/.env"
set +a
if bash "$SCRIPT_DIR/generate-portal-nginx-auth-snippet.sh" "$CTID" "$REPO_DIR/deploy/nginx/omnl-portal-auth-${CTID}.conf.inc" 2>/dev/null; then
cp "$REPO_DIR/deploy/nginx/omnl-portal-auth-${CTID}.conf.inc" "$REPO_DIR/deploy/nginx/omnl-portal-auth-current.conf.inc"
fi
fi
log "Push to PVE host ${OMNL_PVE_SSH_TARGET}..."
omnl_pve_scp "$STAGE" "${OMNL_PVE_SSH_TARGET}:/tmp/omnl-portal.tar.gz"