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:
@@ -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)
|
||||
|
||||
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user