Advertisement
Guest User

Untitled

a guest
Oct 13th, 2019
86
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.86 KB | None | 0 0
  1. #!/bin/bash
  2.  
  3. # Install rdopkg
  4. # $ pip install --user rdopkg
  5. # Set rdopkg binary path in ~/.bashrc
  6. # export PATH=$PATH:~/.local/bin/rdopkg
  7.  
  8. # Get the list of tempest plugin package names
  9. tempest_plugins=$(rdopkg info conf:rpmfactory-tempest-plugin tags:train-uc | grep name: |cut -d":" -f2)
  10.  
  11. for tempest_plugin in $tempest_plugins; do
  12. echo "clonning $tempest_plugin";
  13. rdopkg clone $tempest_plugin;
  14. echo "performing requirement check on $tempest_plugin"
  15. pushd $tempest_plugin;
  16. # Check Out to rpm-master branch
  17. git checkout rpm-master;
  18. rdopkg reqcheck;
  19. popd;
  20. done
  21.  
  22. # Rules for updating spec files for requirements sync
  23. # * If openstack package mismatch and big difference in version then update the spec file
  24. # * If package version is greater in the spec then no need to change
  25. # * If there is a missing package and is needed for the project then added it back.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement