Skip to content

feat(gocd): Deploy through ArgoCD instead of k8s-deploy patches - #100

Merged
joshuarli merged 1 commit into
mainfrom
feat/gocd-argocd-only-deploy
Nov 4, 2026
Merged

joshuarli merged 1 commit into
mainfrom
feat/gocd-argocd-only-deploy

Conversation

@sentry-junior

@sentry-junior sentry-junior Bot commented Nov 4, 2026 •

Copy link
Copy Markdown
Contributor

Sets ARGOCD_ONLY and ARGOCD_SERVICE: conduit on the deploy job, so k8s-deploy commits the gateway, publish, and cleanup images to getsentry/materialized-ops (clusters/<region>/<cluster>/conduit) and waits for ArgoCD to report healthy instead of patching the cluster. Rollbacks go through the same job, so they take the same path.

Draft until all of these are true:

  • getsentry/devinfra-deployment-service#996 is merged and the agent image with it is released. Older agents ignore these variables and keep patching Kubernetes, so merging early is harmless but does nothing.
  • getsentry/materialized-ops#675 (title input) is merged. Agents built after getsentry/devinfra-deployment-service#997 send title; until set-image.yml accepts it, GitHub rejects the dispatch, and in ArgoCD-only mode that fails the deploy.
  • ArgoCD auto-sync is on for the conduit Application in every region, and each region has ARGOCD_URL_<REGION>. Otherwise wait_healthy.py skips the wait and the job goes green right after the commit.

The deploy job still has timeout: 20 and runs k8s-deploy three times in a row, each waiting on its own ArgoCD run. If that gets tight, bump the job timeout, or merge the three calls into one --manifest invocation so the waits overlap.

via @joshuarli.

--

View Session [Sentry]

Co-Authored-By: Joshua Li <14209781+joshuarli@users.noreply.github.com>
@joshuarli
joshuarli marked this pull request as ready for review November 4, 2026 19:22
@joshuarli
joshuarli merged commit ec8debd into main Nov 4, 2026
30 checks passed
@joshuarli
joshuarli deleted the feat/gocd-argocd-only-deploy branch November 4, 2026 21:52
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