mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-08-14 06:06:12 +00:00
gha: k8s-on-aks: Fix cluster name
This was missed from the last series, as GHA will use the "target branch" yaml file to start the workflow. Basically we changed the name of the cluster created to stop relying on the PR number, as that's not easily accessible on `workflow_run`. Fixes: #6611 Signed-off-by: Fabiano Fidêncio <fabiano.fidencio@intel.com>
This commit is contained in:
parent
68cb5689f5
commit
85cc5bb534
6
.github/workflows/run-k8s-tests-on-aks.yaml
vendored
6
.github/workflows/run-k8s-tests-on-aks.yaml
vendored
@ -26,7 +26,7 @@ jobs:
|
||||
- qemu
|
||||
uses: ./.github/workflows/create-aks.yaml
|
||||
with:
|
||||
name: ${{ github.event.pull_request.number }}-${{ github.sha }}-${{ matrix.vmm }}-amd64
|
||||
name: ${{ inputs.checkout-ref }}-${{ matrix.vmm }}-amd64
|
||||
secrets: inherit
|
||||
|
||||
run-k8s-tests:
|
||||
@ -62,7 +62,7 @@ jobs:
|
||||
|
||||
- name: Download credentials for the Kubernetes CLI to use them
|
||||
run: |
|
||||
az aks get-credentials -g "kataCI" -n ${{ github.event.pull_request.number }}-${{ github.sha }}-${{ matrix.vmm }}-amd64
|
||||
az aks get-credentials -g "kataCI" -n ${{ inputs.checkout-ref }}-${{ matrix.vmm }}-amd64
|
||||
|
||||
- name: Deploy kata-deploy
|
||||
run: |
|
||||
@ -96,5 +96,5 @@ jobs:
|
||||
if: always()
|
||||
uses: ./.github/workflows/delete-aks.yaml
|
||||
with:
|
||||
name: ${{ github.event.pull_request.number }}-${{ github.sha }}-${{ matrix.vmm }}-amd64
|
||||
name: ${{ inputs.checkout-ref }}-${{ matrix.vmm }}-amd64
|
||||
secrets: inherit
|
||||
|
Loading…
Reference in New Issue
Block a user