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

Node.js 18 Docker image and CI updates #412

Merged
merged 5 commits into from
Dec 3, 2024

Conversation

orangejulius
Copy link
Member

This PR includes a bunch of commits made by a script that standardizes as much as possible our CI config across all repositories.

Along the way it also ensures we test all Node.js versions that are an LTS release, not EOL, and currently work with this repository. Any Github Actions that were out of date or used old Node.js versions (checkout and setup-node v2) are also updated. The geonames importer and all others will need updated whosonfirst / wof-admin-lookup deps with a new version of better-sqlite3 before we can add Node.js 22 support.

Also, the CI OS version is now hardcoded to ubuntu-22.04. We fooled around with an organization wide CI variable to configure that, but it broke CI in forks and doesn't really help us much, so it's now undone.

If there are any other differences in Github Actions Workflow files, they are also now removed by using a standard template.

Finally, because this repository has a Dockerfile and we just updated the Docker baseimage to support Node.js 18, there is an empty commit to trigger a new major version release.

Connects pelias/pelias#950
Connects pelias/pelias#951

This doesn't really save us much effort and breaks CI on forks.

Connects pelias/pelias#951
This also rewrites our CI config so that all Node.js versions are on one line for ease of future grepping

pelias/pelias#950
A lot of our repositories have diverged from our intended template, so this copies a templated version over whatever was here before

Connects pelias/pelias#951
BREAKING CHANGE: The Docker baseimage has been updated to use Node.js 18.20.5, so this repository's Docker image will also use it.

pelias/pelias#950
@orangejulius orangejulius merged commit a3d6cd7 into master Dec 3, 2024
5 checks passed
@orangejulius orangejulius deleted the nodejs-18-and-ci-updates branch December 3, 2024 11:23
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.

1 participant