Comments (6)
Hi all, I've created an idea for this in the features suggestion portal for CircleCI. Please vote for this idea so that we can gauge what the demand is: https://ideas.circleci.com/images/p/re-introduce-latest-tags-for-next-gen-convenience-images
from cimg-node.
Same here. We don't want lts
since that would mean a 12-14 upgrade when lts
changes, but we do want to test on the latest 12
.
from cimg-node.
Excellent suggestion. It makes sense to allow sticking to a major version with no breaking changes, but still get bugfixes and features/performance improvements
from cimg-node.
One of the companies I work with has node standards that define "always use the latest major version of node" as the feel comfortable having automatically incremented minor and patch versions but not major versions.
from cimg-node.
There's no current plans to do this. This is something we're aware of though and will be considering depending on future feedback.
There's two main reasons why don't have this currently:
- It would be expected that breaking changes etc could break our builds but believe it or not it's no always obvious. It's not always the case and we've had many complains with users of legacy images and other things where this occurs.
- There's a small technical challenge as to what is "latest". For many language projects including Node.js, they will publish patch releases for older series. For example, when Node.js v15.2, the major version tag request here would be
15
and would point to Node.js v15.2.0. If Node.js decided to do a patch release for the v15.0 series, that version would be v15.0.2. Our system, would then update the major tag15
to point to that release, which isn't what you would want. When we support release candidate and beta versions in the future, it makes this issue more complicated.
from cimg-node.
In regards to item 2 - I think I could submit a PR for this that'd properly fetch the latest "minor.patch" for each "major" version. I think the logic would look like:
- List all node versions in https://nodejs.org/dist/latest-v14.x/ (or https://nodejs.org/dist/latest-v12.x/, etc)
- Identify the node version matching regex
node-v.*-linux-x64.tar.xz
- Download that node version and install.
Two stumbling blocks, but otherwise I'd be good:
- I haven't watched the nodejs distribution site closely enough to know that
/dist/latest-v*.x
always contains only one file matching a given regex, but I suspect it does. - I also don't know much about what happens after the Dockerfiles are built
from cimg-node.
Related Issues (20)
- Latest version of image run out of memory HOT 2
- Recent versions of image cause jest to fail HOT 1
- permissions on node 16:17 HOT 1
- Using the image in other CI tools HOT 3
- shallow checkout HOT 5
- /home/circleci/.local/bin is in path but doesnโt exist by default HOT 2
- Can you create this image please? HOT 1
- Publish major version (only) tag pointing at the latest build for a major node version HOT 1
- Base Ubuntu version changing HOT 2
- cimg/node:16.18 & cimg/node:16.19: "Mongod instance closed with code \"127\"" was thrown, throw an Error :) HOT 2
- Migrating from circleci/node:16.13-browsers to cimg/node:16-13 HOT 2
- Feature Request: Update open JDK to the next LTS HOT 4
- Feature Request: Include Bun (bun install) HOT 1
- Bug Report: Missing Node.js 20.6.1 release
- Feature Request: cimg/node browsers arm64 support HOT 2
- Bug Report: wrong LTS version HOT 3
- Feature Request: Update open JDK in -browsers image to the next LTS (17)
- Bug Report: automated-wf is broken
- Feature Request: variant with browsers and test drivers preinstalled
- Feature Request: February Node security releases HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cimg-node.