Update HEAT scripts to use local gerrit mirror 77/66677/1
authorAndrew Grimberg <agrimberg@linuxfoundation.org>
Wed, 20 Dec 2017 18:49:29 +0000 (10:49 -0800)
committerAndrew Grimberg <agrimberg@linuxfoundation.org>
Wed, 20 Dec 2017 18:49:29 +0000 (10:49 -0800)
With Gerrit no longer living in the same cloud as the CI infrastructure
a localized mirror has been put in place to speed up git operations as
much as possible. Since instance bring-ups should be as fast as we can
possibly make them we need to point at this localized mirror for the
spin-up scripts.

Change-Id: I7bbeaf36bd7ccd5f5c9d45707d3c1f8a8507ee5f
Signed-off-by: Andrew Grimberg <agrimberg@linuxfoundation.org>
openstack-hot/generic-server.yaml

index fd43f409d82778c1e121a2210d62bf2b24482504..81b102cb7100d69f242864eb601a3d2359578561 100644 (file)
@@ -62,11 +62,11 @@ resources:
             key_name: {get_param: ssh_key}
             user_data: |
                 #!/bin/bash
-                until host git.opendaylight.org &>/dev/null
+                until host devvexx.opendaylight.org &>/dev/null
                 do
-                    echo "Waiting until git.opendaylight.org is resolvable..."
+                    echo "Waiting until devvexx.opendaylight.org is resolvable..."
                 done
-                git clone https://git.opendaylight.org/gerrit/releng/builder /builder
+                git clone git://devvexx.opendaylight.org/mirror/releng/builder /builder
                 /builder/jenkins-scripts/jenkins-init-script.sh
 
 outputs: