Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Merge pull request #50 from paulrbr-fl/clever-deploy-back-to-polling | paulrbr-fl | 2019-08-01 | 2 | -9/+36 |
|\ | | | | | deploy: add a timeout in the polling waiting script | ||||
| * | deploy: add a timeout in the polling waiting script | Paul Bonaud | 2019-08-01 | 2 | -9/+36 |
|/ | |||||
* | Merge pull request #49 from paulrbr-fl/clever-deploy-back-to-polling | paulrbr-fl | 2019-07-31 | 5 | -77/+124 |
|\ | | | | | deploy: revert back to git push + polling | ||||
| * | lint(scripts): apply shellcheck suggestions on dhall checking script | Paul Bonaud | 2019-07-31 | 1 | -15/+9 |
| | | |||||
| * | ci: add shellcheck to lint shell scripts in automatic tests | Paul Bonaud | 2019-07-31 | 1 | -1/+2 |
| | | |||||
| * | deploy: revert back to git push + polling | Paul Bonaud | 2019-07-31 | 3 | -61/+113 |
|/ | | | | | | | | | | | | | | | | 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. | ||||
* | Merge pull request #48 from clementd-fretlink/remove-ssh-keyv1.24 | Clément Delafargue | 2019-07-04 | 1 | -1/+1 |
|\ | | | | | Remove `sshKey` from the vault type | ||||
| * | Remove `sshKey` from the vault type | Clement Delafargue | 2019-07-04 | 1 | -1/+1 |
|/ | | | | It's not actually used by the role, but by code that uses this role. | ||||
* | Merge pull request #47 from clementd-fretlink/debug | Clément Delafargue | 2019-07-04 | 1 | -1/+1 |
|\ | | | | | Fix `CC_DISABLE_METRICS` computation | ||||
| * | Fix `CC_DISABLE_METRICS` computation | Clement Delafargue | 2019-07-03 | 1 | -1/+1 |
|/ | |||||
* | Merge pull request #46 from clementd-fretlink/cleanupv1.23 | Clément Delafargue | 2019-07-02 | 5 | -7/+9 |
|\ | | | | | update metrics and entrypoint default definitions | ||||
| * | Clever Cloud metrics are now enabled by default | Clement Delafargue | 2019-07-02 | 5 | -7/+9 |
|/ | |||||
* | Merge pull request #45 from clementd-fretlink/new-clever-vault | Clément Delafargue | 2019-07-01 | 5 | -56/+36 |
|\ | | | | | Clean up `dhall` type definitions | ||||
| * | dhall: remove optional arguments from mkConfig | Clement Delafargue | 2019-07-01 | 1 | -12/+6 |
| | | | | | | | | | | | | It was just constructing a record without adding any information. Now it constructs a record from its mandatory parts. The caller can then override fields as they please. | ||||
| * | dhall: expose optional fields as optional values | Clement Delafargue | 2019-07-01 | 2 | -13/+9 |
| | | | | | | | | Instead of `nonifying` them | ||||
| * | Remove default environment from Dhall config | Clement Delafargue | 2019-07-01 | 3 | -53/+42 |
| | | |||||
| * | remove org_id from vault type, add sshKey in vault | Clement Delafargue | 2019-07-01 | 2 | -7/+8 |
|/ | |||||
* | Merge pull request #44 from gaetanfl/fix_shell_pipefailv1.22 | Gaëtan | 2019-06-11 | 1 | -0/+1 |
|\ | | | | | use bash with -o pipefail | ||||
| * | use bash with -o pipefail | Gaëtan Duchaussois | 2019-06-11 | 1 | -0/+1 |
|/ | |||||
* | Merge pull request #42 from ↵v1.21 | paulrbr-fl | 2019-05-13 | 1 | -3/+5 |
|\ | | | | | | | | | paulrbr-fl/deploy-errors-on-application-is-up-to-date fix(deploy): fail the task correctly when last deploymt failed | ||||
| * | fix(deploy): fail the task correctly when last deploymt failed | Paul Bonaud | 2019-05-13 | 1 | -3/+5 |
|/ | |||||
* | Merge pull request #41 from paulrbr-fl/dhall-version-upgradev1.20 | paulrbr-fl | 2019-04-26 | 4 | -20/+25 |
|\ | | | | | dhall(upgrade): upgrade code to be compatible with dhall 1.21.0 | ||||
| * | dhall(upgrade): upgrade code to be compatible with dhall 1.21.0 | Paul Bonaud | 2019-04-26 | 4 | -20/+25 |
|/ | |||||
* | Merge pull request #40 from gaetanfl/fix_ansible_lint_4.1 | Gaëtan | 2019-03-05 | 1 | -0/+1 |
|\ | | | | | fix(lint): ansible lint 4.1.0 compatibiliy | ||||
| * | fix(lint): ansible 4.1.0 compatibiliy | Gaëtan Duchaussois | 2019-03-05 | 1 | -0/+1 |
|/ | |||||
* | Merge pull request #39 from paulrbr-fl/fix-loginv1.19 | paulrbr-fl | 2019-02-26 | 1 | -1/+6 |
|\ | | | | | Fix login by removing any existing linked app | ||||
| * | login: make sure no existing apps are linked to the clever tools | Paul Bonaud | 2019-02-26 | 1 | -0/+5 |
| | | |||||
| * | Revert "login: force the `.clever.json` file to be created" | Paul Bonaud | 2019-02-26 | 1 | -1/+1 |
|/ | | | | This reverts commit 85d1a7838d032ec7dfe858fce5dca3f5535199e4. | ||||
* | Merge pull request #38 from paulrbr-fl/fix-login | paulrbr-fl | 2019-02-26 | 1 | -1/+1 |
|\ | | | | | login: force the `.clever.json` file to be created | ||||
| * | login: force the `.clever.json` file to be created | Paul Bonaud | 2019-02-26 | 1 | -1/+1 |
|/ | | | | | | | | In case a project already has a `.clever.json` file (for debugging purpose to communicate with dev environment for instance) this step was never done because of the `creates:`. Removing it forces the role to always create a new clever.json file. | ||||
* | Merge pull request #37 from gaetanfl/fix_pathv1.18 | Gaëtan | 2019-02-22 | 1 | -1/+1 |
|\ | | | | | Missing / | ||||
| * | Missing / | Gaëtan Duchaussois | 2019-02-22 | 1 | -1/+1 |
|/ | |||||
* | Merge pull request #36 from gaetanfl/fix_typo | Gaëtan | 2019-02-22 | 1 | -1/+1 |
|\ | | | | | Fix duplicate version number in url | ||||
| * | Fix duplicate version number in url | Gaëtan Duchaussois | 2019-02-22 | 1 | -1/+1 |
|/ | |||||
* | Merge pull request #35 from gaetanfl/use_path_tool | Gaëtan | 2019-02-21 | 4 | -7/+24 |
|\ | | | | | use full path for clever helper invocation | ||||
| * | liniting | Gaëtan Duchaussois | 2019-02-21 | 4 | -5/+22 |
| | | |||||
| * | use full path for clever helper invocation | Gaëtan Duchaussois | 2019-02-21 | 1 | -2/+2 |
|/ | |||||
* | Merge pull request #34 from paulrbr-fl/domain-casev1.17 | paulrbr-fl | 2019-01-31 | 1 | -1/+1 |
|\ | | | | | domain: DNS names are case insensitive | ||||
| * | domain: DNS names are case insensitive | Paul Bonaud | 2019-01-31 | 1 | -1/+1 |
|/ | |||||
* | Merge pull request #33 from paulrbr-fl/successful-deploy-up-to-datev1.16 | paulrbr-fl | 2019-01-16 | 2 | -1/+37 |
|\ | | | | | deploy: check "up-to-date" error to succeeded if last commit is OK | ||||
| * | deploy: check "up-to-date" error to succeeded if last commit is OK | Paul Bonaud | 2019-01-16 | 2 | -1/+37 |
|/ | |||||
* | Merge pull request #22 from paulrbr-fl/fix-v1.10v1.15 | paulrbr-fl | 2019-01-14 | 4 | -82/+35 |
|\ | | | | | Upgrade clever tools to latest version | ||||
| * | fix: Fail module takes one argument | Paul Bonaud | 2019-01-14 | 1 | -1/+2 |
| | | |||||
| * | deploy_task: Update clever CLI tools and use it instead of git push | Paul Bonaud | 2019-01-14 | 4 | -82/+34 |
|/ | | | | | | | | 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. | ||||
* | Merge pull request #32 from clementd-fretlink/quote-envv1.14 | paulrbr-fl | 2019-01-07 | 1 | -1/+1 |
|\ | | | | | fix(deploy): properly quote variables in environment files | ||||
| * | fix(deploy): properly quote variables in environment files | Clement Delafargue | 2019-01-07 | 1 | -1/+1 |
|/ | | | | adding exports in the env file also quotes the variable values | ||||
* | tags: add clever-env tag to post-deploy tasks | Paul Bonaud | 2019-01-06 | 1 | -4/+5 |
| | |||||
* | Merge pull request #31 from paulrbr-fl/fix-tags | paulrbr-fl | 2019-01-06 | 1 | -8/+5 |
|\ | | | | | fix: statically include sub tasks for 'tags' to work | ||||
| * | fix: statically include sub tasks for 'tags' to work | Paul Bonaud | 2019-01-04 | 1 | -8/+5 |
|/ | | | | | | | | | | | In ansible the `include_tasks` loads the tasks dynamically. Thus it does not apply the tag specified at the include level to all sub tasks. In order to make sure all included tasks inherit the specified `tags:` we need to include the tasks files "statically". It is very similar to cases where we have a `when:` condition that we want to apply to all included subtasks. cf https://docs.ansible.com/ansible/latest/user_guide/playbooks_conditionals.html#applying-when-to-roles-imports-and-includes | ||||
* | Merge pull request #30 from paulrbr-fl/rename-entry-point | paulrbr-fl | 2018-12-27 | 5 | -44/+47 |
|\ | | | | | app: rename `clever_entry_point`. It's only used by Haskell apps |