vino/tools/deployment/deploy-vino.sh
Kostiantyn Kalynovskyi 1df9ba7978 Add basic integration test for vino CR
This commit introduces a script to instal k8s with minukube, with
basic test environment for VINO.

And runs basic test that makes sure that if daemonset is succefully
deployed vino CR is marked as ready.

Ensure docker role is left intentionally because it also adds current
user to docker group which allows other scripts to invoke docker
commands without sudo. It will be removed in next patchsets.

Change-Id: Iff7c956aa88ffbcf0d85956da4057fce526b67fc
2021-01-12 13:48:52 -06:00

9 lines
275 B
Bash
Executable File

#!/bin/bash
set -xe
sudo snap install kustomize && sudo snap install go --classic
make docker-build
make deploy
kubectl get po -A
#Wait for vino controller manager Pod.
kubectl wait -n vino-system pod -l control-plane=controller-manager --for=condition=ready --timeout=240s