vino/tools/deployment/deploy-vino.sh
diwrajchitoor 3ffe68732b Enable CI for Vino
* Install Dependency packages like docker,make,wget,debconf and snapd
   * Deploy Kubernetes and Vino
   * Setup roles for Docker and for firewall

Change-Id: I6734cd86b0560438c5b9caacf2567b0c595558e1
2021-01-08 16:25:47 +00:00

11 lines
539 B
Bash
Executable File

#!/bin/bash
set -xe
curl -s -L https://opendev.org/airship/charts/raw/branch/master/tools/gate/deploy-k8s.sh | bash
sudo snap install kustomize && sudo snap install go --classic
#Wait for all pods to be ready before starting Vino Image build.
kubectl wait --for=condition=Ready pods --all -A --timeout=180s
make docker-build
kustomize build config/default | kubectl apply -f -
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