Skip to content

Commit

Permalink
Merge pull request #9123 from ministryofjustice/cleanup-runner-group-…
Browse files Browse the repository at this point in the history
…testing

Cleanup test resource to stop it causing issues
  • Loading branch information
jhpyke authored Dec 17, 2024
2 parents adb6f6f + 2005aa9 commit 876a970
Showing 1 changed file with 0 additions and 28 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -75,34 +75,6 @@ resource "helm_release" "actions_runner_mojas_create_a_derived_table" {
]
}

resource "helm_release" "actions_runner_mojas_create_a_derived_table_runner_group" {
count = terraform.workspace == "analytical-platform-compute-production" ? 1 : 0

/* https://github.com/ministryofjustice/analytical-platform-actions-runner */
name = "actions-runner-mojas-cadet-prod-group"
repository = "oci://ghcr.io/ministryofjustice/analytical-platform-charts"
version = "2.321.0-1-rc1"
chart = "actions-runner"
namespace = kubernetes_namespace.actions_runners[0].metadata[0].name
values = [
templatefile(
"${path.module}/src/helm/values/actions-runners/create-a-derived-table/values.yml.tftpl",
{
github_app_application_id = jsondecode(data.aws_secretsmanager_secret_version.actions_runners_token_apc_self_hosted_runners_github_app[0].secret_string)["app_id"]
github_app_installation_id = jsondecode(data.aws_secretsmanager_secret_version.actions_runners_token_apc_self_hosted_runners_github_app[0].secret_string)["installation_id"]
github_organisation = "moj-analytical-services"
github_repository = "create-a-derived-table"
github_runner_labels = "cadet-prod"
eks_role_arn = "arn:aws:iam::${local.environment_management.account_ids["analytical-platform-data-production"]}:role/create-a-derived-table"
}
)
]
set {
name = "github.runner.group"
value = "analytical-platform-CADET-prod"
}
}

resource "helm_release" "actions_runner_mojas_create_a_derived_table_non_spot" {
count = terraform.workspace == "analytical-platform-compute-production" ? 1 : 0

Expand Down

0 comments on commit 876a970

Please sign in to comment.