Enable arm sonobuoy for drone but don't run tests

Bring up the cluster but early exit, arm images
do not exist for sonobuoy testing.
This commit is contained in:
Erik Wilson 2019-10-25 02:29:32 -07:00
parent 1cafdb8653
commit e0211b3f5f
2 changed files with 13 additions and 0 deletions

View File

@ -212,6 +212,14 @@ steps:
event:
- tag
- name: sonobuoy-e2e-tests
image: rancher/dapper:v0.4.2
commands:
- dapper -f Dockerfile.sonobuoy.dapper
volumes:
- name: docker
path: /var/run/docker.sock
volumes:
- name: docker
host:

View File

@ -195,5 +195,10 @@ echo "Started ${K3S_AGENT}"
timeout --foreground 1m bash -c wait-for-nodes
timeout --foreground 1m bash -c wait-for-services
if [ "$ARCH" = "arm" ]; then
echo "Aborting sonobuoy tests, images not available for $ARCH"
exit 0
fi
echo "Starting sonobuoy tests"
sonobuoy-test "${@}"