Skip to content

test nightly-distroless#7829

Draft
oioki wants to merge 12 commits intomasterfrom
test/nightly-distroless
Draft

test nightly-distroless#7829
oioki wants to merge 12 commits intomasterfrom
test/nightly-distroless

Conversation

@oioki
Copy link
Copy Markdown
Member

@oioki oioki commented Mar 23, 2026

Important changes:

  • replace honcho package with native python subprocess calls
  • created pythonic granian_entrypoint.py, an equivalent of granian_entrypoint.sh in production
  • updated the devservices healthcheck: bash+curl -> native python call

Small stuff only for testing without merging first:

  • devservices: set the image to image: ghcr.io/getsentry/snuba:nightly-distroless for testing locally
  • .github/workflows changes are only for testing, can be ignored

oioki added a commit that referenced this pull request Apr 29, 2026
This PR will switch the snuba container in sentry devservices to the
"distroless" version.
```
$ docker ps -f "name=snuba-snuba-1"
CONTAINER ID   IMAGE                                        COMMAND                  CREATED          STATUS                    PORTS                                NAMES
e487314c8b09   ghcr.io/getsentry/snuba:nightly-distroless   "python3 /usr/src/sn…"   17 minutes ago   Up 17 minutes (healthy)   127.0.0.1:1218-1219->1218-1219/tcp   snuba-snuba-1
```

This was previously smoke tested in
#7829 on my machine. New events
are being ingested and retrieved on sentry devserver.

Also removing `honcho` package, replacing it with native `subprocess`
library, to avoid spawning the missing shell (more detailed explanation
in getsentry/sentry-analytics#26)
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.

1 participant