From 7867989dd58c9125e60adf59efe24b21823d9051 Mon Sep 17 00:00:00 2001 From: Clark Boylan Date: Wed, 29 Nov 2017 14:57:00 -0800 Subject: [PATCH] Set origin on /etc/project-config in rsepc tests We use zuul cloner + zuul to set up /etc/project-config for integration testing with rsprec. As of zuulv3 this no longer results in an origin remote being set which the puppet vcsrepo resource expects. Address this expectation by manually configuring an origin remote after we clone the repo. Change-Id: I83e7088c36b1b57279bb32e44c9f74730da582cf --- tools/install_modules_acceptance.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tools/install_modules_acceptance.sh b/tools/install_modules_acceptance.sh index cc262dc631..f48591414c 100755 --- a/tools/install_modules_acceptance.sh +++ b/tools/install_modules_acceptance.sh @@ -68,6 +68,11 @@ EOF openstack-infra/project-config \ $project_names + # Zuul v3 doesn't add remotes like origin but our use of puppet vcsrepo + # errors if it can't update itself against origin (because vcsrepo manages + # repos that it will initially clone). Address this by adding an origin + # for the vcsrepo managed repo here. + sudo git -C /etc/project-config remote add origin 'https://git.openstack.org/openstack-infra/project-config' } install_all() {