Repository navigation
Commit 40711af
ci: prune Docker publish workflows and telemetry secrets (supabase#7699)
## Summary
Reduces the Actions secrets these workflows need.
- Deletes `publish-migra.yml` and `publish-pg-prove.yml`, leaving the
`DOCKER_USERNAME` and `DOCKER_PASSWORD` secrets unused on this branch.
This is a trade-off. The workflows last pushed
`supabase/migra:3.0.1663481299` and `supabase/pg_prove:3.36` to Docker
Hub on 2024-01-02, and their run history has since expired. After this
change the repo can no longer rebuild either image. The mirror workflow
still copies the existing tags to `public.ecr.aws`, which `supabase test
db` pulls. Neither image has changed in about two years, so we accept
that. The Dependabot config comment now says those two images stay at
their current pins.
- Reads `POSTHOG_ENDPOINT` from a repository variable instead of a
secret. The build bakes the endpoint into the published CLI, so it isn't
sensitive. `POSTHOG_API_KEY` stays a secret.
- Stops passing `SENTRY_DSN` to the build. Nothing has read it since the
Go binary was removed.
## Backport
supabase#7701 brings the same cleanup to
`v2.x`, with one difference: `SENTRY_DSN` stays a secret there. The v2
Go binary uses it to send an error report to Sentry when a user passes
`--create-ticket`.
## Linked issue
Part of CLI-3161
🤖 Generated with [Claude Code](https://claude.com/claude-code)
---------
Co-authored-by: Claude <noreply@anthropic.com>1 parent 7a8313d commit 40711af
6 files changed
Lines changed: 3 additions & 204 deletions
File tree
- .github
- workflows
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
66 | 66 | | |
67 | 67 | | |
68 | 68 | | |
69 | | - | |
70 | | - | |
| 69 | + | |
| 70 | + | |
71 | 71 | | |
72 | 72 | | |
73 | 73 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
36 | | - | |
37 | | - | |
38 | 36 | | |
39 | 37 | | |
40 | | - | |
41 | | - | |
42 | 38 | | |
43 | 39 | | |
44 | 40 | | |
| |||
52 | 48 | | |
53 | 49 | | |
54 | 50 | | |
55 | | - | |
56 | 51 | | |
57 | | - | |
| 52 | + | |
58 | 53 | | |
59 | 54 | | |
60 | 55 | | |
| |||
This file was deleted.
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
42 | | - | |
43 | | - | |
44 | 42 | | |
45 | 43 | | |
46 | | - | |
47 | | - | |
48 | 44 | | |
49 | 45 | | |
50 | 46 | | |
| |||
64 | 60 | | |
65 | 61 | | |
66 | 62 | | |
67 | | - | |
68 | 63 | | |
69 | | - | |
70 | 64 | | |
71 | 65 | | |
72 | 66 | | |
| |||
79 | 73 | | |
80 | 74 | | |
81 | 75 | | |
82 | | - | |
83 | 76 | | |
84 | | - | |
85 | 77 | | |
86 | 78 | | |
87 | 79 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
356 | 356 | | |
357 | 357 | | |
358 | 358 | | |
359 | | - | |
360 | 359 | | |
361 | | - | |
362 | 360 | | |
363 | 361 | | |
364 | 362 | | |
| |||
0 commit comments