#!/bin/sh -e
[ -n "$2" ] || { echo "Usage: $0 <PR> <arch>" >&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
+~/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