]> piware.de Git - bin.git/blob - retry-gh-systemd-test
6c748de72a3557c974d10d53e7b77ae5e4d95ce4
[bin.git] / retry-gh-systemd-test
1 #!/bin/sh -e
2 # this needs https://git.launchpad.net/autopkgtest-cloud/plain/tools/retry-github-test
3 [ -n "$2" ] || { echo "Usage: $0 <PR> <arch> [release]" >&2; exit 1; }
4
5 #if [ "$2" = i386 ]; then
6 #    branch="%23mpitt/ci-loop-debug"
7 #fi
8 branch="%23debian%2fmaster"
9
10 ~/debian/autopkgtest-cloud/tools/retry-github-test https://api.github.com/repos/systemd/systemd/pulls/$1 'https://autopkgtest.ubuntu.com/request.cgi?release='${3:-bionic}'&arch='$2'&build-git=https%3A%2F%2Fsalsa.debian.org%2Fsystemd-team%2Fsystemd.git'$branch'&env=CFLAGS%3D-O0%3BDEB_BUILD_PROFILES%3Dnoudeb%3BTEST_UPSTREAM%3D1&package=systemd-upstream&ppa=pitti%2Fsystemd-semaphore' ~/archiv/github-secret-systemd.txt
11