Skip to content

Commit 042edaa

Browse files
committed
Fix workflows - delete node-14, nstall pigz, make longer timout for ava tests
1 parent 8e67ad0 commit 042edaa

13 files changed

+38
-163
lines changed

.github/workflows/_main_sth-build-test-node-14.yml

Lines changed: 0 additions & 150 deletions
This file was deleted.

.github/workflows/build-docker-prerunner.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,10 @@ jobs:
4242
docker save $repo/$name:$tag -o $repo-$name-$tag-node-${{ inputs.node-version }}-docker-image.tar
4343
done
4444
45-
- name: Zip image
46-
run: pigz *-docker-image.tar
45+
- name: Install pigz and zip image
46+
run: |
47+
sudo apt-get install pigz -y
48+
pigz *-docker-image.tar
4749
4850
- name: Upload image as an artifact
4951
uses: actions/upload-artifact@v3

.github/workflows/build-docker-runner-node.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,10 @@ jobs:
4848
docker save $repo/$name:$tag -o $repo-$name-$tag-node-${{ inputs.node-version }}-docker-image.tar
4949
done
5050
51-
- name: Zip image
52-
run: pigz *-docker-image.tar
51+
- name: Install pigz and zip image
52+
run: |
53+
sudo apt-get install pigz -y
54+
pigz *-docker-image.tar
5355
5456
- name: Upload image as an artifact
5557
uses: actions/upload-artifact@v3

.github/workflows/build-docker-runner-python.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,10 @@ jobs:
3636
docker save $repo/$name:$tag -o $repo-$name-$tag-docker-image.tar
3737
done
3838
39-
- name: Zip image
40-
run: pigz *-docker-image.tar
39+
- name: Install pigz and zip image
40+
run: |
41+
sudo apt-get install pigz -y
42+
pigz *-docker-image.tar
4143
4244
- name: Upload image as an artifact
4345
uses: actions/upload-artifact@v3

.github/workflows/build-docker-sth.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,10 @@ jobs:
4747
docker save $repo/$name:$tag -o $repo-$name-$tag-node-${{ inputs.node-version }}-docker-image.tar
4848
done
4949
50-
- name: Zip image
51-
run: pigz *-docker-image.tar
50+
- name: Install pigz and zip image
51+
run: |
52+
sudo apt-get install pigz -y
53+
pigz *-docker-image.tar
5254
5355
- name: Upload image as an artifact
5456
uses: actions/upload-artifact@v3

.github/workflows/build-refapps.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,9 @@ jobs:
2727

2828
- name: Build refapps
2929
run: yarn build:refapps
30+
31+
- name: Install pigz
32+
run: sudo apt-get install pigz -y
3033

3134
- name: Create artifact
3235
run: tar --use-compress-program="pigz -0 --recursive" -cvf dist-refapps-${{ github.event.pull_request.head.sha }}-${{ inputs.node-version }}.tar.gz packages/*.tar.gz

.github/workflows/build-sth.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,10 @@ jobs:
3434

3535
- name: List dirs in dist
3636
run: find dist -maxdepth 2 -type d
37-
37+
38+
- name: Install pigz
39+
run: sudo apt-get install pigz -y
40+
3841
- name: Create artifact
3942
run: tar --use-compress-program="pigz --best --recursive" -cf dist-sth-${{ github.event.pull_request.head.sha }}-${{ inputs.node-version }}.tar.gz dist/.
4043

.github/workflows/publish-release.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,9 @@ jobs:
6969
path: docker-images
7070

7171
- name: Unzip docker images
72-
run: pigz -d docker-images/*/*-docker-image.tar.gz
72+
run: |
73+
sudo apt-get install pigz -y
74+
pigz -d docker-images/*/*-docker-image.tar.gz
7375
7476
- name: Load docker images
7577
run: ls -1 docker-images/*/*-docker-image.tar | while read line; do docker load -i $line; done

.github/workflows/security-check.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
strategy:
1414
fail-fast: false
1515
matrix:
16-
node-version: [14.x, 16.x]
16+
node-version: [16.x, 18.x]
1717

1818
steps:
1919
- uses: actions/checkout@v3

.github/workflows/test-bdd-docker.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,9 @@ jobs:
3636
uses: actions/download-artifact@v3
3737
with:
3838
name: dist-refapps-${{ github.event.pull_request.head.sha }}-${{ inputs.node-version }}.tar.gz
39+
40+
- name: Install pigz
41+
run: sudo apt-get install pigz -y
3942

4043
- name: Unzip dist-${{ github.event.pull_request.head.sha }}-${{ inputs.node-version }}.tar.gz artifact
4144
run: ls dist*tar.gz | xargs -n1 tar -I pigz -xf

0 commit comments

Comments
 (0)