nodejs / docker-node

Official Docker Image for Node.js :whale: :turtle: :rocket:
https://hub.docker.com/_/node/
MIT License
8.13k stars 1.95k forks source link

Automate PR for removing EOL Node.js versions #2101

Open nschonni opened 3 weeks ago

nschonni commented 3 weeks ago

Problem

While doing https://github.com/nodejs/docker-node/pull/2100, I realized that our data is probably structured well enough that these PRs could be automated.

Solution

Create a (daily?) CI that:

This could probably use https://github.com/nodejs/docker-node/blob/main/.github/workflows/automatic-updates.yml as an example, but probably should be it's own job.

Alternatives to Consider

This happens so infrequently that we don't want to bother automating

LaurentGoderre commented 3 weeks ago

I think how infrequent and how little change it is, I would vote to not do this. It could prevent cases where the dates change last minute and aren't update here.

SimenB commented 2 weeks ago

The release schedule exists as a JSON file - we should probably use data from that rather than duplicate its info into our own versions.json file.

https://github.com/nodejs/Release/blob/main/schedule.json

Then we at least won't have stale data to compare to