Compare commits
2 Commits
5b0a8fc7df
...
51f6a7c7bd
Author | SHA1 | Date | |
---|---|---|---|
51f6a7c7bd | |||
248ac46d5f |
@@ -13,13 +13,16 @@ volumes:
|
||||
steps:
|
||||
- name: Debugging information
|
||||
image: bv11-cr01.bessems.eu/library/packer-extended
|
||||
pull: always
|
||||
commands:
|
||||
- yamllint --version
|
||||
- packer --version
|
||||
- pwsh --version
|
||||
- qemu-img --version
|
||||
- ovftool --version
|
||||
- pwsh --version
|
||||
- name: Windows Server 2019
|
||||
image: bv11-cr01.bessems.eu/library/packer-extended
|
||||
pull: always
|
||||
commands:
|
||||
- sed -i -e "s/<<img-productkey>>/$${PRODUCTKEY}/" packer/preseed/Server2019/Autounattend.xml
|
||||
- |
|
||||
@@ -69,6 +72,7 @@ steps:
|
||||
path: /scratch
|
||||
- name: Remove temporary resources
|
||||
image: bv11-cr01.bessems.eu/library/packer-extended
|
||||
pull: always
|
||||
commands:
|
||||
- |
|
||||
pwsh -file scripts/Remove-Resources.ps1 \
|
||||
|
@@ -8,7 +8,7 @@ $InvokeRestMethodSplat = @{
|
||||
Method = 'GET'
|
||||
}
|
||||
$InvokeWebRequestSplat = @{
|
||||
Uri = ((Invoke-RestMethod @InvokeRestMethodSplat).assets | Where-Object ${_.name -like '*.appxbundle'}).browser_download_url
|
||||
Uri = ((Invoke-RestMethod @InvokeRestMethodSplat).assets | Where-Object {$_.name -like '*.appxbundle'}).browser_download_url
|
||||
Out = "$env:temp\winget.appxbundle"
|
||||
}
|
||||
Invoke-WebRequest @InvokeWebRequestSplat
|
||||
|
Reference in New Issue
Block a user