-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: Create Summary prod deployment container template (#696)
- [ ] New feature - [ ] Bug fix - [ ] High impact **Description of work:** [55224](https://statoil-proview.visualstudio.com/787035c2-8cf2-4d73-a83e-bb0e6d937eec/_workitems/edit/55224) Adds prod deployment template Disables new az functions Fixed minor typo in deployment script **Testing:** - [x] Can be tested - [ ] Automatic tests created / updated - [x] Local tests are passing Summary Api and az functions have been deployed to production with this PR. **Checklist:** - [ ] Considered automated tests - [ ] Considered updating specification / documentation - [x] Considered work items - [x] Considered security - [x] Performed developer testing - [x] Checklist finalized / ready for review
- Loading branch information
1 parent
bea5ea2
commit 24f315a
Showing
4 changed files
with
51 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
parameters: | ||
azureSubscription: 'PROJECT_PORTAL (63b791ae-b2bc-41a1-ac66-806c4e69bffe)' | ||
environment: '' | ||
clientId: '' | ||
imageName: '' | ||
fusionEnvironment: 'fprd' | ||
templateFile: $(Build.SourcesDirectory)src/Fusion.Summary.Api/Deployment/webapp.template.json | ||
|
||
steps: | ||
- checkout: self | ||
- task: AzurePowerShell@5 | ||
displayName: 'Deploy ARM template' | ||
inputs: | ||
azureSubscription: ${{ parameters.azureSubscription }} | ||
ScriptType: FilePath | ||
FailOnStandardError: true | ||
azurePowerShellVersion: 'LatestVersion' | ||
ScriptPath: src/Fusion.Summary.Api/Deployment/deploy-webapp.ps1 | ||
ScriptArguments: > | ||
-environment ${{ parameters.environment }} | ||
-clientId ${{ parameters.clientId }} | ||
-fusionEnvironment ${{ parameters.fusionEnvironment }} | ||
-imageName ${{ parameters.imageName }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters