From 28ed0d8ea8b6ddc307f5dcb0fc15712554863c9d Mon Sep 17 00:00:00 2001 From: John Ake Date: Wed, 11 Oct 2023 12:42:21 +0100 Subject: [PATCH] Remove dev paas env from workflow --- .github/workflows/build-and-deploy.yml | 2 +- .github/workflows/database-copy.yml | 2 +- .github/workflows/deploy.yml | 5 ++--- .github/workflows/restore-paas-db-to-aks.yml | 9 --------- 4 files changed, 4 insertions(+), 14 deletions(-) diff --git a/.github/workflows/build-and-deploy.yml b/.github/workflows/build-and-deploy.yml index 11ae6ba7..9a7a7641 100644 --- a/.github/workflows/build-and-deploy.yml +++ b/.github/workflows/build-and-deploy.yml @@ -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 }} diff --git a/.github/workflows/database-copy.yml b/.github/workflows/database-copy.yml index 09918f13..dcab29ce 100644 --- a/.github/workflows/database-copy.yml +++ b/.github/workflows/database-copy.yml @@ -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: diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 0cfd920d..34dc01ba 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -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 diff --git a/.github/workflows/restore-paas-db-to-aks.yml b/.github/workflows/restore-paas-db-to-aks.yml index abeabfdb..9991472c 100644 --- a/.github/workflows/restore-paas-db-to-aks.yml +++ b/.github/workflows/restore-paas-db-to-aks.yml @@ -10,7 +10,6 @@ on: environment: type: choice options: - - dev - test - preprod - production @@ -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 ;; @@ -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