
This patchset moves the vino-builder image build from the images repo into the vino repo. [0] removes it from the images repo. [0] https://review.opendev.org/c/airship/images/+/786714 Change-Id: I8299045cdfaaf285e0f088b330a84e00fcb8307c
20 lines
583 B
Bash
Executable File
20 lines
583 B
Bash
Executable File
#!/bin/bash
|
|
|
|
set -xe
|
|
sudo snap install kustomize && sudo snap install go --classic
|
|
make docker-build-controller
|
|
make docker-build-vino-builder
|
|
make deploy
|
|
kubectl get po -A
|
|
#Wait for vino controller manager Pod.
|
|
count=0
|
|
until [[ $(kubectl -n vino-system get deployment -l control-plane=controller-manager 2>/dev/null) ]]; do
|
|
count=$((count + 1))
|
|
if [[ ${count} -eq "120" ]]; then
|
|
echo ' Timed out waiting for vino controller manager deployment to exist'
|
|
return 1
|
|
fi
|
|
sleep 2
|
|
done
|
|
kubectl -n vino-system rollout status deployment vino-controller-manager --timeout=240s
|