From f11d3c694a57342433e22690ffbbb3d1a34b0b5c Mon Sep 17 00:00:00 2001
From: Mark Goddard <mark@stackhpc.com>
Date: Fri, 21 Jun 2019 16:49:38 +0100
Subject: [PATCH] CI: Pull images before upgrade

This is the documented procedure.

Change-Id: I09ca99e92b112621d66b564a88b13658632242f5
---
 tests/upgrade.sh | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/tests/upgrade.sh b/tests/upgrade.sh
index 898787e70..c0ce10e44 100755
--- a/tests/upgrade.sh
+++ b/tests/upgrade.sh
@@ -10,10 +10,8 @@ export PYTHONUNBUFFERED=1
 function upgrade {
     RAW_INVENTORY=/etc/kolla/inventory
 
-    # TODO(jeffrey4l): need run a real upgrade
     tools/kolla-ansible -i ${RAW_INVENTORY} -vvv prechecks &> /tmp/logs/ansible/upgrade-prechecks
-    # TODO(mgoddard): add pull action when we have a local registry service in
-    # CI.
+    tools/kolla-ansible -i ${RAW_INVENTORY} -vvv pull &> /tmp/logs/ansible/pull-upgrade
     tools/kolla-ansible -i ${RAW_INVENTORY} -vvv upgrade &> /tmp/logs/ansible/upgrade
     tools/kolla-ansible -i ${RAW_INVENTORY} -vvv check &> /tmp/logs/ansible/check-upgrade
 }
-- 
GitLab