Guest User

Untitled

a guest
Jul 29th, 2015
235
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.90 KB | None | 0 0
  1. diff --git a/jenkins/scripts/propose_update.sh b/jenkins/scripts/propose_update.sh
  2. index 5008b45..e8d17b3 100755
  3. --- a/jenkins/scripts/propose_update.sh
  4. +++ b/jenkins/scripts/propose_update.sh
  5. @@ -30,6 +30,14 @@ if [ "$OWN_PROJECT" == "requirements" ] ; then
  6. function update {
  7. $VENV/bin/update-requirements $1
  8. }
  9. +elif [ "$OWN_PROJECT" == "puppet-modulesync-configs" ] ; then
  10. + INITIAL_COMMIT_MSG="Updated from puppet-modulesync-configs"
  11. + TOPIC="openstack/puppet-modulesync-configs"
  12. + # Pretty ugly, but this should be moved to a local script.
  13. + PROJECTS=$(cat managed_modules.yml | cut -d '-' -f 2,3 | grep puppet | sed 's/ //g' | sed 's/^/open
  14. + function update {
  15. + bash -xe tools/sync-projects.sh $1
  16. + }
  17. elif [ "$OWN_PROJECT" == "openstack-manuals" ] ; then
  18. INITIAL_COMMIT_MSG="Updated from openstack-manuals"
  19. TOPIC="openstack/openstack-manuals"
Advertisement
Add Comment
Please, Sign In to add comment