Skip to content

Commit 7595565

Browse files
author
Justin Boswell
authored
Make linux use an older glibc (#66)
* Updated deps via npm audit fix * updated to latest aws-c-* * Updated to v1.0.5, updated CD to use builder to generate linux build on al2012
1 parent 3ec1ee4 commit 7595565

File tree

13 files changed

+17
-22
lines changed

13 files changed

+17
-22
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ on:
77
- '!master'
88

99
env:
10-
BUILDER_VERSION: v0.5.9
10+
BUILDER_VERSION: v0.6.0
1111
BUILDER_HOST: https://d19elf31gohf1l.cloudfront.net
1212
PACKAGE_NAME: aws-crt-nodejs
1313
LINUX_BASE_IMAGE: ubuntu-16-x64
@@ -77,7 +77,7 @@ jobs:
7777
steps:
7878
- name: Build ${{ env.PACKAGE_NAME }} + consumers
7979
run: |
80-
python -c "from urllib.request import urlretrieve; urlretrieve('${{ env.BUILDER_HOST }}/${{ env.BUILDER_VERSION }}/builder.pyz?run=${{ env.RUN }}', 'builder.pyz')"
80+
python -c "from urllib.request import urlretrieve; urlretrieve('${{ env.BUILDER_HOST }}/releases/${{ env.BUILDER_VERSION }}/builder.pyz?run=${{ env.RUN }}', 'builder.pyz')"
8181
python builder.pyz build -p ${{ env.PACKAGE_NAME }} --spec=downstream
8282
8383
windows-vc14:
@@ -94,14 +94,14 @@ jobs:
9494
spectre: true
9595
- name: Build ${{ env.PACKAGE_NAME }} + consumers
9696
run: |
97-
python -c "from urllib.request import urlretrieve; urlretrieve('${{ env.BUILDER_HOST }}/${{ env.BUILDER_VERSION }}/builder.pyz?run=${{ env.RUN }}', 'builder.pyz')"
97+
python -c "from urllib.request import urlretrieve; urlretrieve('${{ env.BUILDER_HOST }}/releases/${{ env.BUILDER_VERSION }}/builder.pyz?run=${{ env.RUN }}', 'builder.pyz')"
9898
python builder.pyz build -p ${{ env.PACKAGE_NAME }} downstream
9999
100100
osx:
101101
runs-on: macos-latest
102102
steps:
103103
- name: Build ${{ env.PACKAGE_NAME }} + consumers
104104
run: |
105-
python3 -c "from urllib.request import urlretrieve; urlretrieve('${{ env.BUILDER_HOST }}/${{ env.BUILDER_VERSION }}/builder.pyz?run=${{ env.RUN }}', 'builder')"
105+
python3 -c "from urllib.request import urlretrieve; urlretrieve('${{ env.BUILDER_HOST }}/releases/${{ env.BUILDER_VERSION }}/builder.pyz?run=${{ env.RUN }}', 'builder')"
106106
chmod a+x builder
107107
./builder build -p ${{ env.PACKAGE_NAME }} --spec=downstream

aws-common-runtime/aws-c-http

Submodule aws-c-http updated 56 files

aws-common-runtime/aws-c-io

Submodule aws-c-io updated 53 files

aws-common-runtime/s2n

Submodule s2n updated from b4e5153 to 1045071

continuous-delivery/build-binaries-linux-x64.yml

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,11 @@
11
version: 0.2
22
phases:
3-
install:
4-
runtime-versions:
5-
nodejs: 10
6-
commands:
7-
- apt-get install -y cmake
83
build:
94
commands:
105
- mkdir linux-x64
116
- cd aws-crt-nodejs
12-
- bash ./continuous-delivery/build-binaries-unix.sh
13-
- cp -r dist/bin/linux-x64/* ../linux-x64
7+
- builder build --project=aws-crt-nodejs run_tests=false
8+
- cp -r /root/aws-crt-nodejs/dist/bin/native/* ../linux-x64/
149

1510
artifacts:
1611
files:
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
#!/usr/bin/env bash
1+
#!/usr/bin/env bash
22
npm install --unsafe-perm

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "aws-crt",
3-
"version": "1.0.4",
3+
"version": "1.0.5",
44
"description": "NodeJS/browser bindings to the aws-c-* libraries",
55
"homepage": "https://github.com/awslabs/aws-crt-nodejs",
66
"repository": "github:awslabs/aws-crt-nodejs",

0 commit comments

Comments
 (0)