Commit 8b2a9dc
ci: Remove Docker container for Verdaccio package publishing (#20329)
This PR removes some custom stuff we still had around for our E2E tests
that, as far as I can tell, weren't even needed anymore. We used to spin
up a minimal docker image just to publish packages to NPM, which AFAIk
should not really be necessary.
## Summary
- Removes `Dockerfile.publish-packages` and the Docker build+run steps
for publishing packages to the local Verdaccio registry during E2E tests
- Extracts the tarball publishing logic into `lib/publishPackages.ts` as
an importable function and calls it directly from `registrySetup()` — no
subprocess needed
- Removes the old `publish-packages.ts` standalone script
- Removes the `E2E_TEST_PUBLISH_SCRIPT_NODE_VERSION` env var and `Get
node version` steps from `build.yml` and `canary.yml`
- Removes the `PUBLISH_PACKAGES_DOCKER_IMAGE_NAME` constant
The Docker container only existed to pin a Node.js version for `npm
publish` of pre-built tarballs. Since the host already has the correct
Node.js version via Volta, the container adds overhead (image build +
volume mounts + `--network host`) without meaningful benefit.
## Test plan
- [ ] E2E tests pass in CI (the Verdaccio publish step needs to work
without Docker)
🤖 Generated with [Claude Code](https://claude.com/claude-code)
---------
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent 0007c7b commit 8b2a9dc
File tree
7 files changed
+44
-126
lines changed- .github/workflows
- dev-packages/e2e-tests
- lib
7 files changed
+44
-126
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
959 | 959 | | |
960 | 960 | | |
961 | 961 | | |
962 | | - | |
963 | | - | |
964 | | - | |
965 | | - | |
966 | | - | |
967 | 962 | | |
968 | 963 | | |
969 | 964 | | |
970 | 965 | | |
971 | 966 | | |
972 | 967 | | |
973 | 968 | | |
974 | | - | |
975 | | - | |
976 | 969 | | |
977 | 970 | | |
978 | 971 | | |
| |||
1076 | 1069 | | |
1077 | 1070 | | |
1078 | 1071 | | |
1079 | | - | |
1080 | | - | |
1081 | | - | |
1082 | | - | |
1083 | | - | |
1084 | 1072 | | |
1085 | 1073 | | |
1086 | 1074 | | |
1087 | 1075 | | |
1088 | 1076 | | |
1089 | 1077 | | |
1090 | 1078 | | |
1091 | | - | |
1092 | | - | |
1093 | 1079 | | |
1094 | 1080 | | |
1095 | 1081 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
140 | 140 | | |
141 | 141 | | |
142 | 142 | | |
143 | | - | |
144 | | - | |
145 | | - | |
146 | | - | |
147 | | - | |
148 | 143 | | |
149 | 144 | | |
150 | 145 | | |
151 | 146 | | |
152 | 147 | | |
153 | 148 | | |
154 | 149 | | |
155 | | - | |
156 | | - | |
157 | 150 | | |
158 | 151 | | |
159 | 152 | | |
| |||
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
4 | | - | |
5 | | - | |
6 | | - | |
7 | | - | |
| 3 | + | |
| 4 | + | |
8 | 5 | | |
9 | 6 | | |
10 | 7 | | |
| |||
45 | 42 | | |
46 | 43 | | |
47 | 44 | | |
48 | | - | |
49 | | - | |
50 | | - | |
51 | | - | |
52 | | - | |
53 | | - | |
54 | | - | |
55 | | - | |
56 | | - | |
57 | | - | |
58 | | - | |
59 | | - | |
60 | | - | |
61 | | - | |
62 | | - | |
63 | | - | |
64 | | - | |
65 | | - | |
66 | | - | |
67 | | - | |
68 | | - | |
69 | | - | |
70 | | - | |
71 | | - | |
72 | | - | |
73 | | - | |
74 | | - | |
75 | | - | |
76 | | - | |
77 | | - | |
78 | | - | |
79 | | - | |
80 | | - | |
81 | | - | |
82 | | - | |
83 | | - | |
84 | | - | |
85 | | - | |
86 | | - | |
87 | | - | |
88 | | - | |
89 | | - | |
90 | | - | |
91 | | - | |
92 | | - | |
93 | | - | |
94 | | - | |
95 | | - | |
96 | | - | |
97 | | - | |
| 45 | + | |
98 | 46 | | |
99 | 47 | | |
100 | 48 | | |
| |||
0 commit comments