mirror of
https://github.com/actions/runner-images.git
synced 2025-12-11 03:27:05 +00:00
Ubuntu 20 Deprecation changes (#11748)
* Ubuntu 20 Deprecation updates * Updating .md files * Update announcement.yml * Update bug-report.yml * Update tool-request.yml * Updating merge conflicts * Updating .md files * Updating merge conflicts * Resolved merge conflicts --------- Co-authored-by: Prabhat kumar <prabhatkumar59@Prabhats-Laptop.local>
This commit is contained in:
@@ -42,7 +42,7 @@ Describe "Rust" {
|
||||
"cargo --version" | Should -ReturnZeroExitCode
|
||||
}
|
||||
|
||||
Context "Cargo dependencies" -Skip:((-not (Test-IsUbuntu20)) -and (-not (Test-IsUbuntu22))) {
|
||||
Context "Cargo dependencies" -Skip:((-not (Test-IsUbuntu22))) {
|
||||
It "bindgen" {
|
||||
"bindgen --version" | Should -ReturnZeroExitCode
|
||||
}
|
||||
@@ -154,14 +154,6 @@ Describe "Cmake" {
|
||||
}
|
||||
}
|
||||
|
||||
Describe "erlang" -Skip:(-not (Test-IsUbuntu20)) {
|
||||
$testCases = @("erl -version", "erlc -v", "rebar3 -v") | ForEach-Object { @{ErlangCommand = $_} }
|
||||
|
||||
It "erlang <ErlangCommand>" -TestCases $testCases {
|
||||
"$ErlangCommand" | Should -ReturnZeroExitCode
|
||||
}
|
||||
}
|
||||
|
||||
Describe "gcc" {
|
||||
$testCases = (Get-ToolsetContent).gcc.Versions | ForEach-Object { @{GccVersion = $_} }
|
||||
|
||||
@@ -192,25 +184,25 @@ Describe "Mono" -Skip:(Test-IsUbuntu24) {
|
||||
}
|
||||
}
|
||||
|
||||
Describe "MSSQLCommandLineTools" -Skip:((-not (Test-IsUbuntu20)) -and (-not (Test-IsUbuntu22))) {
|
||||
Describe "MSSQLCommandLineTools" -Skip:((-not (Test-IsUbuntu22))) {
|
||||
It "sqlcmd" {
|
||||
"sqlcmd -?" | Should -ReturnZeroExitCode
|
||||
}
|
||||
}
|
||||
|
||||
Describe "SqlPackage" -Skip:((-not (Test-IsUbuntu20)) -and (-not (Test-IsUbuntu22))) {
|
||||
Describe "SqlPackage" -Skip:((-not (Test-IsUbuntu22))) {
|
||||
It "sqlpackage" {
|
||||
"sqlpackage /version" | Should -ReturnZeroExitCode
|
||||
}
|
||||
}
|
||||
|
||||
Describe "R" -Skip:((-not (Test-IsUbuntu20)) -and (-not (Test-IsUbuntu22))) {
|
||||
Describe "R" -Skip:((-not (Test-IsUbuntu22))) {
|
||||
It "r" {
|
||||
"R --version" | Should -ReturnZeroExitCode
|
||||
}
|
||||
}
|
||||
|
||||
Describe "Sbt" -Skip:((-not (Test-IsUbuntu20)) -and (-not (Test-IsUbuntu22))) {
|
||||
Describe "Sbt" -Skip:((-not (Test-IsUbuntu22))) {
|
||||
It "sbt" {
|
||||
"sbt --version" | Should -ReturnZeroExitCode
|
||||
}
|
||||
@@ -223,7 +215,7 @@ Describe "Selenium" {
|
||||
}
|
||||
}
|
||||
|
||||
Describe "Terraform" -Skip:((-not (Test-IsUbuntu20)) -and (-not (Test-IsUbuntu22))) {
|
||||
Describe "Terraform" -Skip:((-not (Test-IsUbuntu22))) {
|
||||
It "terraform" {
|
||||
"terraform --version" | Should -ReturnZeroExitCode
|
||||
}
|
||||
@@ -261,18 +253,12 @@ Describe "Git-lfs" {
|
||||
}
|
||||
}
|
||||
|
||||
Describe "Heroku" -Skip:((-not (Test-IsUbuntu20)) -and (-not (Test-IsUbuntu22))) {
|
||||
Describe "Heroku" -Skip:((-not (Test-IsUbuntu22))) {
|
||||
It "heroku" {
|
||||
"heroku --version" | Should -ReturnZeroExitCode
|
||||
}
|
||||
}
|
||||
|
||||
Describe "HHVM" -Skip:(-not (Test-IsUbuntu20)) {
|
||||
It "hhvm" {
|
||||
"hhvm --version" | Should -ReturnZeroExitCode
|
||||
}
|
||||
}
|
||||
|
||||
Describe "Homebrew" {
|
||||
It "homebrew" {
|
||||
"/home/linuxbrew/.linuxbrew/bin/brew --version" | Should -ReturnZeroExitCode
|
||||
@@ -307,7 +293,7 @@ Describe "Kubernetes tools" {
|
||||
}
|
||||
}
|
||||
|
||||
Describe "Leiningen" -Skip:((-not (Test-IsUbuntu20)) -and (-not (Test-IsUbuntu22))) {
|
||||
Describe "Leiningen" -Skip:((-not (Test-IsUbuntu22))) {
|
||||
It "leiningen" {
|
||||
"lein --version" | Should -ReturnZeroExitCode
|
||||
}
|
||||
@@ -331,13 +317,6 @@ Describe "Pulumi" {
|
||||
}
|
||||
}
|
||||
|
||||
Describe "Phantomjs" -Skip:(-not (Test-IsUbuntu20)) {
|
||||
It "phantomjs" {
|
||||
$env:OPENSSL_CONF="/etc/ssl"
|
||||
"phantomjs --version" | Should -ReturnZeroExitCode
|
||||
}
|
||||
}
|
||||
|
||||
Describe "Containers" {
|
||||
$testCases = @("podman", "buildah", "skopeo") | ForEach-Object { @{ContainerCommand = $_} }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user