Skip to content

Commit

Permalink
Merge pull request #2900 from DFE-Digital/CAPT-1734-remove-old-test-a…
Browse files Browse the repository at this point in the history
…pp-deploy-code

CAPT-1734 Remove old test app code
  • Loading branch information
AbigailMcP authored Jun 24, 2024
2 parents ccae5e6 + 7e34e28 commit bff7e66
Show file tree
Hide file tree
Showing 7 changed files with 0 additions and 78 deletions.
1 change: 0 additions & 1 deletion .prettierignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
/.apt/
/.heroku/
/bin/vsp/
/public/assets/
/public/**/*.min.*
Expand Down
7 changes: 0 additions & 7 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,6 @@ DOCKER_REPOSITORY=ghcr.io/dfe-digital/claim-additional-payments-for-teaching
help:
@grep -E '^[a-zA-Z\._\-]+:.*?## .*$$' $(MAKEFILE_LIST) | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m%-30s\033[0m %s\n", $$1, $$2}'

test:
$(eval AZ_SUBSCRIPTION=s118-teacherpaymentsservice-test)
$(eval RESOURCE_GROUP_NAME=s118t01-tfbackend)
$(eval STORAGE_ACCOUNT_NAME=s118t01tfbackendsa)
$(eval CONTAINER_NAME=s118t01conttfstate)
$(eval DEPLOY_ENV=test)

production:
$(eval AZ_SUBSCRIPTION=s118-teacherpaymentsservice-production)
$(eval RESOURCE_GROUP_NAME=s118p01-tfbackend)
Expand Down
16 changes: 0 additions & 16 deletions app.json

This file was deleted.

28 changes: 0 additions & 28 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,34 +23,6 @@ stages:
steps:
- template: templates/build.yml

- stage: TestRelease
lockBehavior: sequential
condition: and(succeeded('Build'), eq(variables['Build.SourceBranch'], 'refs/heads/master'))
jobs:
- deployment: TestRelease
displayName: Deploy to test environment
pool:
vmImage: ubuntu-latest
environment: s118-teacherpaymentsservice-test
strategy:
runOnce:
deploy:
steps:
- checkout: self
- template: templates/release.yml
parameters:
backendAzureRmContainerName: s118t01conttfstate
backendAzureRmKey: terraform.tfstate
backendAzureRmResourceGroupName: s118t01-tfbackend
backendAzureRmStorageAccountName: s118t01tfbackendsa
env: test
KeyVaultId: /subscriptions/e9299169-9666-4f15-9da9-5332680145af/resourceGroups/s118t01-secrets/providers/Microsoft.KeyVault/vaults/s118t01-secrets-kv
ResourceGroupName: s118t01-app
SourceSlot: staging
WebAppName: s118t01-app-as
ExtraTerraformVariables:
ServiceConnection: azdo.pipelines.cip.S118T.arm03ce3ff5-9a61-4525-a063-6ecde34874cf

- stage: ProductionRelease
lockBehavior: sequential
condition: and(succeeded('TestRelease'), eq(variables['Build.SourceBranch'], 'refs/heads/master'))
Expand Down
17 changes: 0 additions & 17 deletions azure/terraform/workspace_variables/test.tfvars.json

This file was deleted.

4 changes: 0 additions & 4 deletions bin/azure-console
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,6 @@ case $ENVIRONMENT_NAME in
SUBSCRIPTION_ID="88bd392f-df19-458b-a100-22b4429060ed"
RESOURCE_GROUP_PREFIX="s118p01"
;;
"test")
SUBSCRIPTION_ID="e9299169-9666-4f15-9da9-5332680145af"
RESOURCE_GROUP_PREFIX="s118t01"
;;
*)
echo "Could not find a known environment with the name: $ENVIRONMENT_NAME"
exit 1
Expand Down
5 changes: 0 additions & 5 deletions bin/azure-deploy
Original file line number Diff line number Diff line change
Expand Up @@ -45,11 +45,6 @@ case $ENVIRONMENT_NAME in
RESOURCE_GROUP_PREFIX="s118d01"
VSP_DOCKER_IMAGE_TAG="20201102.3"
;;
"test")
SUBSCRIPTION_ID="e9299169-9666-4f15-9da9-5332680145af"
RESOURCE_GROUP_PREFIX="s118t01"
VSP_DOCKER_IMAGE_TAG="20201102.3"
;;
"production")
SUBSCRIPTION_ID="88bd392f-df19-458b-a100-22b4429060ed"
RESOURCE_GROUP_PREFIX="s118p01"
Expand Down

0 comments on commit bff7e66

Please sign in to comment.