Skip to content

Commit

Permalink
restart av service ved push av image
Browse files Browse the repository at this point in the history
  • Loading branch information
Myrdrahl committed May 31, 2024
1 parent 0d55fc9 commit f9bb883
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
8 changes: 7 additions & 1 deletion azure-pipelines-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,10 @@ stages:
containerRegistry: 'DockerHub'
repository: 'artsdatabanken/ai'
command: 'push'
tags: 'azure-test'
tags: 'azure-test'
- task: AzureCLI@2
inputs:
azureSubscription: 'test-deploy-code'
scriptType: 'pscore'
scriptLocation: 'inlineScript'
inlineScript: 'az webapp restart --name adb-test-ai-as --resource-group adb-test-ai-rg'
6 changes: 6 additions & 0 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,3 +31,9 @@ stages:
repository: 'artsdatabanken/ai'
command: 'push'
tags: 'azure-test'
- task: AzureCLI@2
inputs:
azureSubscription: 'prod-deploy-code'
scriptType: 'pscore'
scriptLocation: 'inlineScript'
inlineScript: 'az webapp restart --name adb-prod-ai-as --resource-group adb-prod-ai-rg'

0 comments on commit f9bb883

Please sign in to comment.