Merge "AIAP: Prevent sushy from starting prereqs are met"
This commit is contained in:
commit
4750ab169c
@ -35,7 +35,7 @@ then
|
|||||||
printf "Using cached airshipctl\n"
|
printf "Using cached airshipctl\n"
|
||||||
cp -r "$CACHE_DIR/*" "$ARTIFACTS_DIR"
|
cp -r "$CACHE_DIR/*" "$ARTIFACTS_DIR"
|
||||||
else
|
else
|
||||||
printf "Waiting 30 seconds for the libvirt, sushy, and docker services to be ready\n"
|
printf "Waiting 30 seconds for the libvirt and docker services to be ready\n"
|
||||||
sleep 30
|
sleep 30
|
||||||
|
|
||||||
cloneRepo $MANIFEST_REPO_NAME $MANIFEST_REPO_URL $MANIFEST_REPO_REF
|
cloneRepo $MANIFEST_REPO_NAME $MANIFEST_REPO_URL $MANIFEST_REPO_REF
|
||||||
|
@ -107,8 +107,8 @@ spec:
|
|||||||
-config <(cat /csr_details.txt) \
|
-config <(cat /csr_details.txt) \
|
||||||
-extensions 'req_ext'
|
-extensions 'req_ext'
|
||||||
|
|
||||||
# Wait for interface to come up
|
# Wait for infrastructure to come up
|
||||||
while ! ping -c1 10.23.25.1 2>&1 >/dev/null; do sleep 1; done
|
while [[ ! -e /tmp/completed/infra-builder ]]; do printf "Waiting on infra-builder...\n"; sleep 1; done
|
||||||
|
|
||||||
sushy-emulator \
|
sushy-emulator \
|
||||||
--debug \
|
--debug \
|
||||||
@ -121,6 +121,8 @@ spec:
|
|||||||
volumeMounts:
|
volumeMounts:
|
||||||
- name: var-run-libvirt
|
- name: var-run-libvirt
|
||||||
mountPath: /var/run/libvirt
|
mountPath: /var/run/libvirt
|
||||||
|
- name: completed
|
||||||
|
mountPath: /tmp/completed
|
||||||
|
|
||||||
- name: nginx
|
- name: nginx
|
||||||
image: nginx:latest
|
image: nginx:latest
|
||||||
|
@ -14,7 +14,7 @@
|
|||||||
|
|
||||||
set -ex
|
set -ex
|
||||||
|
|
||||||
printf "Waiting 30 seconds for the libvirt, sushy, and docker services to be ready\n"
|
printf "Waiting 30 seconds for the libvirt and docker services to be ready\n"
|
||||||
sleep 30
|
sleep 30
|
||||||
|
|
||||||
ansible-playbook -v /opt/ansible/playbooks/build-infra.yaml \
|
ansible-playbook -v /opt/ansible/playbooks/build-infra.yaml \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user