Skip to content

ci: disable premature DFX server deploy workflows until migration#3815

Merged
TaprootFreak merged 1 commit into
developfrom
ci/gate-dfx-server-deploy-workflows
Jun 3, 2026
Merged

ci: disable premature DFX server deploy workflows until migration#3815
TaprootFreak merged 1 commit into
developfrom
ci/gate-dfx-server-deploy-workflows

Conversation

@TaprootFreak
Copy link
Copy Markdown
Collaborator

Summary

  • The migration-prep workflows dfx-api-dev.yaml / dfx-api-prd.yaml (added in feat: Docker + SSH deploy for DFX server migration #3810) SSH-deploy the API container to the DFX servers. The migration is not live yet — the API still runs on Azure (api-dev.yaml / api-prd.yaml remain the active deploy path).
  • Their push triggers (develop / main) made every merge fail at the SSH Deploy step, because the documented server-side prerequisites (deploy.sh dfx-api case, authorized_keys, compose) are not in place yet.
  • This restricts both workflows to workflow_dispatch (manual) so they no longer break branch CI. The build/push + deploy can still be run on demand to validate the migration setup.

Why

Failing run example: DFX API DEV CI/CD on developToo many authentication failures / Permission denied at the SSH deploy step. The live Azure pipeline was unaffected the whole time.

Restoring auto-deploy

When the migration goes live, re-add the push trigger to each workflow (the previous config is preserved in git history / inline comment).

Test plan

  • PR CI (API PR CI) is green (no TS/source changes; build/lint/test unaffected).
  • After merge: a develop push no longer triggers DFX API DEV CI/CD.
  • API DEV CI/CD (Azure) still runs and stays green.

The dfx-api-dev/prd workflows SSH-deploy to dfxdev/dfxprd, but the
migration is not live yet — the API still runs on Azure. Their push
triggers made every develop/main merge fail at the SSH deploy step
(server-side prerequisites not in place). Restrict both to
workflow_dispatch until the cutover.
@TaprootFreak TaprootFreak marked this pull request as ready for review June 3, 2026 13:17
@TaprootFreak TaprootFreak requested a review from davidleomay as a code owner June 3, 2026 13:17
@TaprootFreak TaprootFreak merged commit 4a1e16f into develop Jun 3, 2026
7 checks passed
@TaprootFreak TaprootFreak deleted the ci/gate-dfx-server-deploy-workflows branch June 3, 2026 13:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants