a guest Oct 13th, 2019 66 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #!/bin/bash
  3. # Install rdopkg
  4. # $ pip install --user rdopkg
  5. # Set rdopkg binary path in ~/.bashrc
  6. # export PATH=$PATH:~/.local/bin/rdopkg
  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)
  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
  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.
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand