diff options
author | Paul Bonaud <paul.bonaud@fretlink.com> | 2019-07-30 17:57:55 +0200 |
---|---|---|
committer | Paul Bonaud <paul.bonaud@fretlink.com> | 2019-07-31 14:18:37 +0200 |
commit | fa045db6b7d85f1c5aa53b8fba86958bde4b368b (patch) | |
tree | bd8a49590b380867bd2688800ff772a0ae9b8669 /tasks/setup.yml | |
parent | 8305eb92f5bb6445868fda6d4e3075011d1fd248 (diff) | |
download | ansible-clever-fa045db6b7d85f1c5aa53b8fba86958bde4b368b.tar.gz ansible-clever-fa045db6b7d85f1c5aa53b8fba86958bde4b368b.tar.zst ansible-clever-fa045db6b7d85f1c5aa53b8fba86958bde4b368b.zip |
deploy: revert back to git push + polling
In #19 we removed the polling script to rely on the clever cli's
ability to wait on `clever deploy` command.
After more than 6 months of experimentation it seems the command is
still not reliable (sometimes the command never returns, sometimes it
returns even when the deployment has finished..).
Thus we are reverting back to our manual process of polling `clever
activity` every 5 seconds.
The timeout for this polling is set at the Ansible level (not in the
bash script) and set for 40 minutes. This should give enough time for
any of our applications to deploy.
Diffstat (limited to 'tasks/setup.yml')
-rw-r--r-- | tasks/setup.yml | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tasks/setup.yml b/tasks/setup.yml index 9d1f8aa..c5abb81 100644 --- a/tasks/setup.yml +++ b/tasks/setup.yml | |||
@@ -27,5 +27,6 @@ | |||
27 | dest: "{{ ansible_env.HOME }}/{{ clever_user_path }}/{{ item }}" | 27 | dest: "{{ ansible_env.HOME }}/{{ clever_user_path }}/{{ item }}" |
28 | mode: 0755 | 28 | mode: 0755 |
29 | with_items: | 29 | with_items: |
30 | - clever-wait-deploy.sh | ||
30 | - clever-set-domain.sh | 31 | - clever-set-domain.sh |
31 | - clever-set-drain.sh | 32 | - clever-set-drain.sh |