add nfs-client and smb-client to test matrix
Signed-off-by: Travis Glenn Hansen <travisghansen@yahoo.com>
This commit is contained in:
parent
52f6bd0f0a
commit
301af17421
|
|
@ -245,6 +245,35 @@ jobs:
|
|||
SERVER_USERNAME: ${{ secrets.SANITY_ZFS_GENERIC_USERNAME }}
|
||||
SERVER_PASSWORD: ${{ secrets.SANITY_ZFS_GENERIC_PASSWORD }}
|
||||
|
||||
# client drivers
|
||||
csi-sanity-client:
|
||||
needs:
|
||||
- build-npm-linux-amd64
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
config:
|
||||
- client/nfs.yaml
|
||||
- client/smb.yaml
|
||||
runs-on:
|
||||
- self-hosted
|
||||
- Linux
|
||||
- X64
|
||||
- csi-sanity-zfs-generic
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/download-artifact@v2
|
||||
with:
|
||||
name: node-modules-linux-amd64
|
||||
- name: csi-sanity
|
||||
run: |
|
||||
# run tests
|
||||
ci/bin/run.sh
|
||||
env:
|
||||
TEMPLATE_CONFIG_FILE: "./ci/configs/${{ matrix.config }}"
|
||||
SERVER_HOST: ${{ secrets.SANITY_ZFS_GENERIC_HOST }}
|
||||
SHARE_NAME: tank_client_smb
|
||||
|
||||
# zfs-local drivers
|
||||
csi-sanity-zfs-local:
|
||||
needs:
|
||||
|
|
|
|||
|
|
@ -1,8 +1,19 @@
|
|||
Write-Output "current user"
|
||||
whoami
|
||||
Write-Output "current working directory"
|
||||
(Get-Location).Path
|
||||
Write-Output "current PATH"
|
||||
$Env:PATH
|
||||
|
||||
Write-Output "node version"
|
||||
node --version
|
||||
Write-Output "npm version"
|
||||
npm --version
|
||||
|
||||
# install deps
|
||||
Write-Output "running npm i"
|
||||
npm i
|
||||
|
||||
Write-Output "creating tar.gz"
|
||||
# tar node_modules to keep the number of files low to upload
|
||||
tar -zcf node_modules-windows-amd64.tar.gz node_modules
|
||||
|
|
|
|||
|
|
@ -0,0 +1,10 @@
|
|||
driver: nfs-client
|
||||
instance_id:
|
||||
nfs:
|
||||
shareHost: ${SERVER_HOST}
|
||||
shareBasePath: "/mnt/tank/client/nfs/${CI_BUILD_KEY}"
|
||||
# shareHost:shareBasePath should be mounted at this location in the controller container
|
||||
controllerBasePath: "/mnt/client/nfs/${CI_BUILD_KEY}"
|
||||
dirPermissionsMode: "0777"
|
||||
dirPermissionsUser: root
|
||||
dirPermissionsGroup: wheel
|
||||
|
|
@ -0,0 +1,10 @@
|
|||
driver: smb-client
|
||||
instance_id:
|
||||
smb:
|
||||
shareHost: ${SERVER_HOST}
|
||||
shareBasePath: "${SHARE_NAME}/${CI_BUILD_KEY}"
|
||||
# shareHost:shareBasePath should be mounted at this location in the controller container
|
||||
controllerBasePath: "/mnt/client/smb/${CI_BUILD_KEY}"
|
||||
dirPermissionsMode: "0777"
|
||||
dirPermissionsUser: root
|
||||
dirPermissionsGroup: wheel
|
||||
Loading…
Reference in New Issue