-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support for Node v12 and v14 #556
Add support for Node v12 and v14 #556
Conversation
@chanseokoh FYI since you were active in the other thread. Let me know if I missed anything, I haven't worked with Bazel before |
Fix typo in bazel tag
@chanseokoh what do you think? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Simple enough! Technically and basically LGTM though there are some errors.
Fix copy-pasta for debug images
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me. Thank you very much for your contribution!
I'll merge the PR, and then the automated release process will publish the new images typically within an hour or two. If you don't see the images after a few hours, please update here, because it would probably mean that this PR broke cloudbuild.yaml
.
@briandealwis merging this. File a new PR if you want to update the doc further. |
@chanseokoh I checked the node.js container registry and didn't see the images. I tried running the cloudbuild.yaml locally and ran into this error.
It seems like there may be a hard limit of 100 images to be published by a single cloudbuild run. Before my commit there were 97 images being published and after there are 103. However I couldn't find anything in the cloudbuild docs about such a limit. Not sure what your build pipeline looks like for this behind the scenes, but the easiest thing to do may be to have separate cloudbuild files for different directories |
What a bummer! I don't even know how the backend release pipeline looks like, but I will try to think of something. |
Overview
This PR introduces Node v12 and v14 distroless images. I read through the thread at #442 and believe this meets all of the criteria outlined.
Note: For backwards compatibility I've continued to use Node v10 for the
latest
anddebug
tags.I imagine once it reaches end of life we can switch to havelatest
be the current Node LTS version.Edit: Given discussion below we have decided to deprecated the
latest
tag once Node v10 reaches EOL to avoid confusion.Shout out to @craigthompsonhive @HofmannZ for getting the ball rolling on this
Testing
I generated the Node v14 image locally using Bazel, dropped it into one of my projects that was using the Node v10 distroless image, and everything ran as expected
Future Work
Setting up automatic minor and patch version bumps using GitHub actions