fix: tolerate cached Helm repository artifacts
Deploy Cluster / Terraform (push) Successful in 32s
Deploy Cluster / Ansible (push) Failing after 29m36s

This commit is contained in:
2026-04-25 20:44:03 +00:00
parent cdb26904d2
commit 40647318b4
+2 -2
View File
@@ -407,8 +407,8 @@ jobs:
wait_for_resource flux-system "helmrepository.source.toolkit.fluxcd.io/${repo_name}" 600 wait_for_resource flux-system "helmrepository.source.toolkit.fluxcd.io/${repo_name}" 600
if ! kubectl -n flux-system wait --for=condition=Ready "helmrepository/${repo_name}" --timeout="${repo_timeout}"; then if ! kubectl -n flux-system wait --for=condition=Ready "helmrepository/${repo_name}" --timeout="${repo_timeout}"; then
flux_helm_diagnostics "${repo_name}" "${chart_name}" "${release_name}" "${target_namespace}" echo "HelmRepository ${repo_name} is not currently Ready; continuing because a cached artifact may still satisfy HelmChart ${chart_name}" >&2
exit 1 kubectl -n flux-system describe helmrepository "${repo_name}" || true
fi fi
wait_for_resource flux-system "helmchart.source.toolkit.fluxcd.io/${chart_name}" 600 wait_for_resource flux-system "helmchart.source.toolkit.fluxcd.io/${chart_name}" 600