Skip to content

Commit

Permalink
Merge pull request #79 from antoine-fl/bump_clever_waiting_time
Browse files Browse the repository at this point in the history
Bump clever waiting time to 1 hour
  • Loading branch information
antoine-fl authored Jun 3, 2021
2 parents e38cc06 + 32a91c1 commit 9acacc7
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions tasks/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,21 +58,21 @@
chdir: "{{ clever_app_root }}"
environment:
CONFIGURATION_FILE: "{{ clever_login_file }}"
async: 2400 # 40 minutes
async: 3600 # 1 hour
poll: 0
ignore_errors: true
register: clever_deploy
tags:
- skip_ansible_lint

- name: Wait up to 40 minutes for deployment completion
- name: Wait up to 1 hour for deployment completion
async_status:
jid: "{{ clever_deploy.ansible_job_id }}"
register: job_result
until: job_result.finished
ignore_errors: true
delay: 30
retries: 80 # 40 minutes (80 * 30 secs delay)
retries: 120 # 1 hour (120 * 30 secs delay)

##################################################################
# Re-deploy only if its the first clever deploy for that project #
Expand Down
6 changes: 3 additions & 3 deletions tasks/redeploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,18 +16,18 @@
chdir: "{{ clever_app_root }}"
environment:
CONFIGURATION_FILE: "{{ clever_login_file }}"
async: 2400 # 40 minutes
async: 3600 # 1 hour
poll: 0
ignore_errors: true
register: clever_deploy
tags:
- skip_ansible_lint

- name: Wait up to 40 minutes for deployment completion
- name: Wait up to 1 hour for deployment completion
async_status:
jid: "{{ clever_deploy.ansible_job_id }}"
register: job_result
until: job_result.finished
ignore_errors: true
delay: 30
retries: 80 # 40 minutes (80 * 30 secs delay)
retries: 120 # 1 hour (120 * 30 secs delay)

0 comments on commit 9acacc7

Please sign in to comment.