use more explicit naming ci to support windows
Signed-off-by: Travis Glenn Hansen <travisghansen@yahoo.com>
This commit is contained in:
parent
7a5b6b58b1
commit
ef1595acb9
|
|
@ -17,10 +17,12 @@ jobs:
|
||||||
with:
|
with:
|
||||||
access_token: ${{ github.token }}
|
access_token: ${{ github.token }}
|
||||||
|
|
||||||
build-npm:
|
build-npm-linux-amd64:
|
||||||
name: build-npm
|
name: build-npm
|
||||||
runs-on:
|
runs-on:
|
||||||
- self-hosted
|
- self-hosted
|
||||||
|
- Linux
|
||||||
|
- X64
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- shell: bash
|
- shell: bash
|
||||||
|
|
@ -30,14 +32,14 @@ jobs:
|
||||||
- name: upload build
|
- name: upload build
|
||||||
uses: actions/upload-artifact@v2
|
uses: actions/upload-artifact@v2
|
||||||
with:
|
with:
|
||||||
name: node-modules
|
name: node-modules-linux-amd64
|
||||||
#path: node_modules/
|
#path: node_modules/
|
||||||
path: node_modules.tar.gz
|
path: node_modules-linux-amd64.tar.gz
|
||||||
retention-days: 7
|
retention-days: 7
|
||||||
|
|
||||||
csi-sanity-synology-dsm6:
|
csi-sanity-synology-dsm6:
|
||||||
needs:
|
needs:
|
||||||
- build-npm
|
- build-npm-linux-amd64
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
|
|
@ -45,12 +47,14 @@ jobs:
|
||||||
- synlogy/dsm6/iscsi.yaml
|
- synlogy/dsm6/iscsi.yaml
|
||||||
runs-on:
|
runs-on:
|
||||||
- self-hosted
|
- self-hosted
|
||||||
|
- Linux
|
||||||
|
- X64
|
||||||
- csi-sanity-synology
|
- csi-sanity-synology
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- uses: actions/download-artifact@v2
|
- uses: actions/download-artifact@v2
|
||||||
with:
|
with:
|
||||||
name: node-modules
|
name: node-modules-linux-amd64
|
||||||
- name: csi-sanity
|
- name: csi-sanity
|
||||||
run: |
|
run: |
|
||||||
# run tests
|
# run tests
|
||||||
|
|
@ -65,7 +69,7 @@ jobs:
|
||||||
|
|
||||||
csi-sanity-synology-dsm7:
|
csi-sanity-synology-dsm7:
|
||||||
needs:
|
needs:
|
||||||
- build-npm
|
- build-npm-linux-amd64
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
|
|
@ -73,12 +77,14 @@ jobs:
|
||||||
- synlogy/dsm7/iscsi.yaml
|
- synlogy/dsm7/iscsi.yaml
|
||||||
runs-on:
|
runs-on:
|
||||||
- self-hosted
|
- self-hosted
|
||||||
|
- Linux
|
||||||
|
- X64
|
||||||
- csi-sanity-synology
|
- csi-sanity-synology
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- uses: actions/download-artifact@v2
|
- uses: actions/download-artifact@v2
|
||||||
with:
|
with:
|
||||||
name: node-modules
|
name: node-modules-linux-amd64
|
||||||
- name: csi-sanity
|
- name: csi-sanity
|
||||||
run: |
|
run: |
|
||||||
# run tests
|
# run tests
|
||||||
|
|
@ -95,7 +101,7 @@ jobs:
|
||||||
# api-based drivers
|
# api-based drivers
|
||||||
csi-sanity-truenas-scale-22_02:
|
csi-sanity-truenas-scale-22_02:
|
||||||
needs:
|
needs:
|
||||||
- build-npm
|
- build-npm-linux-amd64
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
|
|
@ -106,13 +112,15 @@ jobs:
|
||||||
- truenas/scale/22.02/scale-smb.yaml
|
- truenas/scale/22.02/scale-smb.yaml
|
||||||
runs-on:
|
runs-on:
|
||||||
- self-hosted
|
- self-hosted
|
||||||
|
- Linux
|
||||||
|
- X64
|
||||||
- csi-sanity-zfs-local
|
- csi-sanity-zfs-local
|
||||||
#- csi-sanity-truenas-scale
|
#- csi-sanity-truenas-scale
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- uses: actions/download-artifact@v2
|
- uses: actions/download-artifact@v2
|
||||||
with:
|
with:
|
||||||
name: node-modules
|
name: node-modules-linux-amd64
|
||||||
- name: csi-sanity
|
- name: csi-sanity
|
||||||
run: |
|
run: |
|
||||||
# run tests
|
# run tests
|
||||||
|
|
@ -126,7 +134,7 @@ jobs:
|
||||||
# ssh-based drivers
|
# ssh-based drivers
|
||||||
csi-sanity-truenas-core-12_0:
|
csi-sanity-truenas-core-12_0:
|
||||||
needs:
|
needs:
|
||||||
- build-npm
|
- build-npm-linux-amd64
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
|
|
@ -138,13 +146,15 @@ jobs:
|
||||||
- truenas/core/12.0/core-smb.yaml
|
- truenas/core/12.0/core-smb.yaml
|
||||||
runs-on:
|
runs-on:
|
||||||
- self-hosted
|
- self-hosted
|
||||||
|
- Linux
|
||||||
|
- X64
|
||||||
- csi-sanity-zfs-local
|
- csi-sanity-zfs-local
|
||||||
#- csi-sanity-truenas-core
|
#- csi-sanity-truenas-core
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- uses: actions/download-artifact@v2
|
- uses: actions/download-artifact@v2
|
||||||
with:
|
with:
|
||||||
name: node-modules
|
name: node-modules-linux-amd64
|
||||||
- name: csi-sanity
|
- name: csi-sanity
|
||||||
run: |
|
run: |
|
||||||
# run tests
|
# run tests
|
||||||
|
|
@ -158,7 +168,7 @@ jobs:
|
||||||
# ssh-based drivers
|
# ssh-based drivers
|
||||||
csi-sanity-truenas-core-13_0:
|
csi-sanity-truenas-core-13_0:
|
||||||
needs:
|
needs:
|
||||||
- build-npm
|
- build-npm-linux-amd64
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
|
|
@ -169,13 +179,15 @@ jobs:
|
||||||
- truenas/core/13.0/core-smb.yaml
|
- truenas/core/13.0/core-smb.yaml
|
||||||
runs-on:
|
runs-on:
|
||||||
- self-hosted
|
- self-hosted
|
||||||
|
- Linux
|
||||||
|
- X64
|
||||||
- csi-sanity-zfs-local
|
- csi-sanity-zfs-local
|
||||||
#- csi-sanity-truenas-core
|
#- csi-sanity-truenas-core
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- uses: actions/download-artifact@v2
|
- uses: actions/download-artifact@v2
|
||||||
with:
|
with:
|
||||||
name: node-modules
|
name: node-modules-linux-amd64
|
||||||
- name: csi-sanity
|
- name: csi-sanity
|
||||||
run: |
|
run: |
|
||||||
# run tests
|
# run tests
|
||||||
|
|
@ -189,7 +201,7 @@ jobs:
|
||||||
# ssh-based drivers
|
# ssh-based drivers
|
||||||
csi-sanity-zfs-generic:
|
csi-sanity-zfs-generic:
|
||||||
needs:
|
needs:
|
||||||
- build-npm
|
- build-npm-linux-amd64
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
|
|
@ -199,12 +211,14 @@ jobs:
|
||||||
- zfs-generic/smb.yaml
|
- zfs-generic/smb.yaml
|
||||||
runs-on:
|
runs-on:
|
||||||
- self-hosted
|
- self-hosted
|
||||||
|
- Linux
|
||||||
|
- X64
|
||||||
- csi-sanity-zfs-generic
|
- csi-sanity-zfs-generic
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- uses: actions/download-artifact@v2
|
- uses: actions/download-artifact@v2
|
||||||
with:
|
with:
|
||||||
name: node-modules
|
name: node-modules-linux-amd64
|
||||||
- name: csi-sanity
|
- name: csi-sanity
|
||||||
run: |
|
run: |
|
||||||
# run tests
|
# run tests
|
||||||
|
|
@ -218,7 +232,7 @@ jobs:
|
||||||
# zfs-local drivers
|
# zfs-local drivers
|
||||||
csi-sanity-zfs-local:
|
csi-sanity-zfs-local:
|
||||||
needs:
|
needs:
|
||||||
- build-npm
|
- build-npm-linux-amd64
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
|
|
@ -227,12 +241,14 @@ jobs:
|
||||||
- zfs-local/dataset.yaml
|
- zfs-local/dataset.yaml
|
||||||
runs-on:
|
runs-on:
|
||||||
- self-hosted
|
- self-hosted
|
||||||
|
- Linux
|
||||||
|
- X64
|
||||||
- csi-sanity-zfs-local
|
- csi-sanity-zfs-local
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- uses: actions/download-artifact@v2
|
- uses: actions/download-artifact@v2
|
||||||
with:
|
with:
|
||||||
name: node-modules
|
name: node-modules-linux-amd64
|
||||||
- name: csi-sanity
|
- name: csi-sanity
|
||||||
run: |
|
run: |
|
||||||
# run tests
|
# run tests
|
||||||
|
|
@ -243,7 +259,7 @@ jobs:
|
||||||
# local-hostpath driver
|
# local-hostpath driver
|
||||||
csi-sanity-local-hostpath:
|
csi-sanity-local-hostpath:
|
||||||
needs:
|
needs:
|
||||||
- build-npm
|
- build-npm-linux-amd64
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
|
|
@ -251,11 +267,14 @@ jobs:
|
||||||
- local-hostpath/basic.yaml
|
- local-hostpath/basic.yaml
|
||||||
runs-on:
|
runs-on:
|
||||||
- self-hosted
|
- self-hosted
|
||||||
|
- Linux
|
||||||
|
- X64
|
||||||
|
- csi-sanity-zfs-local
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- uses: actions/download-artifact@v2
|
- uses: actions/download-artifact@v2
|
||||||
with:
|
with:
|
||||||
name: node-modules
|
name: node-modules-linux-amd64
|
||||||
- name: csi-sanity
|
- name: csi-sanity
|
||||||
run: |
|
run: |
|
||||||
# run tests
|
# run tests
|
||||||
|
|
|
||||||
|
|
@ -12,4 +12,4 @@ npm --version
|
||||||
npm i
|
npm i
|
||||||
|
|
||||||
# tar node_modules to keep the number of files low to upload
|
# tar node_modules to keep the number of files low to upload
|
||||||
tar -zcf node_modules.tar.gz node_modules
|
tar -zcf node_modules-linux-amd64.tar.gz node_modules
|
||||||
|
|
|
||||||
|
|
@ -15,8 +15,8 @@ export PATH="/usr/local/lib/nodejs/bin:${PATH}"
|
||||||
# install deps
|
# install deps
|
||||||
#npm i
|
#npm i
|
||||||
# install from artifacts
|
# install from artifacts
|
||||||
if [[ -f "node_modules.tar.gz" ]];then
|
if [[ -f "node_modules-linux-amd64.tar.gz" ]];then
|
||||||
tar -zxf node_modules.tar.gz
|
tar -zxf node_modules-linux-amd64.tar.gz
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# generate key for paths etc
|
# generate key for paths etc
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue