Skip to content

Commit

Permalink
add gh action admin-test-aks
Browse files Browse the repository at this point in the history
  • Loading branch information
Bengt Fredh committed Oct 16, 2024
1 parent 87ac672 commit 0303f45
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
13 changes: 7 additions & 6 deletions .github/workflows/admin-test-aks-rg-deploy.yml
Original file line number Diff line number Diff line change
@@ -1,22 +1,22 @@
name: Altinn Monitor Test rg
name: admin-test-aks-rg deploy

on:
push:
branches:
- main
paths:
- .github/workflows/altinn-monitor-test-rg-deploy.yml
- .github/workflows/admin-test-aks-rg-deploy.yml
- actions/terraform/apply/**
- actions/terraform/plan/**
- infrastructure/adminservices-test/altinn-monitor-test-rg/**
pull_request:
branches:
- main
paths:
- .github/workflows/altinn-monitor-test-rg-deploy.yml
- .github/workflows/admin-test-aks-rg-deploy.yml
- actions/terraform/apply/**
- actions/terraform/plan/**
- infrastructure/adminservices-test/altinn-monitor-test-rg/**
- infrastructure/adminservices-test/admin-test-aks-rg/**
workflow_dispatch:
inputs:
log_level:
Expand All @@ -33,10 +33,11 @@ on:

env:
ENVIRONMENT: test
TF_STATE_NAME: altinn-monitor-test-rg.tfstate
TF_PROJECT: ./infrastructure/adminservices-test/altinn-monitor-test-rg
TF_STATE_NAME: admin-test-aks-rg.tfstate
TF_PROJECT: ./infrastructure/adminservices-test/admin-test-aks-rg
ARM_CLIENT_ID: ${{ vars.TF_AZURE_CLIENT_ID }}
ARM_SUBSCRIPTION_ID: 1ce8e9af-c2d6-44e7-9c5e-099a308056fe
TF_VAR_altinncr_id: ${{ vars.ALTINNCR_ID }}

permissions:
id-token: write
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,4 @@ pool_configs = {
}
kubernetes_version = "1.29"
aks_sku_tier = "Free"
altinncr_id = "/subscriptions/a6e9ee7d-2b65-41e1-adfb-0c8c23515cf9/resourceGroups/acr/providers/Microsoft.ContainerRegistry/registries/altinncr"
# altinncr_id = "/subscriptions/a6e9ee7d-2b65-41e1-adfb-0c8c23515cf9/resourceGroups/acr/providers/Microsoft.ContainerRegistry/registries/altinncr"

0 comments on commit 0303f45

Please sign in to comment.