summaryrefslogtreecommitdiffstats
path: root/xci/scripts/update-osa-version-files.sh
diff options
context:
space:
mode:
authorMarkos Chandras <mchandras@suse.de>2017-11-03 05:40:06 +0000
committerGerrit Code Review <gerrit@opnfv.org>2017-11-03 05:40:06 +0000
commit4ca1dc6895c8bac48c80f36181893385d9a8fc02 (patch)
treeb3532fa4485b5e6aa3943703de43fc57a93324e5 /xci/scripts/update-osa-version-files.sh
parente5d66b5058188422bcb63f7860593278fcb39ba3 (diff)
parente8b406ff0ae67ab095cc0dd5ab815fdef0067d9b (diff)
Merge "Bump OpenStack Ansible SHAs"
Diffstat (limited to 'xci/scripts/update-osa-version-files.sh')
-rwxr-xr-xxci/scripts/update-osa-version-files.sh13
1 files changed, 9 insertions, 4 deletions
diff --git a/xci/scripts/update-osa-version-files.sh b/xci/scripts/update-osa-version-files.sh
index bb28f9d3..edd09da4 100755
--- a/xci/scripts/update-osa-version-files.sh
+++ b/xci/scripts/update-osa-version-files.sh
@@ -78,14 +78,19 @@ sed -i -e "/^export OPENSTACK_OSA_VERSION/s@:-\"[a-z0-9]*@:-\"${1}@" \
sed -i -e "/^export OPENSTACK_BIFROST_VERSION/s@:-\"[a-z0-9]*@:-\"${2}@" \
-e "s/\(^# HEAD of bifrost.*of \).*/\1$(date +%d\.%m\.%Y)/" $releng_xci_base/config/pinned-versions
+cp $tempdir/openstack-ansible/playbooks/defaults/repo_packages/openstack_services.yml ${releng_xci_base}/file/.
+cp $tempdir/openstack-ansible/global-requirement-pins.txt ${releng_xci_base}/file/.
+
popd &> /dev/null
printme ""
printme "======================= Report ============================"
printme ""
-printme "The $releng_xci_base/file/ansible-role-requirements.yml and"
-printme "$releng_xci_base/config/pinned-versions files have been"
-printme "updated. Please make sure you test the end result before"
-printme "committing it!"
+printme "The following files have been updated:"
+printme "- $releng_xci_base/file/ansible-role-requirements.yml"
+printme "- $releng_xci_base/file/global-requirement-pins.txt"
+printme "- $releng_xci_base/file/openstack_services.yml"
+printme "- $releng_xci_base/config/pinned-versions"
+printme "Please make sure you test the end result before committing it!"
printme ""
printme "==========================================================="