Skip to content

Commit

Permalink
Updates the nodejs images to use git-checkout instead of fetch (#21422)
Browse files Browse the repository at this point in the history
  • Loading branch information
dakaneye authored Jun 6, 2024
1 parent 24f3f97 commit d256bcb
Show file tree
Hide file tree
Showing 6 changed files with 29 additions and 23 deletions.
9 changes: 5 additions & 4 deletions nodejs-16.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package:
name: nodejs-16
version: 16.20.2
epoch: 5
epoch: 6
description: "JavaScript runtime built on V8 engine"
dependencies:
provides:
Expand Down Expand Up @@ -34,10 +34,11 @@ environment:
- zlib-dev

pipeline:
- uses: fetch
- uses: git-checkout
with:
uri: https://nodejs.org/dist/v${{package.version}}/node-v${{package.version}}.tar.gz
expected-sha256: 33188eb11b977113adb65b2e09d71bddd63f12168ba73ceadae6c27938dc9e93
repository: https://github.com/nodejs/node.git
tag: v${{package.version}}
expected-commit: dadbde963fd37a637316c875f8c3e9bbf6e6a393

- name: Configure and build
runs: |
Expand Down
9 changes: 5 additions & 4 deletions nodejs-18.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package:
name: nodejs-18
version: 18.20.3
epoch: 0
epoch: 1
description: "JavaScript runtime built on V8 engine - LTS version"
copyright:
- license: MIT
Expand Down Expand Up @@ -34,10 +34,11 @@ environment:
- zlib-dev

pipeline:
- uses: fetch
- uses: git-checkout
with:
uri: https://nodejs.org/dist/v${{package.version}}/node-v${{package.version}}.tar.gz
expected-sha256: f35c9b9923c7b2e9243e7e2d10cd9ae61fbd5b925df3debbb72d5a70dbff555d
repository: https://github.com/nodejs/node.git
tag: v${{package.version}}
expected-commit: 64903b1ca04dbe182b0abc36deb7437a49bf1881

- name: Configure and build
runs: |
Expand Down
9 changes: 5 additions & 4 deletions nodejs-19.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package:
name: nodejs-19
version: 19.9.0
epoch: 7
epoch: 8
description: "JavaScript runtime built on V8 engine"
dependencies:
provides:
Expand Down Expand Up @@ -33,10 +33,11 @@ environment:
- zlib-dev

pipeline:
- uses: fetch
- uses: git-checkout
with:
uri: https://nodejs.org/dist/v${{package.version}}/node-v${{package.version}}.tar.gz
expected-sha256: c9293eb40dff8e5f55ef8da7cf1b9fd71b4a6a513620d02bbd158936e85216f2
repository: https://github.com/nodejs/node.git
tag: v${{package.version}}
expected-commit: 8085bcf88277cf2b474af008e1e150ce72af5b03

- name: Configure and build
runs: |
Expand Down
9 changes: 5 additions & 4 deletions nodejs-20.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package:
name: nodejs-20
version: 20.14.0
epoch: 0
epoch: 1
description: "JavaScript runtime built on V8 engine - LTS version"
dependencies:
provides:
Expand Down Expand Up @@ -34,10 +34,11 @@ environment:
- zlib-dev

pipeline:
- uses: fetch
- uses: git-checkout
with:
uri: https://nodejs.org/dist/v${{package.version}}/node-v${{package.version}}.tar.gz
expected-sha256: f01109d3102754ac360fcf25aa588f3bef5c090a8eed3fb1d0be194149c46cf2
repository: https://github.com/nodejs/node.git
tag: v${{package.version}}
expected-commit: fe0f08a5dd68fd72b1652adaa51ab07a4b09f847

- name: Configure and build
runs: |
Expand Down
9 changes: 5 additions & 4 deletions nodejs-21.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package:
name: nodejs-21
version: 21.7.3
epoch: 1
epoch: 2
description: "JavaScript runtime built on V8 engine"
dependencies:
provides:
Expand Down Expand Up @@ -33,10 +33,11 @@ environment:
- zlib-dev

pipeline:
- uses: fetch
- uses: git-checkout
with:
uri: https://nodejs.org/dist/v${{package.version}}/node-v${{package.version}}.tar.gz
expected-sha256: ce1f61347671ef219d9c2925313d629d3fef98fc8d7f5ef38dd4656f7d0f58e7
repository: https://github.com/nodejs/node.git
tag: v${{package.version}}
expected-commit: 97297e91febe3b49b50b22f0bea8ed21189a9e53

- name: Configure and build
runs: |
Expand Down
7 changes: 4 additions & 3 deletions nodejs-22.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,11 @@ environment:
- zlib-dev

pipeline:
- uses: fetch
- uses: git-checkout
with:
uri: https://nodejs.org/dist/v${{package.version}}/node-v${{package.version}}.tar.gz
expected-sha256: 2210ce0a40aa6aec3cc118228fdad6536607002319b1fde24260d179118c1055
repository: https://github.com/nodejs/node.git
tag: v${{package.version}}
expected-commit: d57af10d1be390f4e33e6efe596133de9da36c86

- name: Configure and build
runs: |
Expand Down

0 comments on commit d256bcb

Please sign in to comment.