Skip to content

Instantly share code, notes, and snippets.

@dLobatog
Created June 1, 2018 08:35
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dLobatog/de3530b865f61e294f7bec0eb892a178 to your computer and use it in GitHub Desktop.
Save dLobatog/de3530b865f61e294f7bec0eb892a178 to your computer and use it in GitHub Desktop.
#!/bin/bash
rm -r /var/tmp/mock-chain-tfm-*
rm -r /tmp/tito
for folder in $(ls -d packages/foreman/*); do
cd $folder
tito build --srpm --test
cd ~/workspace/foreman-packaging/
done
mockchain -r el7-scl --tmp_prefix tfm --recurse /tmp/tito/*.src.rpm -a https://copr-be.cloud.fedoraproject.org/results/%40theforeman/tfm-ror51/epel-7-x86_64/ -l /var/tmp/mock-chain-tfm-1935-vs0napqg/ -m --no-cleanup-after -m --no-clean
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment