Skip to content

Commit

Permalink
Remove dev paas env from workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
johnake committed Oct 12, 2023
1 parent da1e41f commit 28ed0d8
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 14 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: [dev, test, preprod]
environment: [test, 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: [dev, test, preprod, production]
environment: [test, preprod, production]
max-parallel: 1
uses: ./.github/workflows/restore-paas-db-to-aks.yml
with:
Expand Down
5 changes: 2 additions & 3 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,11 @@ on:
workflow_dispatch:
inputs:
environment:
description: "Deploy environment ( dev, test, preprod or production )"
description: "Deploy environment ( test, preprod or production )"
required: true
default: dev
default: test
type: choice
options:
- dev
- test
- preprod
- production
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:
- dev
- test
- preprod
- production
Expand Down Expand Up @@ -78,9 +77,6 @@ jobs:
id: set_aks_env_name
run: |
case "${{ inputs.environment }}" in
dev)
echo "ENVIRONMENT_AKS=development_aks" >> $GITHUB_OUTPUT
;;
test)
echo "ENVIRONMENT_AKS=test_aks" >> $GITHUB_OUTPUT
;;
Expand Down Expand Up @@ -124,11 +120,6 @@ jobs:
production_cluster_name=s189p01-tsc-production-aks
case "${ENVIRONMENT_NAME}" in
development_aks)
echo "cluster_rg=$test_cluster_rg" >> $GITHUB_ENV
echo "cluster_name=$test_cluster_name" >> $GITHUB_ENV
echo "app_name=find-a-lost-trn-development" >> $GITHUB_ENV
;;
test_aks)
echo "cluster_rg=$test_cluster_rg" >> $GITHUB_ENV
echo "cluster_name=$test_cluster_name" >> $GITHUB_ENV
Expand Down

0 comments on commit 28ed0d8

Please sign in to comment.