fix(infra): integrate private revalidation provisioning and narrow release gates
Deploy Canina / deploy (push) Failing after 1m6s
Deploy Canina / deploy (push) Failing after 1m6s
This commit is contained in:
1 parent
1bb6274b35
commit
f94ef580fb
6 files changed
+79
-12
No files matched your search
+2
-1
@@ -51,7 +51,7 @@ printf '\n.support-chat.env\n.revalidation.env\n.stage-base.json\n.stage-compose
|
||||
printf '\n.support-chat.env\n.revalidation.env\n.stage-*.json\n' >> .dockerignore
|
||||
# Only these backend/frontend runtime env files are required. Do not copy the
|
||||
# dirty compose, .env, uploads, bot state, certificates, or arbitrary Stage files.
|
||||
for name in .support-chat.env .revalidation.env; do
|
||||
for name in .support-chat.env; do
|
||||
if [ -e "$STAGE_DIR/$name" ] || [ -L "$STAGE_DIR/$name" ]; then
|
||||
[ -f "$STAGE_DIR/$name" ] && [ ! -L "$STAGE_DIR/$name" ]
|
||||
[ -z "$(git -C "$STAGE_DIR" ls-files -- "$name")" ]
|
||||
@@ -59,6 +59,7 @@ for name in .support-chat.env .revalidation.env; do
|
||||
install -m 600 "$STAGE_DIR/$name" "$TARGET_DIR/$name"
|
||||
fi
|
||||
done
|
||||
stage_revalidation_provision
|
||||
[ -s .support-chat.env ] || { echo 'ERROR: missing Stage support runtime env' >&2; exit 1; }
|
||||
# Never inspect/recreate/mutate the shared support bot or infer keys from it.
|
||||
# Certs remain the explicit operational absolute bind from tracked compose.
|
||||
|
||||
Reference in new issue
Block a user