Skip to content

Commit

Permalink
fix: Upgrade pwsh version to fix failing pipeline runs - `avm/res/com…
Browse files Browse the repository at this point in the history
…pute/disk` (#2023)

## Description

Upgrade pwsh version to fix failing pipeline runs.
Closes #1801.
Correlates and will conflict with
#2019.

## Pipeline Reference

<!-- Insert your Pipeline Status Badge below -->

| Pipeline |
| -------- |
|
[![avm.res.compute.disk](https://github.com/Azure/bicep-registry-modules/actions/workflows/avm.res.compute.disk.yml/badge.svg?branch=users%2Fsegraef%2F1801)](https://github.com/Azure/bicep-registry-modules/actions/workflows/avm.res.compute.disk.yml)
|

## Type of Change

<!-- Use the check-boxes [x] on the options that are relevant. -->

- [ ] Update to CI Environment or utlities (Non-module effecting
changes)
- [x] Azure Verified Module updates:
- [x] Bugfix containing backwards compatible bug fixes, and I have NOT
bumped the MAJOR or MINOR version in `version.json`:
- [x] Someone has opened a bug report issue, and I have included "Closes
#{bug_report_issue_number}" in the PR description.
- [ ] The bug was found by the module author, and no one has opened an
issue to report it yet.
- [ ] Feature update backwards compatible feature updates, and I have
bumped the MINOR version in `version.json`.
- [ ] Breaking changes and I have bumped the MAJOR version in
`version.json`.
  - [ ] Update to documentation

## Checklist

- [ ] I'm sure there are no other open Pull Requests for the same
update/change
- [ ] I have run `Set-AVMModule` locally to generate the supporting
module files.
- [ ] My corresponding pipelines / checks run clean and green without
any errors or warnings

<!-- Please keep up to day with the contribution guide at
https://aka.ms/avm/contribute/bicep -->

---------

Co-authored-by: ChrisSidebotham-MSFT <[email protected]>
Co-authored-by: Erika Gressi <[email protected]>
  • Loading branch information
3 people authored Jun 1, 2024
1 parent 05bd74e commit 06728e7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions avm/res/compute/disk/main.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
"metadata": {
"_generator": {
"name": "bicep",
"version": "0.26.54.24096",
"templateHash": "13557505070746246600"
"version": "0.27.1.19265",
"templateHash": "12337807933413678436"
},
"name": "Compute Disks",
"description": "This module deploys a Compute Disk",
Expand Down
4 changes: 2 additions & 2 deletions avm/res/compute/disk/tests/e2e/import/dependencies.bicep
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ resource triggerImageDeploymentScript 'Microsoft.Resources/deploymentScripts@202
}
}
properties: {
azPowerShellVersion: '8.0'
azPowerShellVersion: '11.5'
retentionInterval: 'P1D'
arguments: '-ImageTemplateName \\"${imageTemplate.name}\\" -ImageTemplateResourceGroup \\"${resourceGroup().name}\\"'
scriptContent: loadTextContent('../../../../../../utilities/e2e-template-assets/scripts/Start-ImageTemplate.ps1')
Expand All @@ -129,7 +129,7 @@ resource copyVhdDeploymentScript 'Microsoft.Resources/deploymentScripts@2020-10-
}
}
properties: {
azPowerShellVersion: '8.0'
azPowerShellVersion: '11.5'
retentionInterval: 'P1D'
arguments: '-ImageTemplateName \\"${imageTemplate.name}\\" -ImageTemplateResourceGroup \\"${resourceGroup().name}\\" -DestinationStorageAccountName \\"${storageAccount.name}\\" -VhdName \\"${imageTemplateName}\\" -WaitForComplete'
scriptContent: loadTextContent('../../../../../../utilities/e2e-template-assets/scripts/Copy-VhdToStorageAccount.ps1')
Expand Down

0 comments on commit 06728e7

Please sign in to comment.