add prereqs

This commit is contained in:
Will Urbanski
2021-05-20 12:38:51 -06:00
parent 41d83e93f1
commit 72cfa24ea4
3 changed files with 8 additions and 0 deletions
+4
View File
@@ -14,6 +14,8 @@ atomic_tests:
type: String
default: default
executor:
prereq_command: |
which kubectl
command: |
kubectl get cronjobs -n #{namespace}
name: bash
@@ -31,6 +33,8 @@ atomic_tests:
type: String
default: default
executor:
prereq_command: |
which kubectl
command: |
kubectl create -f src/cronjob.yaml -n #{namespace}
cleanup_command: |
+2
View File
@@ -14,6 +14,8 @@ atomic_tests:
type: String
default: default
executor:
prereq_command: |
which kubectl
command: |
kubectl get secrets -n #{namespace}
name: bash
+2
View File
@@ -18,6 +18,8 @@ atomic_tests:
type: String
default: uname
executor:
prereq_command: |
which kubectl
command: |
kubectl create -f src/busybox.yaml -n #{namespace}
kubectl exec -n #{namespace} busybox -- #{command}