mirror of
https://github.com/actions/runner-images.git
synced 2025-12-13 04:37:09 +00:00
Add Packer tool to Ubuntu24.04 image (#10545)
Co-authored-by: Mohammed Junaid <mohammedjunaid@Mohammeds-MacBook-Pro.local>
This commit is contained in:
@@ -140,9 +140,7 @@ if ((Test-IsUbuntu20) -or (Test-IsUbuntu22)) {
|
|||||||
$tools.AddToolVersion("nvm", $(Get-NvmVersion))
|
$tools.AddToolVersion("nvm", $(Get-NvmVersion))
|
||||||
}
|
}
|
||||||
$tools.AddToolVersion("OpenSSL", $(Get-OpensslVersion))
|
$tools.AddToolVersion("OpenSSL", $(Get-OpensslVersion))
|
||||||
if ((Test-IsUbuntu20) -or (Test-IsUbuntu22)) {
|
$tools.AddToolVersion("Packer", $(Get-PackerVersion))
|
||||||
$tools.AddToolVersion("Packer", $(Get-PackerVersion))
|
|
||||||
}
|
|
||||||
$tools.AddToolVersion("Parcel", $(Get-ParcelVersion))
|
$tools.AddToolVersion("Parcel", $(Get-ParcelVersion))
|
||||||
if (Test-IsUbuntu20) {
|
if (Test-IsUbuntu20) {
|
||||||
$tools.AddToolVersion("PhantomJS", $(Get-PhantomJSVersion))
|
$tools.AddToolVersion("PhantomJS", $(Get-PhantomJSVersion))
|
||||||
|
|||||||
@@ -319,7 +319,7 @@ Describe "Conda" {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
Describe "Packer" -Skip:((-not (Test-IsUbuntu20)) -and (-not (Test-IsUbuntu22))) {
|
Describe "Packer" {
|
||||||
It "packer" {
|
It "packer" {
|
||||||
"packer --version" | Should -ReturnZeroExitCode
|
"packer --version" | Should -ReturnZeroExitCode
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -310,6 +310,7 @@ provisioner "shell" {
|
|||||||
"${path.root}/../scripts/build/install-rust.sh",
|
"${path.root}/../scripts/build/install-rust.sh",
|
||||||
"${path.root}/../scripts/build/install-julia.sh",
|
"${path.root}/../scripts/build/install-julia.sh",
|
||||||
"${path.root}/../scripts/build/install-selenium.sh",
|
"${path.root}/../scripts/build/install-selenium.sh",
|
||||||
|
"${path.root}/../scripts/build/install-packer.sh",
|
||||||
"${path.root}/../scripts/build/install-vcpkg.sh",
|
"${path.root}/../scripts/build/install-vcpkg.sh",
|
||||||
"${path.root}/../scripts/build/configure-dpkg.sh",
|
"${path.root}/../scripts/build/configure-dpkg.sh",
|
||||||
"${path.root}/../scripts/build/install-yq.sh",
|
"${path.root}/../scripts/build/install-yq.sh",
|
||||||
|
|||||||
Reference in New Issue
Block a user