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

chore(ci): node-version to latest LTS (18) #680

Closed
wants to merge 1 commit into from

Conversation

carsoli
Copy link
Contributor

@carsoli carsoli commented Nov 25, 2022

Description

PR updates node version for ci and gh-pages to latest LTS (18.12.x) on its creation date (Nov. 25th, 2022).

However:
render deployments are failing with this Error if current LTS (18.12) is used:

Error: error:0308010c:digital envelope routines::unsupported

The particular sub-dependency that fails according to logs from master are webpack and its subdependencies.

Given that webpack4 still uses open-ssl < 3.

Until webpack v6, this wouldn't be resolved. Therefore, we upgrade node-version for all CI jobs that use actions/setup-node to be 18, and set node_options to use legacy openssl like here.

.nvmrc version overrides render's node-version (which is currently lts/* (v18).

When webpack fixes this in its next major release, we can 1) upgrade 2) no longer need to opt out of using openssl3.

@render
Copy link

render bot commented Nov 25, 2022

@carsoli carsoli added type:chore chore, cleanup, removal of dead-code, etc. autorebase:opt-in Apply this label to enable automatic rebasing labels Nov 25, 2022
@carsoli carsoli force-pushed the update-ci-to-latest-node branch 6 times, most recently from 370b384 to e1f1ab2 Compare November 25, 2022 19:21
@carsoli carsoli requested review from FlorianWendelborn and removed request for Isokaeder November 25, 2022 19:35
@FlorianWendelborn FlorianWendelborn marked this pull request as draft November 25, 2022 19:48
@carsoli carsoli marked this pull request as ready for review November 25, 2022 19:53
README.md Show resolved Hide resolved
.github/workflows/gh-pages.yml Show resolved Hide resolved
.github/workflows/ci.yml Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
.nvmrc Outdated Show resolved Hide resolved
@carsoli carsoli force-pushed the update-ci-to-latest-node branch 3 times, most recently from e6b333a to a256872 Compare November 26, 2022 00:58
@carsoli carsoli force-pushed the update-ci-to-latest-node branch 3 times, most recently from fc02980 to d72dbe1 Compare November 26, 2022 01:49
@@ -128,7 +128,7 @@
"private": true,
"repository": "git@github.com:3YOURMIND/kotti",
"scripts": {
"build:render.com": "yarn run watch:build-kotti-dependencies && yarn workspace @3yourmind/kotti-ui run build && yarn workspace @3yourmind/documentation run nuxt generate",
Copy link
Member

Choose a reason for hiding this comment

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

@carsoli Can you explain why setting the webpack hash function wasn’t sufficient for this?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

couldn't

render.yaml Outdated Show resolved Hide resolved
@FlorianWendelborn FlorianWendelborn force-pushed the update-ci-to-latest-node branch 24 times, most recently from 6910c78 to d743580 Compare January 18, 2024 11:55
@carsoli carsoli mentioned this pull request Jan 18, 2024
51 tasks
@FlorianWendelborn FlorianWendelborn force-pushed the update-ci-to-latest-node branch 2 times, most recently from 0c10d47 to fbacf96 Compare January 23, 2024 10:28
@carsoli
Copy link
Contributor Author

carsoli commented Jan 23, 2024

closing, not needed thanks to supporting node18 on #814

@carsoli carsoli closed this Jan 23, 2024
@carsoli carsoli deleted the update-ci-to-latest-node branch January 23, 2024 12:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
autorebase:opt-in Apply this label to enable automatic rebasing scope:ci type:chore chore, cleanup, removal of dead-code, etc.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants