Skip to content

Commit

Permalink
fix(ci): handle no bitnami pvc in cleanup (#1936)
Browse files Browse the repository at this point in the history
  • Loading branch information
DerekRoberts authored Apr 22, 2024
1 parent aa36708 commit 6919dc6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/scheduled.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ jobs:
if [[ ${UPDATED} < ${BEFORE} ]]; then
echo -e "\nOlder than cutoff: ${r}"
helm uninstall --no-hooks ${r}
oc delete pvc/${r}-bitnami-pg-0
oc delete pvc/${r}-bitnami-pg-0 || true
else
echo -e "\nNewer than cutoff: ${r}"
echo "No need to delete"
Expand Down

0 comments on commit 6919dc6

Please sign in to comment.