Add more Helm tests
- Tests for operator: add/remove benchmark/execution
- to verify whether CRDs are correctly installed and can be accessed
- Test for job: add a simple job
- to verify that all permissions are there
added Nice To Have modul/theodolite labels
mentioned in merge request !214 (merged)
mentioned in merge request !285 (merged)
Manual command for checking execution state:
kubectl run kubectl -it --rm --image bash --serviceaccount theodolite -- bash # in pod container shell: apk add -U wget bash openssl kubectl get exec execution-name -o json | jq .status.executionState
We should start from bitnami/kubectl
or install kubectl via:
export KUBECTL_VERSION=v1.21.3
wget -q -O /usr/local/bin/kubectl https://storage.googleapis.com/kubernetes-release/release/${KUBECTL_VERSION}/bin/linux/amd64/kubectl && \
chmod +x /usr/local/bin/kubectl
assigned to @she
In contrast to the initial issue description, we decided to have a test, which deploys a benchmark along with an execution and wait (with some timeout) until the execution completed successfully.
closed with merge request !285 (merged)
mentioned in commit 81fc4810