Skip to content

Commit 91bfccb

Browse files
mnasiadkayoctozepto
authored andcommitted
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 (cherry picked from commit 8dcb56f)
1 parent 513a3b1 commit 91bfccb

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

tests/deploy.sh

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,7 @@ function deploy {
1818
fi
1919
# Actually do the deployment
2020
tools/kolla-ansible -i ${RAW_INVENTORY} -vvv prechecks &> /tmp/logs/ansible/deploy-prechecks
21-
# TODO(jeffrey4l): add pull action when we have a local registry
22-
# service in CI
21+
tools/kolla-ansible -i ${RAW_INVENTORY} -vvv pull &> /tmp/logs/ansible/pull
2322
tools/kolla-ansible -i ${RAW_INVENTORY} -vvv deploy &> /tmp/logs/ansible/deploy
2423
tools/kolla-ansible -i ${RAW_INVENTORY} -vvv post-deploy &> /tmp/logs/ansible/post-deploy
2524
tools/kolla-ansible -i ${RAW_INVENTORY} -vvv check &> /tmp/logs/ansible/check-deploy

0 commit comments

Comments
 (0)