diff --git a/.drone.yml b/.drone.yml index 06a0131db1a..232ae9bd5db 100644 --- a/.drone.yml +++ b/.drone.yml @@ -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: diff --git a/scripts/sonobuoy b/scripts/sonobuoy index 97c4b27b379..e9c54b448ce 100755 --- a/scripts/sonobuoy +++ b/scripts/sonobuoy @@ -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 "${@}"