Files
runner-images/images/linux/scripts/tests/CLI.Tools.Tests.ps1
Dibir Magomedsaygitov 395127da8f [Ubuntu] Fix Netlify installation, move its and vercel's installation to Nodejs.sh (#2666)
* fix netlify installation

* debug

* resolve comments

* small fix
2021-02-09 18:57:05 +03:00

62 lines
1.2 KiB
PowerShell

Describe "Azure CLI" {
It "Azure CLI" {
"az --version" | Should -ReturnZeroExitCode
}
}
Describe "Azure DevOps CLI" {
It "az devops" {
"az devops -h" | Should -ReturnZeroExitCode
}
}
Describe "Aliyun CLI" {
It "Aliyun CLI" {
"aliyun version" | Should -ReturnZeroExitCode
}
}
Describe "AWS" {
It "AWS CLI" {
"aws --version" | Should -ReturnZeroExitCode
}
It "Session Manager Plugin for the AWS CLI" {
session-manager-plugin | Out-String | Should -Match "plugin was installed successfully"
}
}
Describe "AWS SAM CLI" {
It "AWS SAM CLI" {
"sam --version" | Should -ReturnZeroExitCode
}
}
Describe "GitHub CLI" {
It "gh cli" {
"gh --version" | Should -ReturnZeroExitCode
}
It "hub is installed" {
"hub --version" | Should -ReturnZeroExitCode
}
}
Describe "Google Cloud SDK" {
It "Google Cloud SDK" {
"gcloud --version" | Should -ReturnZeroExitCode
}
}
Describe "OC CLI" {
It "OC CLI" {
"oc version" | Should -ReturnZeroExitCode
}
}
Describe "Oras CLI" {
It "Oras CLI" {
"oras version" | Should -ReturnZeroExitCode
}
}