summaryrefslogtreecommitdiffstats
path: root/xci/scripts/update-osa-version-files.sh
diff options
context:
space:
mode:
authorMarkos Chandras <mchandras@suse.de>2017-06-29 08:03:12 +0100
committerTrevor Bramwell <tbramwell@linuxfoundation.org>2017-08-11 12:56:12 -0700
commitdeceaa484e223045c4b07323895fa8f09e330846 (patch)
tree852f77c8074432c5cbaf091baebe03bb10efc3c0 /xci/scripts/update-osa-version-files.sh
parentc721dd1a75fa44ccfdf8b213b21c11cd50073d3c (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 'xci/scripts/update-osa-version-files.sh')
-rwxr-xr-x[-rw-r--r--]xci/scripts/update-osa-version-files.sh5
1 files changed, 2 insertions, 3 deletions
diff --git a/xci/scripts/update-osa-version-files.sh b/xci/scripts/update-osa-version-files.sh
index 92df978b..7df020c1 100644..100755
--- a/xci/scripts/update-osa-version-files.sh
+++ b/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