mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-08-24 10:41:43 +00:00
Merge pull request #11637 from kata-containers/sprt/remove-install-az-cli
gha: Remove unnecessary install-azure-cli step
This commit is contained in:
commit
c47bff6d6a
@ -91,9 +91,6 @@ jobs:
|
|||||||
- name: Install kata
|
- name: Install kata
|
||||||
run: bash tests/integration/kubernetes/gha-run.sh install-kata-tools kata-artifacts
|
run: bash tests/integration/kubernetes/gha-run.sh install-kata-tools kata-artifacts
|
||||||
|
|
||||||
- name: Download Azure CLI
|
|
||||||
run: bash tests/integration/kubernetes/gha-run.sh install-azure-cli
|
|
||||||
|
|
||||||
- name: Log into the Azure account
|
- name: Log into the Azure account
|
||||||
uses: azure/login@a457da9ea143d694b1b9c7c869ebb04ebe844ef5 # v2.3.0
|
uses: azure/login@a457da9ea143d694b1b9c7c869ebb04ebe844ef5 # v2.3.0
|
||||||
with:
|
with:
|
||||||
|
3
.github/workflows/run-kata-coco-tests.yaml
vendored
3
.github/workflows/run-kata-coco-tests.yaml
vendored
@ -268,9 +268,6 @@ jobs:
|
|||||||
- name: Install kata
|
- name: Install kata
|
||||||
run: bash tests/integration/kubernetes/gha-run.sh install-kata-tools kata-artifacts
|
run: bash tests/integration/kubernetes/gha-run.sh install-kata-tools kata-artifacts
|
||||||
|
|
||||||
- name: Download Azure CLI
|
|
||||||
run: bash tests/integration/kubernetes/gha-run.sh install-azure-cli
|
|
||||||
|
|
||||||
- name: Log into the Azure account
|
- name: Log into the Azure account
|
||||||
uses: azure/login@a457da9ea143d694b1b9c7c869ebb04ebe844ef5 # v2.3.0
|
uses: azure/login@a457da9ea143d694b1b9c7c869ebb04ebe844ef5 # v2.3.0
|
||||||
with:
|
with:
|
||||||
|
@ -72,9 +72,6 @@ jobs:
|
|||||||
env:
|
env:
|
||||||
TARGET_BRANCH: ${{ inputs.target-branch }}
|
TARGET_BRANCH: ${{ inputs.target-branch }}
|
||||||
|
|
||||||
- name: Download Azure CLI
|
|
||||||
run: bash tests/functional/kata-deploy/gha-run.sh install-azure-cli
|
|
||||||
|
|
||||||
- name: Log into the Azure account
|
- name: Log into the Azure account
|
||||||
uses: azure/login@a457da9ea143d694b1b9c7c869ebb04ebe844ef5 # v2.3.0
|
uses: azure/login@a457da9ea143d694b1b9c7c869ebb04ebe844ef5 # v2.3.0
|
||||||
with:
|
with:
|
||||||
|
@ -53,7 +53,6 @@ function main() {
|
|||||||
action="${1:-}"
|
action="${1:-}"
|
||||||
|
|
||||||
case "${action}" in
|
case "${action}" in
|
||||||
install-azure-cli) install_azure_cli ;;
|
|
||||||
create-cluster) create_cluster "kata-deploy" ;;
|
create-cluster) create_cluster "kata-deploy" ;;
|
||||||
deploy-k8s) deploy_k8s ;;
|
deploy-k8s) deploy_k8s ;;
|
||||||
install-bats) install_bats ;;
|
install-bats) install_bats ;;
|
||||||
|
@ -86,11 +86,6 @@ function enable_cluster_approuting() {
|
|||||||
az aks approuting enable -g "${rg}" -n "${cluster_name}"
|
az aks approuting enable -g "${rg}" -n "${cluster_name}"
|
||||||
}
|
}
|
||||||
|
|
||||||
function install_azure_cli() {
|
|
||||||
curl -sL https://aka.ms/InstallAzureCLIDeb | sudo bash
|
|
||||||
az extension add --name aks-preview
|
|
||||||
}
|
|
||||||
|
|
||||||
function create_cluster() {
|
function create_cluster() {
|
||||||
test_type="${1:-k8s}"
|
test_type="${1:-k8s}"
|
||||||
local short_sha
|
local short_sha
|
||||||
@ -114,6 +109,9 @@ function create_cluster() {
|
|||||||
-l eastus \
|
-l eastus \
|
||||||
-n "${rg}"
|
-n "${rg}"
|
||||||
|
|
||||||
|
# Required by e.g. AKS App Routing for KBS installation.
|
||||||
|
az extension add --name aks-preview
|
||||||
|
|
||||||
# Adding a double quote on the last line ends up causing issues
|
# Adding a double quote on the last line ends up causing issues
|
||||||
# ine the cbl-mariner installation. Because of that, let's just
|
# ine the cbl-mariner installation. Because of that, let's just
|
||||||
# disable the warning for this specific case.
|
# disable the warning for this specific case.
|
||||||
|
@ -566,7 +566,6 @@ function main() {
|
|||||||
action="${1:-}"
|
action="${1:-}"
|
||||||
|
|
||||||
case "${action}" in
|
case "${action}" in
|
||||||
install-azure-cli) install_azure_cli ;;
|
|
||||||
create-cluster) create_cluster "" ;;
|
create-cluster) create_cluster "" ;;
|
||||||
create-cluster-kcli) create_cluster_kcli ;;
|
create-cluster-kcli) create_cluster_kcli ;;
|
||||||
configure-snapshotter) configure_snapshotter ;;
|
configure-snapshotter) configure_snapshotter ;;
|
||||||
|
@ -28,7 +28,6 @@ function run_tests() {
|
|||||||
function main() {
|
function main() {
|
||||||
action="${1:-}"
|
action="${1:-}"
|
||||||
case "${action}" in
|
case "${action}" in
|
||||||
install-azure-cli) install_azure_cli ;;
|
|
||||||
create-cluster) create_cluster ;;
|
create-cluster) create_cluster ;;
|
||||||
install-bats) install_bats ;;
|
install-bats) install_bats ;;
|
||||||
install-kata-tools) install_kata_tools ;;
|
install-kata-tools) install_kata_tools ;;
|
||||||
|
Loading…
Reference in New Issue
Block a user