From f72823730c5d205a71701cd4f73a2c8ad9639237 Mon Sep 17 00:00:00 2001 From: unkin-agent Date: Mon, 30 Nov 2026 00:32:41 +1100 Subject: [PATCH] Allow g10kng image builds on iuclabs-build runners (#622) IUCLabs/g10kng now builds a container image, and the iuclabs-build job-started hook refuses repos outside its allowlist. - add IUCLabs/g10kng to the build runner allowlist Reviewed-on: https://git.unkin.net/unkin/argocd-apps/pulls/622 Co-authored-by: unkin-agent Co-committed-by: unkin-agent --- apps/base/iuclabs-runners/job-started.sh | 4 ++-- ci/test-runner-hooks.sh | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/apps/base/iuclabs-runners/job-started.sh b/apps/base/iuclabs-runners/job-started.sh index d59b7e5..e37a7b8 100755 --- a/apps/base/iuclabs-runners/job-started.sh +++ b/apps/base/iuclabs-runners/job-started.sh @@ -21,8 +21,8 @@ case "${RUNNER_MODE:-}" in ;; build) case "${GITHUB_REPOSITORY:-}" in - IUCLabs/rpmbuilder | IUCLabs/container-base | IUCLabs/container-postfix | IUCLabs/container-rpmbuilder | IUCLabs/container-puppet-pr-validator) ;; - *) refuse "build runners only run IUCLabs rpmbuilder and container repos, got '${GITHUB_REPOSITORY:-}'" ;; + IUCLabs/rpmbuilder | IUCLabs/container-base | IUCLabs/container-postfix | IUCLabs/container-rpmbuilder | IUCLabs/container-puppet-pr-validator | IUCLabs/g10kng) ;; + *) refuse "build runners only run IUCLabs image and rpm build repos, got '${GITHUB_REPOSITORY:-}'" ;; esac ;; release) diff --git a/ci/test-runner-hooks.sh b/ci/test-runner-hooks.sh index 61ebc05..1bac3b7 100755 --- a/ci/test-runner-hooks.sh +++ b/ci/test-runner-hooks.sh @@ -72,7 +72,7 @@ check 1 infra push push.json check 1 infra push - IUCLabs/terraform-vault check 0 default push push.json IUCLabs/terraform-vault -for r in rpmbuilder container-base container-postfix container-rpmbuilder container-puppet-pr-validator; do +for r in rpmbuilder container-base container-postfix container-rpmbuilder container-puppet-pr-validator g10kng; do check 0 build push push.json "IUCLabs/$r" check 0 build pull_request pr-same-repo.json "IUCLabs/$r" check 1 build pull_request pr-fork-none.json "IUCLabs/$r"