From 059fb33492c7b23afc22950ee663b00b950a6a26 Mon Sep 17 00:00:00 2001 From: Dario Tranchitella Date: Wed, 23 Oct 2024 21:16:28 +0200 Subject: [PATCH] fix(ci): avoid false report of failed workflow Signed-off-by: Dario Tranchitella --- .../workflows/{ => assets}/targetcluster-controlplane.yaml | 0 .github/workflows/{ => assets}/targetcluster-workers.yaml | 0 .github/workflows/e2e.yaml | 4 ++-- 3 files changed, 2 insertions(+), 2 deletions(-) rename .github/workflows/{ => assets}/targetcluster-controlplane.yaml (100%) rename .github/workflows/{ => assets}/targetcluster-workers.yaml (100%) diff --git a/.github/workflows/targetcluster-controlplane.yaml b/.github/workflows/assets/targetcluster-controlplane.yaml similarity index 100% rename from .github/workflows/targetcluster-controlplane.yaml rename to .github/workflows/assets/targetcluster-controlplane.yaml diff --git a/.github/workflows/targetcluster-workers.yaml b/.github/workflows/assets/targetcluster-workers.yaml similarity index 100% rename from .github/workflows/targetcluster-workers.yaml rename to .github/workflows/assets/targetcluster-workers.yaml diff --git a/.github/workflows/e2e.yaml b/.github/workflows/e2e.yaml index ccfa09b..c621088 100644 --- a/.github/workflows/e2e.yaml +++ b/.github/workflows/e2e.yaml @@ -124,11 +124,11 @@ jobs: - name: "Deploy target cluster" run: | - kubectl apply -f .github/workflows/targetcluster-controlplane.yaml + kubectl apply -f .github/workflows/assets/targetcluster-controlplane.yaml kubectl wait cluster capi-quickstart --for=condition=InfrastructureReady --timeout=10m kubectl wait kamajicontrolplane capi-quickstart-kubevirt --for=condition=KamajiControlPlaneIsReady --timeout=10m - kubectl apply -f .github/workflows/targetcluster-workers.yaml + kubectl apply -f .github/workflows/assets/targetcluster-workers.yaml sleep 30 # sleep for 30sec to machine CR to be created