]> piware.de Git - bin.git/blobdiff - retry-gh-systemd-test
ubuntu-backport-cockpit: Adjust for Ubuntu 22.04
[bin.git] / retry-gh-systemd-test
index 99e7459401336079b845e2e2641b34c7a3c242dc..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='${3:-xenial}'&arch='$2'&build-git=https%3A%2F%2Fgit.launchpad.net%2F~pitti%2Fsystemd%2F%2Bgit%2Fdebian&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