X-Git-Url: https://piware.de/gitweb/?p=bin.git;a=blobdiff_plain;f=retry-gh-systemd-test;h=493d5d2d2a155c017730066fcd403c33f9bfd2e4;hp=4e2920fc49c583adcb40ccf1d5da587f02c91848;hb=0c79278618e908ea537400bc9f6a69e3f7e2e313;hpb=662bdcfb56b3ee7ccf5235ae62e5a6cf13dbc2c3 diff --git a/retry-gh-systemd-test b/retry-gh-systemd-test index 4e2920f..493d5d2 100755 --- a/retry-gh-systemd-test +++ b/retry-gh-systemd-test @@ -1,5 +1,10 @@ #!/bin/sh -e -[ -n "$2" ] || { echo "Usage: $0 " >&2; exit 1; } +# this needs https://git.launchpad.net/~ubuntu-release/+git/autopkgtest-cloud/plain/tools/retry-github-test +[ -n "$2" ] || { echo "Usage: $0 [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%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" = amd64 ] || [ "$2" = i386 ]; then + branch="%23mpitt/ci-loop-debug" +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