build: remove unused i386 architecture#2490
Conversation
| @@ -12,7 +12,6 @@ RUN ARCH= OPENSSL_ARCH= && dpkgArch="$(dpkg --print-architecture)" \ | |||
| s390x) ARCH='s390x' OPENSSL_ARCH='linux*-s390x';; \ | |||
| arm64) ARCH='arm64' OPENSSL_ARCH='linux-aarch64';; \ | |||
| armhf) ARCH='armv7l' OPENSSL_ARCH='linux-armv4';; \ | |||
There was a problem hiding this comment.
Aside: I was thinking that it would be intersting if we could generate thses statements based on the values inside the version.json. Might not be simple with the current script though
There was a problem hiding this comment.
I didn't try to optimize anything else in this PR apart from a clean-up of i386.
An enhancement could perhaps be a standalone linting script as a first step in automation.
|
Noticed looking at something else, that there is still something in the Alpine template docker-node/Dockerfile-alpine.template Line 14 in 7fded69 Probably need to regenerate all the images, but maybe after the rust stuff is figured out |
|
I didn't make a general cleanup / reconciliation effort here. I just noticed |
|
Realizing now that this was missing the sync with the Debian templates, so we have a "dirty" repo when running |
|
I didn't think that was necessary, since I didn't want to generate any new image immediately. If you want me to follow up with a second PR to prime the generated Dockerfiles I'm happy to do that. It's something that should probably be described in the CONTRIBUTING doc. For CircleCI changes to templates they explicitly request that you don't update the generated files, so it's really a matter of convention / agreement. See https://github.com/CircleCI-Public/cimg-node/blob/main/.github/CONTRIBUTING.md#contributions-and-pull-requests Please let me know if I should take some action here, and apologies for not asking before I submitted the PR. It would have been better it I hadn't made assumptions! |
|
No you're fine, it is definitely a "it depends". It also has been an issue when the release keys get updated, since it makes the Bot produce PRs with unaffected versions. |
Description
Remove
i386from:Motivation and Context
The architecture
i386was last used with Node.js 10 and it was taken out of active usage with PR #1478 in 2021.Cross-check with no usage of
i386in current versions.jsonTesting Details
Smoke test with:
Example Output (if appropriate)
Confirmed successful from above test
Types of changes
Checklist