Skip to content

Commit

Permalink
Remove test paas env from workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
johnake committed Oct 13, 2023
1 parent 28ed0d8 commit 2a50670
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 13 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build-and-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ jobs:
strategy:
max-parallel: 1
matrix:
environment: [test, preprod]
environment: [preprod]
environment:
name: ${{ matrix.environment }}
url: ${{ steps.deploy.outputs.environment_url }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/database-copy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
name: Restore DB
strategy:
matrix:
environment: [test, preprod, production]
environment: [preprod, production]
max-parallel: 1
uses: ./.github/workflows/restore-paas-db-to-aks.yml
with:
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,9 @@ on:
environment:
description: "Deploy environment ( test, preprod or production )"
required: true
default: test
default: preprod
type: choice
options:
- test
- preprod
- production
sha:
Expand Down
9 changes: 0 additions & 9 deletions .github/workflows/restore-paas-db-to-aks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ on:
environment:
type: choice
options:
- test
- preprod
- production

Expand Down Expand Up @@ -77,9 +76,6 @@ jobs:
id: set_aks_env_name
run: |
case "${{ inputs.environment }}" in
test)
echo "ENVIRONMENT_AKS=test_aks" >> $GITHUB_OUTPUT
;;
preprod)
echo "ENVIRONMENT_AKS=preproduction_aks" >> $GITHUB_OUTPUT
;;
Expand Down Expand Up @@ -120,11 +116,6 @@ jobs:
production_cluster_name=s189p01-tsc-production-aks
case "${ENVIRONMENT_NAME}" in
test_aks)
echo "cluster_rg=$test_cluster_rg" >> $GITHUB_ENV
echo "cluster_name=$test_cluster_name" >> $GITHUB_ENV
echo "app_name=find-a-lost-trn-test" >> $GITHUB_ENV
;;
preproduction_aks)
echo "cluster_rg=$test_cluster_rg" >> $GITHUB_ENV
echo "cluster_name=$test_cluster_name" >> $GITHUB_ENV
Expand Down

0 comments on commit 2a50670

Please sign in to comment.