From 8e685f22c6da5ca4a7f9fef47fc2481048d1729d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fabiano=20Fid=C3=AAncio?= Date: Tue, 21 Apr 2026 16:57:49 +0200 Subject: [PATCH] ci: remove orphan run-kata-deploy-tests-on-aks.yaml workflow MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This reusable workflow (workflow_call) has no caller anywhere in the repository, making it dead code. Made-with: Cursor Signed-off-by: Fabiano FidĂȘncio --- .../run-kata-deploy-tests-on-aks.yaml | 121 ------------------ 1 file changed, 121 deletions(-) delete mode 100644 .github/workflows/run-kata-deploy-tests-on-aks.yaml diff --git a/.github/workflows/run-kata-deploy-tests-on-aks.yaml b/.github/workflows/run-kata-deploy-tests-on-aks.yaml deleted file mode 100644 index f8efa3a6f6..0000000000 --- a/.github/workflows/run-kata-deploy-tests-on-aks.yaml +++ /dev/null @@ -1,121 +0,0 @@ -name: CI | Run kata-deploy tests on AKS -on: - workflow_call: - inputs: - registry: - required: true - type: string - repo: - required: true - type: string - tag: - required: true - type: string - pr-number: - required: true - type: string - commit-hash: - required: false - type: string - target-branch: - required: false - type: string - default: "" - secrets: - AZ_APPID: - required: true - AZ_TENANT_ID: - required: true - AZ_SUBSCRIPTION_ID: - required: true - -permissions: {} - -jobs: - run-kata-deploy-tests: - name: run-kata-deploy-tests - strategy: - fail-fast: false - matrix: - host_os: - - ubuntu - vmm: - - clh - - dragonball - - qemu - - qemu-runtime-rs - include: - - host_os: cbl-mariner - vmm: clh - runs-on: ubuntu-22.04 - environment: - name: ci - deployment: false - permissions: - id-token: write # Used for OIDC access to log into Azure - env: - DOCKER_REGISTRY: ${{ inputs.registry }} - DOCKER_REPO: ${{ inputs.repo }} - DOCKER_TAG: ${{ inputs.tag }} - GH_PR_NUMBER: ${{ inputs.pr-number }} - KATA_HOST_OS: ${{ matrix.host_os }} - KATA_HYPERVISOR: ${{ matrix.vmm }} - KUBERNETES: "vanilla" - steps: - - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 - with: - ref: ${{ inputs.commit-hash }} - fetch-depth: 0 - persist-credentials: false - - - name: Rebase atop of the latest target branch - run: | - ./tests/git-helper.sh "rebase-atop-of-the-latest-target-branch" - env: - TARGET_BRANCH: ${{ inputs.target-branch }} - - - name: Log into the Azure account - uses: azure/login@532459ea530d8321f2fb9bb10d1e0bcf23869a43 # v3.0.0 - with: - client-id: ${{ secrets.AZ_APPID }} - tenant-id: ${{ secrets.AZ_TENANT_ID }} - subscription-id: ${{ secrets.AZ_SUBSCRIPTION_ID }} - - - name: Create AKS cluster - uses: nick-fields/retry@ad984534de44a9489a53aefd81eb77f87c70dc60 # v4.0.0 - with: - timeout_minutes: 15 - max_attempts: 20 - retry_on: error - retry_wait_seconds: 10 - command: bash tests/integration/kubernetes/gha-run.sh create-cluster - - - name: Install `bats` - run: bash tests/functional/kata-deploy/gha-run.sh install-bats - - - name: Install `kubectl` - uses: azure/setup-kubectl@15650b3ad78fff148532a140b8a4c821796b2d7b # v5.0.0 - with: - version: 'latest' - - - name: Download credentials for the Kubernetes CLI to use them - run: bash tests/functional/kata-deploy/gha-run.sh get-cluster-credentials - - - name: Run tests - run: bash tests/functional/kata-deploy/gha-run.sh run-tests - - - name: Report tests - if: always() - run: bash tests/integration/kubernetes/gha-run.sh report-tests - - - name: Refresh OIDC token in case access token expired - if: always() - uses: azure/login@532459ea530d8321f2fb9bb10d1e0bcf23869a43 # v3.0.0 - with: - client-id: ${{ secrets.AZ_APPID }} - tenant-id: ${{ secrets.AZ_TENANT_ID }} - subscription-id: ${{ secrets.AZ_SUBSCRIPTION_ID }} - - - name: Delete AKS cluster - if: always() - run: bash tests/functional/kata-deploy/gha-run.sh delete-cluster