Skip to content

Commit

Permalink
Merge pull request #4379 from DFE-Digital/remove-remaining-paas-config
Browse files Browse the repository at this point in the history
Remove any remaining govuk-paas/cf config
  • Loading branch information
peteryates authored Jan 25, 2024
2 parents 5e155b7 + 87b340c commit bcca1c8
Show file tree
Hide file tree
Showing 26 changed files with 0 additions and 989 deletions.
20 changes: 0 additions & 20 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ staging: aks test-cluster
.PHONY: sandbox
sandbox: production-cluster
$(eval include global_config/sandbox_aks.sh)
$(eval SPACE=early-careers-framework-sandbox)

.PHONY: migration
migration: production-cluster
Expand All @@ -34,7 +33,6 @@ migration: production-cluster
.PHONY: production
production: production-cluster
$(eval include global_config/production_aks.sh)
$(eval SPACE=early-careers-framework-prod)
$(if $(or ${SKIP_CONFIRM}, ${CONFIRM_PRODUCTION}), , $(error Production can only run with CONFIRM_PRODUCTION))

load-domain-config:
Expand Down Expand Up @@ -138,24 +136,6 @@ terraform-destroy: terraform-init
terraform-unlock: terraform-init
terraform -chdir=terraform/aks force-unlock ${LOCK_ID}

enable-maintenance:
cf target -s ${SPACE}
cd service_unavailable_page && cf push
cf map-route ecf-unavailable london.cloudapps.digital --hostname ${APP_NAME}
echo Waiting 5s for route to be registered... && sleep 5
cf unmap-route ${APP_NAME} london.cloudapps.digital --hostname ${APP_NAME}

disable-maintenance:
$(if ${DEPLOY_ENV} == "review_aks", $(eval VARIABLE_FILE_NAME=review), $(eval VARIABLE_FILE_NAME=${DEPLOY_ENV}))
$(eval include terraform/workspace-variables/${VARIABLE_FILE_NAME}.tfvars)
$(eval SPACE=${paas_space_name})

cf target -s ${SPACE}
cf map-route ${APP_NAME} london.cloudapps.digital --hostname ${APP_NAME}
echo Waiting 5s for route to be registered... && sleep 5
cf unmap-route ecf-unavailable london.cloudapps.digital --hostname ${APP_NAME}
cf delete -rf ecf-unavailable

test-cluster:
$(eval CLUSTER_RESOURCE_GROUP_NAME=s189t01-tsc-ts-rg)
$(eval CLUSTER_NAME=s189t01-tsc-test-aks)
Expand Down
28 changes: 0 additions & 28 deletions terraform/app/modules/paas/data.tf

This file was deleted.

98 changes: 0 additions & 98 deletions terraform/app/modules/paas/main.tf

This file was deleted.

8 changes: 0 additions & 8 deletions terraform/app/modules/paas/outputs.tf

This file was deleted.

100 changes: 0 additions & 100 deletions terraform/app/modules/paas/variables.tf

This file was deleted.

9 changes: 0 additions & 9 deletions terraform/app/modules/paas/versions.tf

This file was deleted.

43 changes: 0 additions & 43 deletions terraform/app/modules/statuscake/main.tf

This file was deleted.

Empty file.
8 changes: 0 additions & 8 deletions terraform/app/modules/statuscake/providers.tf

This file was deleted.

19 changes: 0 additions & 19 deletions terraform/app/modules/statuscake/variables.tf

This file was deleted.

14 changes: 0 additions & 14 deletions terraform/app/output.tf

This file was deleted.

Loading

0 comments on commit bcca1c8

Please sign in to comment.