Skip to content

feat(deploy): Run the distroless vroom image in s4s2 - #716

Merged
oioki merged 2 commits into
mainfrom
alextarasov/distroless-s4s2
Oct 8, 2026
Merged

oioki merged 2 commits into
mainfrom
alextarasov/distroless-s4s2

Conversation

@oioki

@oioki oioki commented Oct 7, 2026 •

Copy link
Copy Markdown
Member

Deploy us-central1-docker.pkg.dev/sentryio/vroom/vroom:<sha>-distroless to s4s2 and keep every other region on the current <sha> image, to validate the distroless variant in one region before rolling it out further. Same approach as snuba (getsentry/snuba#8047).

deploy.sh is shared by the canary and primary stages, so it computes the tag once and branches only on SENTRY_REGION. The next steps (de, then the remaining regions) are one-line changes to that condition, and reverting this PR puts s4s2 back on the debian image.

Important

Stacked on #715 and must merge after it has run on main: until then the -distroless tag doesn't exist in Artifact Registry and the s4s2 deploy would fail to pull.

A GoCD rollback in s4s2 to a commit from before #715 would also fail to pull, since older commits have no -distroless tag. To roll back past #715, revert this PR instead.

The Kubernetes side is already shell-free: readiness is httpGet /health, and the preStop hook is vroom drain. After the s4s2 deploy, check that pods become ready, /health stays 200, there are no FailedPreStopHook events, and pods take about 25s to terminate.

Refs SEC-1098

Deploy the <sha>-distroless tag to s4s2 and keep every other region on the
current image, to validate the distroless variant in one region first.

Co-Authored-By: Claude <noreply@anthropic.com>
Base automatically changed from alextarasov/distroless-image to main October 8, 2026 08:52
@oioki
oioki marked this pull request as ready for review October 8, 2026 08:56
@oioki
oioki requested a review from a team as a code owner October 8, 2026 08:56
@oioki
oioki merged commit e6084ba into main Oct 8, 2026
25 checks passed
@oioki
oioki deleted the alextarasov/distroless-s4s2 branch October 8, 2026 09:23
@linear-code

linear-code Bot commented Oct 8, 2026

Copy link
Copy Markdown

SEC-1098

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