Skip to content

Commit

Permalink
ci: upgrade alpine build node version to v14.16.1 (#79)
Browse files Browse the repository at this point in the history
* ci: upgrade alpine build node version to v14.16.1

Also add readme and license files to the patches directory.
  • Loading branch information
drazisil-codecov authored May 7, 2021
1 parent d0a03ad commit 4dd101d
Show file tree
Hide file tree
Showing 6 changed files with 1,811 additions and 1,158 deletions.
10 changes: 5 additions & 5 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ jobs:
name: Install dependencies for building a static copy of NodeJS
command: |
apk update
apk add git python3 openssh g++ make openssl linux-headers python2 npm
apk add git python3 openssh g++ make openssl linux-headers python2 npm patch
- checkout
- attach_workspace:
# Must be absolute path or relative path from working_directory
Expand All @@ -79,11 +79,11 @@ jobs:
command: |
git clone https://github.com/nodejs/node.git
- run:
name: Checkout v12.16.1 tag and apply patches
name: Checkout v14.16.1 tag and apply patches
command: |
git fetch --all --tags
git checkout tags/v12.16.1 -b build
git apply ../patches/node.v12.16.1.cpp.patch
git checkout tags/v14.16.1 -b build
patch -p1 -i ../patches/node.v14.16.1.cpp.patch
working_directory: node

- run:
Expand All @@ -107,7 +107,7 @@ jobs:
name: Create pkg-cache directory and copy static NodeJS binary
command: |
mkdir -p ~/.pkg-cache/v2.6
cp out/Release/node /root/.pkg-cache/v2.6/fetched-v12.16.1-alpine-x64
cp out/Release/node /root/.pkg-cache/v2.6/fetched-v14.0.0-alpine-x64
working_directory: node

- run:
Expand Down
Loading

0 comments on commit 4dd101d

Please sign in to comment.