CI: pull images before deploy
It will allow us to fail fast when pulling the image is a problem - instead of failing in the middle of deployment. Change-Id: I017cddcfbbc5449e63d807385216b94e74503c9b
This commit is contained in:
parent
9c045aee36
commit
8dcb56f584
@ -18,8 +18,7 @@ function deploy {
|
|||||||
fi
|
fi
|
||||||
# Actually do the deployment
|
# Actually do the deployment
|
||||||
tools/kolla-ansible -i ${RAW_INVENTORY} -vvv prechecks &> /tmp/logs/ansible/deploy-prechecks
|
tools/kolla-ansible -i ${RAW_INVENTORY} -vvv prechecks &> /tmp/logs/ansible/deploy-prechecks
|
||||||
# TODO(jeffrey4l): add pull action when we have a local registry
|
tools/kolla-ansible -i ${RAW_INVENTORY} -vvv pull &> /tmp/logs/ansible/pull
|
||||||
# service in CI
|
|
||||||
tools/kolla-ansible -i ${RAW_INVENTORY} -vvv deploy &> /tmp/logs/ansible/deploy
|
tools/kolla-ansible -i ${RAW_INVENTORY} -vvv deploy &> /tmp/logs/ansible/deploy
|
||||||
tools/kolla-ansible -i ${RAW_INVENTORY} -vvv post-deploy &> /tmp/logs/ansible/post-deploy
|
tools/kolla-ansible -i ${RAW_INVENTORY} -vvv post-deploy &> /tmp/logs/ansible/post-deploy
|
||||||
tools/kolla-ansible -i ${RAW_INVENTORY} -vvv check &> /tmp/logs/ansible/check-deploy
|
tools/kolla-ansible -i ${RAW_INVENTORY} -vvv check &> /tmp/logs/ansible/check-deploy
|
||||||
|
Loading…
Reference in New Issue
Block a user