diff --git a/.github/workflows/build-and-deploy.yml b/.github/workflows/build-and-deploy.yml index 9a7a7641..c29adc3a 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: [test, preprod] + environment: [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 dcab29ce..66586f8d 100644 --- a/.github/workflows/database-copy.yml +++ b/.github/workflows/database-copy.yml @@ -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: diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 34dc01ba..990319ae 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -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: diff --git a/.github/workflows/restore-paas-db-to-aks.yml b/.github/workflows/restore-paas-db-to-aks.yml index 9991472c..04b47bd4 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: - - test - preprod - production @@ -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 ;; @@ -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