Allow iuclabs-infra runners to run IUCLabs/terragrunt-enc (#624)

IUCLabs/terragrunt-enc needs the iuclabs-infra runners for its terraform CI, but the job-started hook refuses any repo outside the infra allowlist.

- Adds IUCLabs/terragrunt-enc to the infra-mode repo allowlist in job-started.sh.
- Covers it with the same infra fixtures as the other terraform repos in ci/test-runner-hooks.sh.

Reviewed-on: #624
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 #624.
This commit is contained in:
2026-11-30 23:39:04 +11:00
committed by BenVincent
parent 00082f59e8
commit d8f5328d2c
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -15,7 +15,7 @@ case "${RUNNER_MODE:-}" in
default) ;;
infra)
case "${GITHUB_REPOSITORY:-}" in
IUCLabs/terraform-git | IUCLabs/terraform-vault | IUCLabs/terraform-artifactapi | IUCLabs/terraform-authentik | IUCLabs/terraform-binarylane) ;;
IUCLabs/terraform-git | IUCLabs/terraform-vault | IUCLabs/terraform-artifactapi | IUCLabs/terraform-authentik | IUCLabs/terraform-binarylane | IUCLabs/terragrunt-enc) ;;
*) refuse "infra runners only run IUCLabs terraform repos, got '${GITHUB_REPOSITORY:-}'" ;;
esac
;;
+1 -1
View File
@@ -58,7 +58,7 @@ check 1 release - tag-push.json
check 1 release push -
check 1 release push invalid.txt
for r in terraform-git terraform-vault terraform-artifactapi terraform-authentik terraform-binarylane; do
for r in terraform-git terraform-vault terraform-artifactapi terraform-authentik terraform-binarylane terragrunt-enc; do
check 0 infra push push.json "IUCLabs/$r"
check 0 infra pull_request pr-same-repo.json "IUCLabs/$r"
check 1 infra pull_request pr-fork-none.json "IUCLabs/$r"