mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-04-29 04:04:45 +00:00
Revert "gha: k8s-on-aks: Fix cluster name"
This reverts commit 85cc5bb534
.
Unfortunately we have to revert the PRs related to the switch done to
using `workflow_run` instead of `pull_request_target`. The reason for
that being that we can only mark jobs as required if they are targetting
PRs.
Signed-off-by: Fabiano Fidêncio <fabiano.fidencio@intel.com>
This commit is contained in:
parent
13d857a56d
commit
5d4d720647
6
.github/workflows/run-k8s-tests-on-aks.yaml
vendored
6
.github/workflows/run-k8s-tests-on-aks.yaml
vendored
@ -30,7 +30,7 @@ jobs:
|
||||
- name: Create AKS cluster to test ${{ matrix.vmm }}
|
||||
uses: ./.github/workflows-create-aks.yaml
|
||||
with:
|
||||
name: ${{ inputs.checkout-ref }}-${{ matrix.vmm }}-amd64
|
||||
name: ${{ github.event.pull_request.number }}-${{ github.event.pull_request.head.sha }}-${{ matrix.vmm }}-amd64
|
||||
|
||||
- uses: actions/checkout@v3
|
||||
with:
|
||||
@ -54,7 +54,7 @@ jobs:
|
||||
|
||||
- name: Download credentials for the Kubernetes CLI to use them
|
||||
run: |
|
||||
az aks get-credentials -g "kataCI" -n ${{ inputs.checkout-ref }}-${{ matrix.vmm }}-amd64
|
||||
az aks get-credentials -g "kataCI" -n ${{ github.event.pull_request.number }}-${{ github.event.pull_request.head.sha }}-${{ matrix.vmm }}-amd64
|
||||
|
||||
- name: Deploy kata-deploy
|
||||
run: |
|
||||
@ -81,4 +81,4 @@ jobs:
|
||||
if: always()
|
||||
uses: ./.github/workflows/delete-aks.yaml
|
||||
with:
|
||||
name: ${{ inputs.checkout-ref }}-${{ matrix.vmm }}-amd64
|
||||
name: ${{ github.event.pull_request.number }}-${{ github.event.pull_request.head.sha }}-${{ matrix.vmm }}-amd64
|
||||
|
Loading…
Reference in New Issue
Block a user