]> piware.de Git - bin.git/blobdiff - retry-gh-systemd-test
build-devtoolbox: Drop waiverdb-cli, bodhi updates waive can do that
[bin.git] / retry-gh-systemd-test
index d34845afd8bcccb7f2f9d5fc451744c1cf22610d..6c748de72a3557c974d10d53e7b77ae5e4d95ce4 100755 (executable)
@@ -1,5 +1,11 @@
 #!/bin/sh -e
-[ -n "$2" ] || { echo "Usage: $0 <PR> <arch>" >&2; exit 1; }
+# this needs https://git.launchpad.net/autopkgtest-cloud/plain/tools/retry-github-test
+[ -n "$2" ] || { echo "Usage: $0 <PR> <arch> [release]" >&2; exit 1; }
 
-~/ubuntu/autopkgtest-cloud/tools/retry-github-test https://api.github.com/repos/systemd/systemd/pulls/$1 'https://autopkgtest.ubuntu.com/request.cgi?release=xenial&arch='$2'&build-git=https%3A%2F%2Fgit.launchpad.net%2F~pitti%2F%2Bgit%2Fsystemd-debian&env=CFLAGS%3D-O0%3BDEB_BUILD_PROFILES%3Dnoudeb%3BTEST_UPSTREAM%3D1&package=systemd-upstream&ppa=pitti%2Fsystemd-semaphore' ~/archiv/github-secret-systemd.txt
+#if [ "$2" = i386 ]; then
+#    branch="%23mpitt/ci-loop-debug"
+#fi
+branch="%23debian%2fmaster"
+
+~/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