From eeeb5489620c64560df6524eb581659c81f963d1 Mon Sep 17 00:00:00 2001 From: bg-furiosa Date: Wed, 2 Oct 2024 17:47:32 -0500 Subject: [PATCH] wait until nodes become ready before installing helm chart Signed-off-by: bg-furiosa --- .github/workflows/examine_pr_changes.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/examine_pr_changes.yml b/.github/workflows/examine_pr_changes.yml index 97575db..ce1836b 100644 --- a/.github/workflows/examine_pr_changes.yml +++ b/.github/workflows/examine_pr_changes.yml @@ -37,5 +37,8 @@ jobs: helm repo add nfd https://kubernetes-sigs.github.io/node-feature-discovery/charts - name: helm lint run: ct lint --chart-dirs=charts --target-branch=${{ github.event.repository.default_branch }} --validate-maintainers=false --check-version-increment=false --charts charts/furiosa-device-plugin,charts/furiosa-feature-discovery,charts/furiosa-metrics-exporter + - name: Wait for nodes to be ready + run: | + kubectl wait --for=condition=Ready nodes --all --timeout=300s - name: try install run: ct install --chart-dirs charts --charts charts/furiosa-device-plugin,charts/furiosa-feature-discovery,charts/furiosa-metrics-exporter --namespace kube-system