mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-06-25 06:52:13 +00:00
ci: k8s: Move gha-run.sh to the kubernetes dir
The file belongs there, as it's only used for k8s related tests. Fixes: #7373 Signed-off-by: Fabiano Fidêncio <fabiano.fidencio@intel.com>
This commit is contained in:
parent
88eaff5330
commit
2ee2cd307b
16
.github/workflows/run-k8s-tests-on-aks.yaml
vendored
16
.github/workflows/run-k8s-tests-on-aks.yaml
vendored
@ -46,31 +46,31 @@ jobs:
|
|||||||
ref: ${{ inputs.commit-hash }}
|
ref: ${{ inputs.commit-hash }}
|
||||||
|
|
||||||
- name: Download Azure CLI
|
- name: Download Azure CLI
|
||||||
run: bash tests/integration/gha-run.sh install-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
|
||||||
run: bash tests/integration/gha-run.sh login-azure
|
run: bash tests/integration/kubernetes/gha-run.sh login-azure
|
||||||
env:
|
env:
|
||||||
AZ_APPID: ${{ secrets.AZ_APPID }}
|
AZ_APPID: ${{ secrets.AZ_APPID }}
|
||||||
AZ_PASSWORD: ${{ secrets.AZ_PASSWORD }}
|
AZ_PASSWORD: ${{ secrets.AZ_PASSWORD }}
|
||||||
AZ_TENANT_ID: ${{ secrets.AZ_TENANT_ID }}
|
AZ_TENANT_ID: ${{ secrets.AZ_TENANT_ID }}
|
||||||
|
|
||||||
- name: Create AKS cluster
|
- name: Create AKS cluster
|
||||||
run: bash tests/integration/gha-run.sh create-cluster
|
run: bash tests/integration/kubernetes/gha-run.sh create-cluster
|
||||||
|
|
||||||
- name: Install `bats`
|
- name: Install `bats`
|
||||||
run: bash tests/integration/gha-run.sh install-bats
|
run: bash tests/integration/kubernetes/gha-run.sh install-bats
|
||||||
|
|
||||||
- name: Install `kubectl`
|
- name: Install `kubectl`
|
||||||
run: bash tests/integration/gha-run.sh install-kubectl
|
run: bash tests/integration/kubernetes/gha-run.sh install-kubectl
|
||||||
|
|
||||||
- name: Download credentials for the Kubernetes CLI to use them
|
- name: Download credentials for the Kubernetes CLI to use them
|
||||||
run: bash tests/integration/gha-run.sh get-cluster-credentials
|
run: bash tests/integration/kubernetes/gha-run.sh get-cluster-credentials
|
||||||
|
|
||||||
- name: Run tests
|
- name: Run tests
|
||||||
timeout-minutes: 60
|
timeout-minutes: 60
|
||||||
run: bash tests/integration/gha-run.sh run-tests-aks
|
run: bash tests/integration/kubernetes/gha-run.sh run-tests-aks
|
||||||
|
|
||||||
- name: Delete AKS cluster
|
- name: Delete AKS cluster
|
||||||
if: always()
|
if: always()
|
||||||
run: bash tests/integration/gha-run.sh delete-cluster
|
run: bash tests/integration/kubernetes/gha-run.sh delete-cluster
|
||||||
|
4
.github/workflows/run-k8s-tests-on-sev.yaml
vendored
4
.github/workflows/run-k8s-tests-on-sev.yaml
vendored
@ -36,8 +36,8 @@ jobs:
|
|||||||
|
|
||||||
- name: Run tests
|
- name: Run tests
|
||||||
timeout-minutes: 30
|
timeout-minutes: 30
|
||||||
run: bash tests/integration/gha-run.sh run-tests-sev
|
run: bash tests/integration/kubernetes/gha-run.sh run-tests-sev
|
||||||
|
|
||||||
- name: Delete kata-deploy
|
- name: Delete kata-deploy
|
||||||
if: always()
|
if: always()
|
||||||
run: bash tests/integration/gha-run.sh cleanup-sev
|
run: bash tests/integration/kubernetes/gha-run.sh cleanup-sev
|
||||||
|
4
.github/workflows/run-k8s-tests-on-snp.yaml
vendored
4
.github/workflows/run-k8s-tests-on-snp.yaml
vendored
@ -36,8 +36,8 @@ jobs:
|
|||||||
|
|
||||||
- name: Run tests
|
- name: Run tests
|
||||||
timeout-minutes: 30
|
timeout-minutes: 30
|
||||||
run: bash tests/integration/gha-run.sh run-tests-snp
|
run: bash tests/integration/kubernetes/gha-run.sh run-tests-snp
|
||||||
|
|
||||||
- name: Delete kata-deploy
|
- name: Delete kata-deploy
|
||||||
if: always()
|
if: always()
|
||||||
run: bash tests/integration/gha-run.sh cleanup-snp
|
run: bash tests/integration/kubernetes/gha-run.sh cleanup-snp
|
||||||
|
4
.github/workflows/run-k8s-tests-on-tdx.yaml
vendored
4
.github/workflows/run-k8s-tests-on-tdx.yaml
vendored
@ -35,8 +35,8 @@ jobs:
|
|||||||
|
|
||||||
- name: Run tests
|
- name: Run tests
|
||||||
timeout-minutes: 30
|
timeout-minutes: 30
|
||||||
run: bash tests/integration/gha-run.sh run-tests-tdx
|
run: bash tests/integration/kubernetes/gha-run.sh run-tests-tdx
|
||||||
|
|
||||||
- name: Delete kata-deploy
|
- name: Delete kata-deploy
|
||||||
if: always()
|
if: always()
|
||||||
run: bash tests/integration/gha-run.sh cleanup-tdx
|
run: bash tests/integration/kubernetes/gha-run.sh cleanup-tdx
|
||||||
|
Loading…
Reference in New Issue
Block a user