Skip to content

Commit

Permalink
Merge pull request #117 from grycap/devel
Browse files Browse the repository at this point in the history
Fix recipe
  • Loading branch information
micafer authored Mar 5, 2024
2 parents ddce320 + 28d5a4e commit 0e6f808
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions artifacts/k8s_galaxy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -95,14 +95,14 @@
pause:
minutes: 3

- name: Delete CreateContainerConfigError pods
- name: Delete Pending stuck pods
command: kubectl delete pods -n {{ NAMESPACE }} --field-selector="status.phase=Pending"
register: error_pods
changed_when: error_pods.stdout_lines | length > 0
changed_when: error_pods.stdout_lines | length > 1
retries: 5
delay: 120
until: error_pods.stdout_lines | length == 0
until: error_pods.stdout_lines | length <= 1

- fail:
msg: "Error waiting for pods to be ready"
when: error_pods.stdout_lines | length > 0
when: error_pods.stdout_lines | length > 1

0 comments on commit 0e6f808

Please sign in to comment.