Skip to content

Commit

Permalink
Merge pull request #122 from redhatci/retry_clone
Browse files Browse the repository at this point in the history
Retry clonning repo
  • Loading branch information
fredericlepied authored Jan 8, 2024
2 parents 7a5fce3 + 9e09660 commit 84b487a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions roles/opcap_tool/tasks/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@
ansible.builtin.git:
repo: "{{ opcap_repo }}"
dest: "{{ opcap_dir.path }}/opcap"
register: git_clone_result
until: git_clone_result is succeeded
retries: 6
delay: 10

- name: "Use Golang container to build opcap"
# Launching a container to build the GO bin Dir where the repo has been
Expand Down

0 comments on commit 84b487a

Please sign in to comment.