Skip to content

Commit

Permalink
add maintenance page functionality
Browse files Browse the repository at this point in the history
  • Loading branch information
neillturner committed Oct 30, 2024
1 parent fb28ef2 commit 098e2e2
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -186,6 +186,10 @@ aks-review: test-cluster
aks-test: test-cluster
$(eval include global_config/test.sh)

.PHONY: aks-preprod
aks-preprod: test-cluster
$(eval include global_config/preprod.sh)

bin/terrafile: ## Install terrafile to manage terraform modules
curl -sL https://github.com/coretech/terrafile/releases/download/v${TERRAFILE_VERSION}/terrafile_${TERRAFILE_VERSION}_$$(uname)_$$(uname -m).tar.gz \
| tar xz -C ./bin terrafile
Expand Down
6 changes: 6 additions & 0 deletions global_config/preprod.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
CONFIG=preprod
ENVIRONMENT=preprod
CONFIG_SHORT=pp
AZURE_SUBSCRIPTION=s189-teacher-services-cloud-test
AZURE_RESOURCE_PREFIX=s189t01
KV_PURGE_PROTECTION=false
4 changes: 4 additions & 0 deletions terraform/application/config/preprod.tfvars.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"cluster": "test",
"namespace": "tra-test"
}
1 change: 1 addition & 0 deletions terraform/application/config/preprod.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
---
3 changes: 3 additions & 0 deletions terraform/application/config/preprod_Terrafile
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
aks:
source: "https://github.com/DFE-Digital/terraform-modules"
version: "testing"

0 comments on commit 098e2e2

Please sign in to comment.