On 1/24/23 08:00, Alex Bennée wrote:
We were using quite and old runner on our machines and running into
issues with stalling jobs. Gitlab in the meantime now reliably provide
the latest packaged versions of the runner under a stable URL. This
update:

   - creates a per-arch subdir for builds
   - switches from binary tarballs to deb packages
   - re-uses the same binary for the secondary runner
   - updates distro check for second to 22.04

Note this script isn't fully idempotent as we end up accumulating
runners especially during testing. However we also want to be able to
run twice with different GitLab keys (e.g. project and personal) so I
think we just have to be mindful of that during testing.

Signed-off-by: Alex Bennée<alex.ben...@linaro.org>

---
v2
   - only register aarch32 runner, move service start post both registers
   - tested on s390x
---
  scripts/ci/setup/gitlab-runner.yml | 56 +++++++-----------------------
  scripts/ci/setup/vars.yml.template |  2 --
  2 files changed, 13 insertions(+), 45 deletions(-)

Acked-by: Richard Henderson <richard.hender...@linaro.org>


r~

Reply via email to