mirror of
https://github.com/TECHNOFAB11/zfs-localpv.git
synced 2026-02-02 15:45:13 +01:00
feat(e2e-test): Add e2e-tests for zfs-localpv (#298)
Signed-off-by: w3aman <aman.gupta@mayadata.io>
This commit is contained in:
parent
53f872fcf1
commit
4e73638b5a
137 changed files with 8745 additions and 0 deletions
41
e2e-tests/experiments/upgrade-zfs-localpv/run_e2e_test.yml
Normal file
41
e2e-tests/experiments/upgrade-zfs-localpv/run_e2e_test.yml
Normal file
|
|
@ -0,0 +1,41 @@
|
|||
---
|
||||
apiVersion: batch/v1
|
||||
kind: Job
|
||||
metadata:
|
||||
generateName: upgrade-zfs-localpv-
|
||||
namespace: e2e
|
||||
spec:
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
test: zfs-localpv-upgrade
|
||||
spec:
|
||||
serviceAccountName: e2e
|
||||
restartPolicy: Never
|
||||
containers:
|
||||
- name: ansibletest
|
||||
image: openebs/zfs-localpv-e2e:ci
|
||||
imagePullPolicy: IfNotPresent
|
||||
env:
|
||||
- name: ANSIBLE_STDOUT_CALLBACK
|
||||
value: default
|
||||
|
||||
## Give the versioned branch name for zfs_localpv provisioner from openebs/zfs-localpv repo
|
||||
## for e.g. (v1.4.x , v1.5.x OR master)
|
||||
- name: TO_VERSION_ZFS_BRANCH
|
||||
value: ''
|
||||
|
||||
## Provide ZFS_DRIVER image to which upgrade is to done. To use ci images use ci tag.
|
||||
## Give full image name (for e.g. openebs/zfs-driver:<tag>)
|
||||
- name: TO_VERSION_ZFS_DRIVER_IMAGE
|
||||
value: ''
|
||||
|
||||
# This is the namespace where the zfs driver will create all its resources.
|
||||
# By default it is in openebs namespace. If you have been using some different namespace
|
||||
# provide that value. We should never attempt to modify this namespace as old resources will
|
||||
# not be available under the new namespace.
|
||||
- name: ZFS_OPERATOR_NAMESPACE
|
||||
value: 'openebs'
|
||||
|
||||
command: ["/bin/bash"]
|
||||
args: ["-c", "ansible-playbook ./e2e-tests/experiments/upgrade-zfs-localpv/test.yml -i /etc/ansible/hosts -v; exit 0"]
|
||||
Loading…
Add table
Add a link
Reference in a new issue