Skip to content

Commit

Permalink
Merge pull request #34 from NHSDigital/feature/ERSSUP-53771-environme…
Browse files Browse the repository at this point in the history
…nt-mapping

ERSSUP-53771: Deploy multiple proxies accross internal-dev and intern…
  • Loading branch information
nhsd-jonathan-heather authored Jun 10, 2021
2 parents e2c2718 + 6dbb856 commit 16e9622
Showing 1 changed file with 38 additions and 17 deletions.
55 changes: 38 additions & 17 deletions azure/azure-release-pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,20 +34,41 @@ extends:
product_description: ${{ variables.product_description }}
spec_file: ${{ variables.spec_file }}
apigee_deployments:
- environment: internal-dev
make_spec_visible: true # Off by default. Turn on to allow expose API developers can subscribe their Apps to
- environment: internal-qa
make_spec_visible: true
- environment: internal-qa-sandbox
proxy_path: sandbox
make_spec_visible: true
# make_spec_visible is false for sandbox environment
# (App subscription make sense for most sandbox implementations)
- environment: sandbox
proxy_path: sandbox
# Enable int environment when ready by uncommenting:
- environment: int
make_spec_visible: true
depends_on:
- internal_qa
- internal_qa_sandbox
- environment: internal-dev
stage_name: ers_alpha_live
make_spec_visible: true
service_name: "${{ variables.service_name }}-alpha"
short_service_name: "${{ variables.short_service_name }}-alpha"
product_display_name: "${{ variables.product_display_name }} (ERSALPHA)"
service_base_path: "${{ variables.service_base_path }}-alpha"
jinja_templates:
ERS_TARGET_SERVER: e-referrals-service-api--alpha
- environment: internal-dev
stage_name: ers_rc_live
make_spec_visible: true
service_name: "${{ variables.service_name }}-rc"
short_service_name: "${{ variables.short_service_name }}-rc"
product_display_name: "${{ variables.product_display_name }} (ERSRC)"
service_base_path: "${{ variables.service_base_path }}-rc"
jinja_templates:
ERS_TARGET_SERVER: e-referrals-service-api--rc
- environment: internal-dev
stage_name: ers_fix_live
make_spec_visible: true
service_name: "${{ variables.service_name }}-fix"
short_service_name: "${{ variables.short_service_name }}-fix"
product_display_name: "${{ variables.product_display_name }} (ERSFIX)"
service_base_path: "${{ variables.service_base_path }}-fix"
jinja_templates:
ERS_TARGET_SERVER: e-referrals-service-api--fix
- environment: internal-qa
stage_name: ers_sa_live
make_spec_visible: true
service_name: "${{ variables.service_name }}-sa"
short_service_name: "${{ variables.short_service_name }}-sa"
product_display_name: "${{ variables.product_display_name }} (ERSSA)"
service_base_path: "${{ variables.service_base_path }}-sa"
jinja_templates:
ERS_TARGET_SERVER: e-referrals-service-api--sa
- environment: internal-qa-sandbox
proxy_path: sandbox

0 comments on commit 16e9622

Please sign in to comment.