Skip to content

Commit

Permalink
feat(deploy pipeline): CHK-1999 e2e tests (#92)
Browse files Browse the repository at this point in the history
* feat(deploy pipeline): added stages for execute e2e tests after deploy for dev and uat

* feat(deploy pipeline): fixed name pagopaCheckoutTests

* feat(deploy pipeline): fixed deploy pipeline

* feat(deploy pipeline): restore checkout

* feat(deploy pipeline): fix path template

* fix(deploy pipeline):fix stage name

* fix(deploy pipeline):added pool

* fix(deploy pipeline): fix checkout
  • Loading branch information
Fernando-Granato authored Oct 13, 2023
1 parent 551cbec commit 1102999
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .devops/deploy-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,19 @@ stages:
parameters:
ENV_FILE: "api-tests/dev.envs.json"
TEST_FILE_PREFIX: "dev"

- stage: "E2E_Tests_Checkout_DEV_environment"
displayName: 'Running E2E test on dev app'
pool:
vmImage: 'ubuntu-latest'
dependsOn: Deploy_for_DEV
jobs:
- job: e2e_tests
steps:
- template: .devops/azure-templates/e2e-tests.yaml@pagopaCheckoutTests
parameters:
ENVIRONMENT: DEV
CHECKOUT_RESOURCE_REPO_NAME: pagopaCheckoutTests
# --- END Deploy DEV --- #
# --- START Deploy UAT --- #
- stage: "Build_release_candidate"
Expand Down Expand Up @@ -363,6 +376,20 @@ stages:
parameters:
ENV_FILE: "api-tests/uat.envs.json"
TEST_FILE_PREFIX: "green-uat"

- stage: "E2E_Tests_Checkout_UAT_environment"
displayName: 'Running E2E test on uat app'
pool:
vmImage: 'ubuntu-latest'
dependsOn: Deploy_UAT_Green
condition: eq(dependencies.Deploy_UAT_Green.result, 'Succeeded')
jobs:
- job: e2e_tests
steps:
- template: .devops/azure-templates/e2e-tests.yaml@pagopaCheckoutTests
parameters:
ENVIRONMENT: UAT
CHECKOUT_RESOURCE_REPO_NAME: pagopaCheckoutTests
# --- END Deploy UAT --- #

# --- START Deploy PROD --- #
Expand Down

0 comments on commit 1102999

Please sign in to comment.