Skip to content
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

Bump NodeJS in base image to 18 #150

Merged
merged 5 commits into from
Sep 8, 2023
Merged

Bump NodeJS in base image to 18 #150

merged 5 commits into from
Sep 8, 2023

Conversation

dixler
Copy link
Contributor

@dixler dixler commented Jul 11, 2023

This PR upgrades Node.js in the pulumi/pulumi image and pulumi/nodejs UBI image to the Active LTS version 18, and documents our version policy to keep language runtimes up-to-date with LTS versions.

Fixes #148

@dixler dixler force-pushed the dixler/148 branch 2 times, most recently from 576b14c to 50c36c9 Compare September 6, 2023 15:30
@dixler dixler marked this pull request as ready for review September 6, 2023 15:30
@dixler dixler requested a review from a team September 6, 2023 15:30
@dixler dixler changed the title Bump NodeJS in base image to 18.16.1 Bump NodeJS in base image to 18 Sep 6, 2023
@dixler dixler requested review from justinvp and a team and removed request for a team September 6, 2023 15:31
README.md Show resolved Hide resolved
@@ -39,7 +39,7 @@ RUN apt-get update -y && \
rm -rf aws && \
rm awscliv2.zip && \
# Add additional apt repos all at once
echo "deb https://deb.nodesource.com/node_16.x $(lsb_release -cs) main" | tee /etc/apt/sources.list.d/node.list && \
echo "deb https://deb.nodesource.com/node_18.x $(lsb_release -cs) main" | tee /etc/apt/sources.list.d/node.list && \
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

how do we make sure we don't get caught behind again? looks like Node 20 is becoming LTS starting October 24th

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Opened #158 to track.

README.md Outdated Show resolved Hide resolved
Before it was using `lts-bullseye-slim`, which is currently the same as `18-bullseye-slim`. This commit changes it it to `18-bullseye-slim` so that it remains on 18 once the LTS version changes. That way, we can upgrade all images to the next LTS version at the same time, and not have one images that is using a different version that the others.
Also tweak the cadence as we aim to release weekly now.
Copy link
Member

@justinvp justinvp left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@dixler
Copy link
Contributor Author

dixler commented Sep 8, 2023

Commits look good.

@dixler dixler merged commit 271934c into main Sep 8, 2023
21 checks passed
@dixler dixler deleted the dixler/148 branch September 8, 2023 23:37
github-merge-queue bot pushed a commit to pulumi/pulumi that referenced this pull request Sep 10, 2023
We're planning to release a new minor version of the CLI on Monday, both
for some new features (e.g. CLI support for org search and AI) and also
so that the docker containers for v3.82.0 are released on Monday [with
Node 18](pulumi/pulumi-docker-containers#150)
since Node 16 will be EOL. Going ahead and prepping the version bump now
with this PR. I'll open and merge the associated freeze PR on Monday
once the remaining org search PRs have been merged.
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.

Inconsistent Node versions between images, not using latest LTS
4 participants