aboutsummaryrefslogtreecommitdiffhomepage
path: root/files
Commit message (Collapse)AuthorAgeFilesLines
* Don't run `clever deploy` if the app is up-to-dateClement Delafargue2020-06-301-0/+15
| | | | | | | | | | | Running `git push` when the remote is up-to-date no-ops (it does not trigger a deployment, but it does not fail either). Running `clever deploy` when the remote is up-to-date triggers a failure. Here, we care about the _end result_ (ie the app is deployed on the correct commit), so no-oping is more appropriate. This behaviour is not baked in `clever-tools`, but I think it should. I opened an issue. This script is a temporary workaround. (at least I hope it's temporary) https://github.com/CleverCloud/clever-tools/issues/422
* Add support for scalability configurationClement Delafargue2020-06-221-0/+19
| | | | Closes #52
* core: fix execution mode on shell scriptPaul Bonaud2020-06-191-0/+0
|
* deploy: remove custom polling script now that the CLI does it for usPaul Bonaud2020-06-171-96/+0
| | | | | See recent changes (https://github.com/CleverCloud/clever-tools/pull/415) introduced in 2.5.0+ version of the clever cli tools
* scripts: use short options instead of long onesPaul Bonaud2019-09-061-1/+2
| | | | | | In order to be compatible with more `grep` versions (notably busybox ones which don't have long option names in our new CI environments) we need to use short cli options.
* deploy: add a timeout in the polling waiting scriptPaul Bonaud2019-08-011-7/+23
|
* deploy: revert back to git push + pollingPaul Bonaud2019-07-311-0/+80
| | | | | | | | | | | | | | | | 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.
* domain: DNS names are case insensitivePaul Bonaud2019-01-311-1/+1
|
* deploy_task: Update clever CLI tools and use it instead of git pushPaul Bonaud2019-01-141-54/+0
| | | | | | | | Updating to latest version of 1.1.1 helps to have a stable `clever deploy` command. This commit relies on the output of the command instead of manually pooling the results with `clever activity` command.
* fix(deploy): Yet again a missing chdir to execute from app rootPaul Bonaud2018-11-301-4/+2
|
* Revert "Merge pull request #19 from paulrbr-fl/update-clever-tools"Paul Bonaud2018-11-301-0/+56
| | | | | This reverts commit 695ceaa28821660e17a1cf819cffebe1b5d8c7ca, reversing changes made to 5485dbc4db3e141673457475bcda5fc88057739f.
* avoid hardcoded bash path in scriptsHussein Ait-Lahcen2018-11-222-2/+6
|
* deploy_task: Update clever CLI tools and use it instead of git pushPaul Bonaud2018-11-211-56/+0
| | | | | | | | Updating to latest version of 1.1.1 helps to have a stable `clever deploy` command. This commit relies on the output of the command instead of manually pooling the results with `clever activity` command.
* fix: 😬 really fix the usage of "clever_app_root" when waiting deployPaul Bonaud2018-11-051-1/+7
| | | | | | | Followup after the fix of #15 it was still missing another case of "git" usage. This should be the last fix about this variable 🤞.
* Fix typoFrédéric Menou2018-03-301-1/+1
|
* Migrating single tasks file to a galaxy roleGaëtan Duchaussois2018-02-223-0/+72