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: #622
Co-authored-by: unkin-agent <unkin-agent@unkin.net>
Co-committed-by: unkin-agent <unkin-agent@unkin.net>
This commit was merged in pull request #622.
This commit is contained in:
2026-11-30 00:32:41 +11:00
committed by BenVincent
parent 8c89182762
commit f72823730c
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -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)
+1 -1
View File
@@ -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"