summaryrefslogtreecommitdiffstats
path: root/prototypes/xci/scripts/update-osa-version-files.sh
diff options
context:
space:
mode:
authorMarkos Chandras <mchandras@suse.de>2017-06-29 08:03:12 +0100
committerMarkos Chandras <mchandras@suse.de>2017-07-03 08:14:59 +0100
commitf39219365067ba306054894abf6bf2a243038a13 (patch)
treefe0c210a93eb642659e99f4bd4d57c880b66339c /prototypes/xci/scripts/update-osa-version-files.sh
parent1f0e9ddc87b2259e977463143521448b9ce66945 (diff)
prototypes: xci: Update SHAs for OSA and its roles
This also updates the second (pre_release) argument of 'update_ansible_role_requirements' from 'false' to 'true' so that non-openstack roles can be updated as well. Change-Id: Id424499f44c9b51c02d56e5d93580faeea50ad12 Signed-off-by: Markos Chandras <mchandras@suse.de>
Diffstat (limited to 'prototypes/xci/scripts/update-osa-version-files.sh')
-rwxr-xr-x[-rw-r--r--]prototypes/xci/scripts/update-osa-version-files.sh5
1 files changed, 2 insertions, 3 deletions
diff --git a/prototypes/xci/scripts/update-osa-version-files.sh b/prototypes/xci/scripts/update-osa-version-files.sh
index 92df978bb..7df020c1b 100644..100755
--- a/prototypes/xci/scripts/update-osa-version-files.sh
+++ b/prototypes/xci/scripts/update-osa-version-files.sh
@@ -52,7 +52,7 @@ popd &> /dev/null
pushd $tempdir/openstack-ansible &> /dev/null
source scripts/sources-branch-updater-lib.sh
printme "Synchronize roles and packages"
-update_ansible_role_requirements "master" "false" "true"
+update_ansible_role_requirements "master" "true" "true"
# Construct the ansible-role-requirements-file
echo """---
@@ -65,8 +65,7 @@ echo """---
# http://www.apache.org/licenses/LICENSE-2.0
##############################################################################
# these versions are extracted based on the osa commit ${1} on $(git --no-pager log -1 --format=%cI $1)
-# https://review.openstack.org/gitweb?p=openstack/openstack-ansible.git;a=commit;h=$1
-""" > $releng_xci_base/file/ansible-role-requirements.yml
+# https://review.openstack.org/gitweb?p=openstack/openstack-ansible.git;a=commit;h=$1""" > $releng_xci_base/file/ansible-role-requirements.yml
cat $tempdir/openstack-ansible/ansible-role-requirements.yml >> $releng_xci_base/file/ansible-role-requirements.yml
# Update the pinned OSA version