Added Litmus-Checker to workflows (#334)

Signed-off-by: Soumya Ghosh Dastidar <44349253+gdsoumya@users.noreply.github.com>
This commit is contained in:
Soumya Ghosh Dastidar
2020-09-24 10:38:50 +05:30
committed by GitHub
parent 12e3f2fabf
commit 39e7cbd19f
8 changed files with 32 additions and 69 deletions

View File

@@ -139,12 +139,8 @@ spec:
- name: FORCE
value: "false"
container:
image: lachlanevenson/k8s-kubectl
command: [sh, -c]
args:
[
'kubectl apply -f /tmp/chaosengine.yaml -n {{workflow.parameters.adminModeNamespace}} | echo "sleeping for 120s" | sleep 120 ',
]
image: litmuschaos/litmus-checker:latest
args: ["-file=/tmp/chaosengine.yaml","-saveName=/tmp/engine-name"]
- name: revert-chaos
container:
@@ -152,5 +148,5 @@ spec:
command: [sh, -c]
args:
[
" sleep 20 | kubectl delete chaosengine kube-proxy-pod-delete-chaos -n {{workflow.parameters.adminModeNamespace}}",
"kubectl delete chaosengine kube-proxy-pod-delete-chaos -n {{workflow.parameters.adminModeNamespace}}",
]