retry-gh-systemd-test: Run biebl/meson branch for s390x
authorMartin Pitt <martin@piware.de>
Sun, 7 May 2017 16:35:51 +0000 (18:35 +0200)
committerMartin Pitt <martin@piware.de>
Sun, 7 May 2017 16:35:51 +0000 (18:35 +0200)
retry-gh-systemd-test

index 9eec85de4f92782fa10f34c279e71e3d46b996f8..81382ad5e9943b24cf6060c9bb0b04e7f6af03fa 100755 (executable)
@@ -2,5 +2,9 @@
 # this needs https://git.launchpad.net/~ubuntu-release/+git/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" = s390x ]; then
+    branch="%23biebl/meson"
+fi
+
+~/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'$branch'&env=CFLAGS%3D-O0%3BDEB_BUILD_PROFILES%3Dnoudeb%3BTEST_UPSTREAM%3D1&package=systemd-upstream&ppa=pitti%2Fsystemd-semaphore' ~/archiv/github-secret-systemd.txt