From d6d0a3258bfc5801eb6aab38e3245952f3507293 Mon Sep 17 00:00:00 2001 From: Hans Dahle Date: Thu, 15 Aug 2024 10:38:44 +0200 Subject: [PATCH] chore(pipeline): Fix function pipeline (#672) - [ ] New feature - [x] Bug fix - [ ] High impact **Description of work:** Updated version of azurepowershell task to V5, as this support federated credentials. **Testing:** - [ ] ~~Can be tested~~ - [ ] ~~Automatic tests created / updated~~ - [ ] ~~Local tests are passing~~ Verfied running pipeline on branch. **Checklist:** - [ ] ~~Considered automated tests~~ - [ ] ~~Considered updating specification / documentation~~ - [ ] ~~Considered work items~~ - [ ] ~~Considered security~~ - [x] Performed developer testing - [x] Checklist finalized / ready for review --- pipelines/templates/deploy-container-app.yml | 2 +- pipelines/templates/deploy-function-pr-template.yml | 2 +- pipelines/templates/deploy-function-template.yml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/pipelines/templates/deploy-container-app.yml b/pipelines/templates/deploy-container-app.yml index d04462f39..9b29a7448 100644 --- a/pipelines/templates/deploy-container-app.yml +++ b/pipelines/templates/deploy-container-app.yml @@ -8,7 +8,7 @@ parameters: steps: - checkout: self -- task: AzurePowerShell@4 +- task: AzurePowerShell@5 displayName: 'Deploy ARM template' inputs: azureSubscription: ${{ parameters.azureSubscription }} diff --git a/pipelines/templates/deploy-function-pr-template.yml b/pipelines/templates/deploy-function-pr-template.yml index f5bd36909..4a2d0df03 100644 --- a/pipelines/templates/deploy-function-pr-template.yml +++ b/pipelines/templates/deploy-function-pr-template.yml @@ -15,7 +15,7 @@ parameters: steps: - checkout: self -- task: AzurePowerShell@4 +- task: AzurePowerShell@5 displayName: 'Deploy Function ARM template' inputs: azureSubscription: 'PROJECT_PORTAL (63b791ae-b2bc-41a1-ac66-806c4e69bffe)' diff --git a/pipelines/templates/deploy-function-template.yml b/pipelines/templates/deploy-function-template.yml index 9cb362ee2..f6d199c19 100644 --- a/pipelines/templates/deploy-function-template.yml +++ b/pipelines/templates/deploy-function-template.yml @@ -9,7 +9,7 @@ parameters: steps: - checkout: self -- task: AzurePowerShell@4 +- task: AzurePowerShell@5 displayName: 'Deploy Function ARM template' inputs: azureSubscription: ${{ parameters.azureSubscription }}