Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

VIH-9999 Add ITHC environment #116

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions azure-pipelines.sds.release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ parameters:
type: object
default:
- Demo
- ITHC
- Prod

pool:
Expand Down Expand Up @@ -66,6 +67,8 @@ stages:
displayName: ${{ env }} EF Release
dependsOn: Approve_Entity_Framework
variables:
- ${{ if eq(env, 'ITHC') }}:
- template: variables/ithc.yaml
- ${{ if eq(env, 'Demo') }}:
- template: variables/demo.yaml
- ${{ if eq(env, 'Prod') }}:
Expand All @@ -82,7 +85,7 @@ stages:
- download: current
displayName: Download Sql Artifact

- ${{ if or( eq(env, 'Staging'), eq(env, 'Prod') ) }}:
- ${{ if or( eq(env, 'Staging'), eq(env, 'ITHC'), eq(env, 'Prod') ) }}:
- template: templates/Azure/Common/unlock-lock.yaml@azTemplates
parameters:
addOrDelete: delete
Expand All @@ -102,7 +105,7 @@ stages:
kvSqlPasswordSecret: ${{ variables.vhSqlPasswordSecret }}
kvSqlUsernameSecret: ${{ variables.vhSqlUsernameSecret }}

- ${{ if or( eq(env, 'Staging'), eq(env, 'Prod') ) }}:
- ${{ if or( eq(env, 'Staging'),eq(env, 'ITHC'), eq(env, 'Prod') ) }}:
- template: templates/Azure/Common/unlock-lock.yaml@azTemplates
parameters:
addOrDelete: add
Expand All @@ -117,6 +120,7 @@ stages:
displayName: 'Approve Helm Release'
dependsOn:
- Run_Entity_Framework_Demo
- Run_Entity_Framework_ITHC
- Run_Entity_Framework_Prod
jobs:
- job: waitForValidation
Expand Down
3 changes: 3 additions & 0 deletions variables/ithc.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
variables:
- name: env
value: "ithc"