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
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:
2
deploy/nginx/omnl-portal-auth-current.conf.inc
Normal file
2
deploy/nginx/omnl-portal-auth-current.conf.inc
Normal 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.
|
||||
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user