summaryrefslogtreecommitdiffstats
path: root/xci/scripts/update-osa-version-files.sh
diff options
context:
space:
mode:
authorMarkos Chandras <mchandras@suse.de>2018-03-13 16:39:44 +0000
committerGerrit Code Review <gerrit@opnfv.org>2018-03-13 16:39:44 +0000
commite566a209fa0ffa35b6d8e9f53eae1cb3074d0bc7 (patch)
treee592df7aa1c439a1233f42806f87412ebd8f0e6f /xci/scripts/update-osa-version-files.sh
parent193e3c4784824d647541d079c54ab2d1460f9e88 (diff)
parentaecfc01d7eb193f2971236a195b3d8d7e007a212 (diff)
Merge "xci: osa: Switch git repositories to github.com"
Diffstat (limited to 'xci/scripts/update-osa-version-files.sh')
-rwxr-xr-xxci/scripts/update-osa-version-files.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/xci/scripts/update-osa-version-files.sh b/xci/scripts/update-osa-version-files.sh
index 42405a3f..bb15fcba 100755
--- a/xci/scripts/update-osa-version-files.sh
+++ b/xci/scripts/update-osa-version-files.sh
@@ -96,6 +96,10 @@ fi
cp $tempdir/openstack-ansible/playbooks/defaults/repo_packages/openstack_services.yml ${releng_xci_base}/installer/osa/files/.
cp $tempdir/openstack-ansible/global-requirement-pins.txt ${releng_xci_base}/installer/osa/files/.
+# Switch sources from git.openstack.org to github.com
+sed -i "s@^src:.*git\.openstack\.org/\(.*\)@src: https://github\.com/\1@g" ${releng_xci_base}/installer/osa/files/ansible-role-requirements.yml
+sed -i "s@\(^.*git_repo:\).*git\.openstack\.org/\(.*\)@\1 https://github\.com/\2@g" ${releng_xci_base}/installer/osa/files/openstack_services.yml
+
popd &> /dev/null
printme ""