Allow container-puppet-pr-validator on build runners (#615)
The puppet-prod validator image moves to its own IUCLabs container repo, whose image builds run on iuclabs-build. - add IUCLabs/container-puppet-pr-validator to the build runner repo allowlist - cover it in the runner hook tests Requires IUCLabs/terraform-git #35 applied for the repo to exist. Reviewed-on: #615 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 #615.
This commit is contained in:
@@ -21,7 +21,7 @@ case "${RUNNER_MODE:-}" in
|
||||
;;
|
||||
build)
|
||||
case "${GITHUB_REPOSITORY:-}" in
|
||||
IUCLabs/rpmbuilder | IUCLabs/container-base | IUCLabs/container-postfix | IUCLabs/container-rpmbuilder) ;;
|
||||
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:-}'" ;;
|
||||
esac
|
||||
;;
|
||||
|
||||
@@ -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; do
|
||||
for r in rpmbuilder container-base container-postfix container-rpmbuilder container-puppet-pr-validator; 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