zfs-localpv/e2e-tests/experiments/functional/zfspv-custom-topology/run_e2e_test.yml

33 lines
826 B
YAML
Raw Permalink Normal View History

apiVersion: batch/v1
kind: Job
metadata:
generateName: zfspv-custom-topology-
namespace: e2e
spec:
template:
metadata:
labels:
test: zfspv-custom-topology
spec:
serviceAccountName: e2e
restartPolicy: Never
containers:
- name: ansibletest
image: openebs/zfs-localpv-e2e:ci
imagePullPolicy: IfNotPresent
env:
- name: ANSIBLE_STDOUT_CALLBACK
value: default
- name: APP_NAMESPACE
value: 'custom-ns'
- name: ZPOOL_NAME
value: 'zfs-test-pool'
- name: NODE_LABEL
value: 'test=custom-topology'
command: ["/bin/bash"]
args: ["-c", "ansible-playbook ./e2e-tests/experiments/functional/zfspv-custom-topology/test.yml -i /etc/ansible/hosts -vv; exit 0"]