fix(deploy): gate rebase conflict-side flags and unchecked pull --rebase in DEPLOY-GATE-D07.TOPO_PUSH_PARITY
This commit is contained in:
1 parent
0d4b2a5d27
commit
808882e0a6
4 files changed
+57
-20
No files matched your search
@@ -148,37 +148,37 @@ push_head_tag() {
|
||||
|
||||
echo "[3/3] Rebasing any automated VPS telemetry commits & pushing all 6 repositories and HEAD release tags in topological dependency order to ${FORGE_SSH}..."
|
||||
echo " -> (1/6) hyperstitionstudio-core (main + HEAD tag)"
|
||||
git -C "${WORKSPACE_DIR}/hyperstitionstudio-core" pull --rebase --autostash origin main || true
|
||||
run_checked "git pull --rebase (hyperstitionstudio-core main)" git -C "${WORKSPACE_DIR}/hyperstitionstudio-core" pull --rebase --autostash origin main
|
||||
git -C "${WORKSPACE_DIR}/hyperstitionstudio-core" push -u origin main
|
||||
push_head_tag "${WORKSPACE_DIR}/hyperstitionstudio-core" origin
|
||||
|
||||
echo " -> (2/6) ingglish-hyperdope-gematria (main + HEAD tag)"
|
||||
git -C "${WORKSPACE_DIR}/ingglish-hyperdope-gematria" pull --rebase --autostash origin main || true
|
||||
run_checked "git pull --rebase (ingglish-hyperdope-gematria main)" git -C "${WORKSPACE_DIR}/ingglish-hyperdope-gematria" pull --rebase --autostash origin main
|
||||
git -C "${WORKSPACE_DIR}/ingglish-hyperdope-gematria" push -u origin main
|
||||
push_head_tag "${WORKSPACE_DIR}/ingglish-hyperdope-gematria" origin
|
||||
|
||||
echo " -> (3/6) technocapital-singularity-zoology (main + HEAD tag)"
|
||||
git -C "${WORKSPACE_DIR}/technocapital-singularity-zoology" pull --rebase --autostash origin main || true
|
||||
run_checked "git pull --rebase (technocapital-singularity-zoology main)" git -C "${WORKSPACE_DIR}/technocapital-singularity-zoology" pull --rebase --autostash origin main
|
||||
git -C "${WORKSPACE_DIR}/technocapital-singularity-zoology" push -u origin main
|
||||
push_head_tag "${WORKSPACE_DIR}/technocapital-singularity-zoology" origin
|
||||
|
||||
echo " -> (4/6) encyclopedia-knowledge-graph (main + HEAD tag)"
|
||||
git -C "${WORKSPACE_DIR}/encyclopedia-knowledge-graph" pull --rebase --autostash origin main || true
|
||||
run_checked "git pull --rebase (encyclopedia-knowledge-graph main)" git -C "${WORKSPACE_DIR}/encyclopedia-knowledge-graph" pull --rebase --autostash origin main
|
||||
git -C "${WORKSPACE_DIR}/encyclopedia-knowledge-graph" push -u origin main
|
||||
push_head_tag "${WORKSPACE_DIR}/encyclopedia-knowledge-graph" origin
|
||||
|
||||
echo " -> (5/6) hyperdope-ci-build (${CI_REPO_DIR}, feat/ingglish-aq-corpus + HEAD tag)"
|
||||
git -C "${WORKSPACE_DIR}/${CI_REPO_DIR}" pull --rebase --autostash origin feat/ingglish-aq-corpus || true
|
||||
run_checked "git pull --rebase (${CI_REPO_DIR} feat/ingglish-aq-corpus)" git -C "${WORKSPACE_DIR}/${CI_REPO_DIR}" pull --rebase --autostash origin feat/ingglish-aq-corpus
|
||||
git -C "${WORKSPACE_DIR}/${CI_REPO_DIR}" push -u origin feat/ingglish-aq-corpus
|
||||
push_head_tag "${WORKSPACE_DIR}/${CI_REPO_DIR}" origin
|
||||
|
||||
if [[ -d "${WORKSPACE_DIR}/haiperdohp-jemaytreeah/.git" ]]; then
|
||||
echo " -> (6/6) haiperdohp-jemaytreeah (downstream main, feat/ingglish-aq-corpus, feat/ingglish-priority-toggle + HEAD tag)"
|
||||
ensure_remote_url "${WORKSPACE_DIR}/haiperdohp-jemaytreeah" downstream "${FORGE_SSH}/haiperdohp-jemaytreeah.git"
|
||||
git -C "${WORKSPACE_DIR}/haiperdohp-jemaytreeah" fetch downstream || true
|
||||
git -C "${WORKSPACE_DIR}/haiperdohp-jemaytreeah" pull --rebase --autostash downstream main || true
|
||||
git -C "${WORKSPACE_DIR}/haiperdohp-jemaytreeah" pull --rebase --autostash downstream feat/ingglish-aq-corpus || true
|
||||
git -C "${WORKSPACE_DIR}/haiperdohp-jemaytreeah" pull --rebase --autostash downstream feat/ingglish-priority-toggle || true
|
||||
run_checked "git fetch downstream (haiperdohp-jemaytreeah)" git -C "${WORKSPACE_DIR}/haiperdohp-jemaytreeah" fetch downstream
|
||||
run_checked "git pull --rebase (haiperdohp-jemaytreeah main)" git -C "${WORKSPACE_DIR}/haiperdohp-jemaytreeah" pull --rebase --autostash downstream main
|
||||
run_checked "git pull --rebase (haiperdohp-jemaytreeah feat/ingglish-aq-corpus)" git -C "${WORKSPACE_DIR}/haiperdohp-jemaytreeah" pull --rebase --autostash downstream feat/ingglish-aq-corpus
|
||||
run_checked "git pull --rebase (haiperdohp-jemaytreeah feat/ingglish-priority-toggle)" git -C "${WORKSPACE_DIR}/haiperdohp-jemaytreeah" pull --rebase --autostash downstream feat/ingglish-priority-toggle
|
||||
git -C "${WORKSPACE_DIR}/haiperdohp-jemaytreeah" push downstream main feat/ingglish-aq-corpus feat/ingglish-priority-toggle
|
||||
push_head_tag "${WORKSPACE_DIR}/haiperdohp-jemaytreeah" downstream
|
||||
fi
|
||||
|
||||
Reference in new issue
Block a user