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

build: add corepack to the auto-updated dependencies #42090

Merged

Conversation

Copy link
Contributor

@arcanis arcanis commented Feb 23, 2022

This diff auto-updates Corepack when new releases are made on the npm package.

Requested in nodejs/admin#660 (comment)

@nodejs-github-bot
Copy link

@nodejs-github-bot nodejs-github-bot commented Feb 23, 2022

Review requested:

@nodejs-github-bot nodejs-github-bot added build meta needs-ci labels Feb 23, 2022
Co-authored-by: Mestery <mestery@protonmail.com>
Makefile Show resolved Hide resolved
Makefile Outdated Show resolved Hide resolved
Co-authored-by: Antoine du Hamel <duhamelantoine1995@gmail.com>
@gengjiawen
Copy link

@gengjiawen gengjiawen commented Feb 24, 2022

@arcanis Out of curiosity, can this be tested on github action (in forked repo maybe)?

@gengjiawen gengjiawen added the request-ci label Feb 24, 2022
@github-actions github-actions bot removed the request-ci label Feb 24, 2022
@nodejs-github-bot
Copy link

@nodejs-github-bot nodejs-github-bot commented Feb 24, 2022

@arcanis
Copy link
Author

@arcanis arcanis commented Feb 24, 2022

Ideally this workflow should probably run in PRs but in "dry-run" mode, skipping the create-or-update-pull-request-action step (which wouldn't work anyway since the token wouldn't be available) 🤔

@targos
Copy link

@targos targos commented Feb 24, 2022

What would be the point of running this workflow in PRs?

@targos
Copy link

@targos targos commented Feb 24, 2022

Oh, you mean only in PRs that make changes to the workflow itself?

@arcanis
Copy link
Author

@arcanis arcanis commented Feb 24, 2022

Yep exactly, to make sure that the CI env has all the tools needed and scripts are well-formed.

But that can be a separate PR.

@nodejs-github-bot
Copy link

@nodejs-github-bot nodejs-github-bot commented Feb 25, 2022

@Mesteery Mesteery added the commit-queue label Feb 25, 2022
@nodejs-github-bot nodejs-github-bot removed the commit-queue label Feb 25, 2022
@nodejs-github-bot
Copy link

@nodejs-github-bot nodejs-github-bot commented Feb 25, 2022

Commit Queue failed
- Loading data for nodejs/node/pull/42090
✔  Done loading data for nodejs/node/pull/42090
----------------------------------- PR info ------------------------------------
Title      build: add corepack to the auto-updated dependencies (#42090)
Author     Maël Nison  (@arcanis)
Branch     arcanis:mael/corepack-update-workflow -> nodejs:master
Labels     build, meta, needs-ci
Commits    3
 - build: add corepack to the auto-updated dependencies
 - Adds NEW_VERSION to the workflow
 - Prefers curl over wget
Committers 2
 - Maël Nison 
 - GitHub 
PR-URL: https://github.com/nodejs/node/pull/42090
Reviewed-By: Antoine du Hamel 
Reviewed-By: Mestery 
------------------------------ Generated metadata ------------------------------
PR-URL: https://github.com/nodejs/node/pull/42090
Reviewed-By: Antoine du Hamel 
Reviewed-By: Mestery 
--------------------------------------------------------------------------------
   ℹ  This PR was created on Wed, 23 Feb 2022 10:04:53 GMT
   ✔  Approvals: 2
   ✔  - Antoine du Hamel (@aduh95) (TSC): https://github.com/nodejs/node/pull/42090#pullrequestreview-891493735
   ✔  - Mestery (@Mesteery): https://github.com/nodejs/node/pull/42090#pullrequestreview-892399315
   ✔  Last GitHub CI successful
   ℹ  Last Full PR CI on 2022-02-25T14:16:09Z: https://ci.nodejs.org/job/node-test-pull-request/42786/
- Querying data for job/node-test-pull-request/42786/
   ✔  Last Jenkins CI successful
--------------------------------------------------------------------------------
   ✔  No git cherry-pick in progress
   ✔  No git am in progress
   ✔  No git rebase in progress
--------------------------------------------------------------------------------
- Bringing origin/master up to date...
From https://github.com/nodejs/node
 * branch                  master     -> FETCH_HEAD
✔  origin/master is now up-to-date
- Downloading patch for 42090
From https://github.com/nodejs/node
 * branch                  refs/pull/42090/merge -> FETCH_HEAD
✔  Fetched commits as 65b60b567688..6b9e24313c27
--------------------------------------------------------------------------------
[master cae4e61ee6] build: add corepack to the auto-updated dependencies
 Author: Maël Nison 
 Date: Wed Feb 23 11:03:37 2022 +0100
 2 files changed, 10 insertions(+), 5 deletions(-)
[master 6924b0b082] Adds NEW_VERSION to the workflow
 Author: Maël Nison 
 Date: Wed Feb 23 14:09:36 2022 +0100
 1 file changed, 1 insertion(+)
[master f6eac40263] Prefers curl over wget
 Author: Maël Nison 
 Date: Thu Feb 24 12:20:27 2022 +0100
 1 file changed, 1 insertion(+), 1 deletion(-)
   ✔  Patches applied
There are 3 commits in the PR. Attempting autorebase.
Rebasing (2/6)

Executing: git node land --amend --yes
--------------------------------- New Message ----------------------------------
build: add corepack to the auto-updated dependencies

PR-URL: #42090
Reviewed-By: Antoine du Hamel duhamelantoine1995@gmail.com
Reviewed-By: Mestery mestery@protonmail.com

[detached HEAD eb063e5fd3] build: add corepack to the auto-updated dependencies
Author: Maël Nison nison.mael@gmail.com
Date: Wed Feb 23 11:03:37 2022 +0100
2 files changed, 10 insertions(+), 5 deletions(-)
Rebasing (3/6)
Rebasing (4/6)

Executing: git node land --amend --yes
--------------------------------- New Message ----------------------------------
Adds NEW_VERSION to the workflow

Co-authored-by: Mestery mestery@protonmail.com

PR-URL: #42090
Reviewed-By: Antoine du Hamel duhamelantoine1995@gmail.com
Reviewed-By: Mestery mestery@protonmail.com

[detached HEAD 58ad7f2a40] Adds NEW_VERSION to the workflow
Author: Maël Nison nison.mael@gmail.com
Date: Wed Feb 23 14:09:36 2022 +0100
1 file changed, 1 insertion(+)
Rebasing (5/6)
Rebasing (6/6)

Executing: git node land --amend --yes
--------------------------------- New Message ----------------------------------
Prefers curl over wget

Co-authored-by: Antoine du Hamel duhamelantoine1995@gmail.com

PR-URL: #42090
Reviewed-By: Antoine du Hamel duhamelantoine1995@gmail.com
Reviewed-By: Mestery mestery@protonmail.com

[detached HEAD 85a22b3440] Prefers curl over wget
Author: Maël Nison nison.mael@gmail.com
Date: Thu Feb 24 12:20:27 2022 +0100
1 file changed, 1 insertion(+), 1 deletion(-)

Successfully rebased and updated refs/heads/master.

ℹ Use --fixupAll option, squash the PR manually or land the PR from the command line.

https://github.com/nodejs/node/actions/runs/1901073096

@nodejs-github-bot nodejs-github-bot added the commit-queue-failed label Feb 25, 2022
@Mesteery Mesteery added commit-queue commit-queue-squash and removed commit-queue-failed labels Feb 25, 2022
@nodejs-github-bot nodejs-github-bot removed the commit-queue label Feb 25, 2022
@nodejs-github-bot nodejs-github-bot merged commit e84b635 into nodejs:master Feb 25, 2022
59 checks passed
@nodejs-github-bot
Copy link

@nodejs-github-bot nodejs-github-bot commented Feb 25, 2022

Landed in e84b635

sxa pushed a commit to sxa/node that referenced this issue Mar 7, 2022
PR-URL: nodejs#42090
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Reviewed-By: Mestery <mestery@protonmail.com>
@sxa sxa mentioned this pull request Mar 8, 2022
danielleadams pushed a commit that referenced this issue Apr 21, 2022
PR-URL: #42090
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Reviewed-By: Mestery <mestery@protonmail.com>
danielleadams pushed a commit that referenced this issue Apr 24, 2022
PR-URL: #42090
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Reviewed-By: Mestery <mestery@protonmail.com>
danielleadams pushed a commit that referenced this issue Apr 24, 2022
PR-URL: #42090
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Reviewed-By: Mestery <mestery@protonmail.com>
danielleadams pushed a commit that referenced this issue Apr 24, 2022
PR-URL: #42090
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Reviewed-By: Mestery <mestery@protonmail.com>
xtx1130 pushed a commit to xtx1130/node that referenced this issue Apr 25, 2022
PR-URL: nodejs#42090
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Reviewed-By: Mestery <mestery@protonmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
build commit-queue-squash meta needs-ci
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants