Skip to content

Instantly share code, notes, and snippets.

@dirkmueller
Created August 3, 2015 09:43
Show Gist options
  • Save dirkmueller/89477b4928cc1f400fa4 to your computer and use it in GitHub Desktop.
Save dirkmueller/89477b4928cc1f400fa4 to your computer and use it in GitHub Desktop.
#!/bin/bash
cd $(dirname $0)
ghs=$(dirname $0)/github-status/github-status.rb
mode=unseen
#mode=forcerebuild
lst=$(mktemp)
for barclamp in \
crowbar \
barclamp-ceilometer \
barclamp-ceph \
barclamp-cinder \
barclamp-cisco-ucs \
barclamp-crowbar \
barclamp-database \
barclamp-dell_raid \
barclamp-deployer \
barclamp-dns \
barclamp-ganglia \
barclamp-glance \
barclamp-heat \
barclamp-ipmi \
barclamp-keystone \
barclamp-logging \
barclamp-manila \
barclamp-network \
barclamp-neutron \
barclamp-nfs_client \
barclamp-nova \
barclamp-nova_dashboard \
barclamp-ntp \
barclamp-openstack \
barclamp-pacemaker \
barclamp-provisioner \
barclamp-rabbitmq \
barclamp-raid \
barclamp-suse-manager-client \
barclamp-swift \
barclamp-tempest \
barclamp-trove \
barclamp-updater ; do
for github_pr in $($ghs -r crowbar/$barclamp -a list-$mode-prs); do
#echo "$github_pr" | grep -q :master && continue
echo "$barclamp $github_pr"
done
done > $lst
# 1st pass: trigger those that haven't been triggered yet
while read barclamp github_pr; do
test -d /srv/www/htdocs/mkcloud/$barclamp:$github_pr && continue
echo "1st pass, would trigger $barclamp $github_pr"
./crowbar-testbuild.py $barclamp $github_pr
done < $lst
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment