Drop archived agent image repos from build runners (#613)
container-agent-base, -dev and -infra are archived and no longer build. - Removes the three repos from the `build)` allowlist in `job-started.sh`. - Updates `ci/test-runner-hooks.sh` so the allowlist is the remaining four repos. Reviewed-on: #613 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 #613.
This commit is contained in:
@@ -21,7 +21,7 @@ case "${RUNNER_MODE:-}" in
|
||||
;;
|
||||
build)
|
||||
case "${GITHUB_REPOSITORY:-}" in
|
||||
IUCLabs/rpmbuilder | IUCLabs/container-agent-base | IUCLabs/container-agent-dev | IUCLabs/container-agent-infra | IUCLabs/container-base | IUCLabs/container-postfix | IUCLabs/container-rpmbuilder) ;;
|
||||
IUCLabs/rpmbuilder | IUCLabs/container-base | IUCLabs/container-postfix | IUCLabs/container-rpmbuilder) ;;
|
||||
*) 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-agent-base container-agent-dev container-agent-infra container-base container-postfix container-rpmbuilder; do
|
||||
for r in rpmbuilder container-base container-postfix container-rpmbuilder; 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