Skip to content

[v16.x] tools: automate update openssl v16 - #48500

Closed
marco-ippolito wants to merge 2 commits into
nodejs:v16.x-stagingfrom
marco-ippolito:backport/openssl-update-backport
Closed

[v16.x] tools: automate update openssl v16#48500
marco-ippolito wants to merge 2 commits into
nodejs:v16.x-stagingfrom
marco-ippolito:backport/openssl-update-backport

Conversation

@marco-ippolito

@marco-ippolito marco-ippolito commented Jun 19, 2023

Copy link
Copy Markdown
Member

PR-URL: #48377
Reviewed-By: Rafael Gonzaga rafael.nunu@hotmail.com
Reviewed-By: Antoine du Hamel duhamelantoine1995@gmail.com
Reviewed-By: Paolo Insogna paolo@cowtech.it

FreeBSD uses SIGBUS after update to v12.4.

Refs: nodejs/build#3134
PR-URL: nodejs#47851
Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com>
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
Reviewed-By: Michael Dawson <midawson@redhat.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
@nodejs-github-bot

Copy link
Copy Markdown
Collaborator

Review requested:

  • @nodejs/security-wg

@nodejs-github-bot nodejs-github-bot added tools Issues and PRs related to the tools directory. v16.x labels Jun 19, 2023
@marco-ippolito marco-ippolito added the wip Issues and PRs that are still a work in progress. label Jun 19, 2023
@marco-ippolito
marco-ippolito force-pushed the backport/openssl-update-backport branch from 84fd21b to aa60c8c Compare June 19, 2023 14:12
PR-URL: nodejs#48377
Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com>
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Reviewed-By: Paolo Insogna <paolo@cowtech.it>
@marco-ippolito
marco-ippolito force-pushed the backport/openssl-update-backport branch from aa60c8c to dd2a467 Compare June 19, 2023 14:13
@marco-ippolito marco-ippolito removed the wip Issues and PRs that are still a work in progress. label Jun 19, 2023

@RafaelGSS RafaelGSS left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I think we need another action for 1.1.1. IIRC scheduled workflows only run in the main branch. So I believe we need to have this automate update v16 on main.

cc: @nodejs/actions

@marco-ippolito

Copy link
Copy Markdown
Member Author

I think we need another action for 1.1.1. IIRC scheduled workflows only run in the main branch. So I believe we need to have this automate update v16 on main.

cc: @nodejs/actions

The action update-openssl.yml checks out on v16.x-staging and executes the update-openssl.sh and opens a pr. I think it will work

@RafaelGSS

RafaelGSS commented Jun 21, 2023

Copy link
Copy Markdown
Member

I think we need another action for 1.1.1. IIRC scheduled workflows only run in the main branch. So I believe we need to have this automate update v16 on main.
cc: @nodejs/actions

The action update-openssl.yml checks out on v16.x-staging and executes the update-openssl.sh and opens a pr. I think it will work

but it won't run in the v16.x-staging branch. It will run only on main. @richardlau I remember you've mentioned it somewhere, right?

@richardlau

Copy link
Copy Markdown
Member

GitHub Actions cron scheduler only runs workflow files from the default branch (e.g. main for this repository), which means it would be running https://github.com/nodejs/node/blob/main/.github/workflows/update-openssl.yml. However #48377 added a subjob that checks out the v16.x-staging branch

openssl-v1-update:
if: github.repository == 'nodejs/node'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3.5.2
with:
persist-credentials: false
ref: v16.x-staging
so I think #48500 (review) should already be taken care of once this PR lands to update the scripts that the workflow in main references for openssl-v1-update.

@RafaelGSS RafaelGSS left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM. Sorry, I missed the openssl-v1-update.

@marco-ippolito marco-ippolito added commit-queue PRs queued for automated landing through the Commit Queue. commit-queue-squash PRs the Commit Queue should land as one squashed commit. commit-queue-rebase PRs the Commit Queue should land as multiple self-contained commits. and removed commit-queue PRs queued for automated landing through the Commit Queue. commit-queue-squash PRs the Commit Queue should land as one squashed commit. labels Jun 26, 2023
@richardlau

Copy link
Copy Markdown
Member

Given that Node.js 16 reaches End-of-Life in a few weeks (11 September 2023), I'm going to close this as won't land on v16.x.

@richardlau richardlau closed this Aug 24, 2023
@panva panva removed the commit-queue PRs queued for automated landing through the Commit Queue. label Nov 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

commit-queue-rebase PRs the Commit Queue should land as multiple self-contained commits. tools Issues and PRs related to the tools directory.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants