Skip to content

Commit 8bb6b54

Browse files
committed
VED-245: Test multiple pipeline stages.
1 parent 2836c5b commit 8bb6b54

1 file changed

Lines changed: 30 additions & 22 deletions

File tree

azure/azure-pr-pipeline.yml

Lines changed: 30 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -26,25 +26,33 @@ pool:
2626
variables:
2727
- template: project.yml
2828

29-
extends:
30-
template: azure/common/apigee-deployment.yml@common
31-
parameters:
32-
service_name: ${{ variables.service_name }}
33-
short_service_name: ${{ variables.short_service_name }}
34-
service_base_path: ${{ variables.service_base_path }}
35-
apigee_deployments:
36-
- environment: internal-dev
37-
jinja_templates:
38-
DOMAIN_ENDPOINT: https://pr-${{ variables.pr_number }}.imms.dev.vds.platform.nhs.uk
39-
post_deploy:
40-
- template: ./templates/post-deploy.yml
41-
parameters:
42-
aws_account_type: 'dev'
43-
- environment: internal-dev-sandbox
44-
proxy_path: sandbox
45-
jinja_templates:
46-
DOMAIN_ENDPOINT: just-dummy-value-for-successful-build
47-
post_deploy:
48-
- template: ./templates/post-deploy.yml
49-
parameters:
50-
aws_account_type: 'dev'
29+
stages:
30+
- template: azure/common/apigee-deployment.yml@common
31+
parameters:
32+
service_name: ${{ variables.service_name }}
33+
short_service_name: ${{ variables.short_service_name }}
34+
service_base_path: ${{ variables.service_base_path }}
35+
apigee_deployments:
36+
- environment: internal-dev
37+
jinja_templates:
38+
DOMAIN_ENDPOINT: https://pr-${{ variables.pr_number }}.imms.dev.vds.platform.nhs.uk
39+
post_deploy:
40+
- template: ./templates/post-deploy.yml
41+
parameters:
42+
aws_account_type: 'dev'
43+
- environment: internal-dev-sandbox
44+
proxy_path: sandbox
45+
jinja_templates:
46+
DOMAIN_ENDPOINT: just-dummy-value-for-successful-build
47+
post_deploy:
48+
- template: ./templates/post-deploy.yml
49+
parameters:
50+
aws_account_type: 'dev'
51+
- stage: Post deploy test stage
52+
jobs:
53+
- job: Run e2e tests
54+
steps:
55+
- script: echo "Would run e2e tests here"
56+
- job: Run batch e2e tests
57+
steps:
58+
- script: echo "Would run batch e2e tests here"

0 commit comments

Comments
 (0)