Fix rocky container preparation 31/64431/1
authorTim Rozet <trozet@redhat.com>
Fri, 2 Nov 2018 14:36:19 +0000 (10:36 -0400)
committerTim Rozet <trozet@redhat.com>
Fri, 2 Nov 2018 14:36:19 +0000 (10:36 -0400)
Branch was being passed with the 'stable' prefix which was breaking the
docker URL.

Change-Id: I802492d407bc18ec2b47212edfe4bb4fde13002a
Signed-off-by: Tim Rozet <trozet@redhat.com>
apex/deploy.py

index f1ab260..8330dc8 100644 (file)
@@ -421,7 +421,7 @@ def main():
                         os.path.join(APEX_TEMP_DIR, docker_env))
         c_builder.prepare_container_images(
             os.path.join(APEX_TEMP_DIR, docker_env),
-            branch=branch,
+            branch=branch.replace('stable/', ''),
             neutron_driver=c_builder.get_neutron_driver(ds_opts)
         )
         # Install Undercloud