aboutsummaryrefslogtreecommitdiffhomepage
Commit message (Collapse)AuthorAgeFilesLines
* Migrate to dhall 1.26.1 and merge types and termsv2.0-test-clementdpolykindsClement Delafargue2019-10-0211-67/+46
|
* Merge pull request #53 from paulrbr-fl/moar-compatv1.26paulrbr-fl2019-09-062-2/+3
|\ | | | | scripts: use short options instead of long ones
| * ci: fix nix packages due to Travis nix update to 19.09 packagesPaul Bonaud2019-09-061-1/+1
| |
| * 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.
* Merge pull request #51 from paulrbr-fl/clever-deploy-back-to-pollingv1.25paulrbr-fl2019-08-051-1/+1
|\ | | | | clevertools: upgrade to latest stable version as default
| * clevertools: upgrade to latest stable version as defaultPaul Bonaud2019-08-051-1/+1
|/ | | | Upgrade to 1.4.2 as default version installed by the role
* Merge pull request #50 from paulrbr-fl/clever-deploy-back-to-pollingpaulrbr-fl2019-08-012-9/+36
|\ | | | | deploy: add a timeout in the polling waiting script
| * deploy: add a timeout in the polling waiting scriptPaul Bonaud2019-08-012-9/+36
|/
* Merge pull request #49 from paulrbr-fl/clever-deploy-back-to-pollingpaulrbr-fl2019-07-315-77/+124
|\ | | | | deploy: revert back to git push + polling
| * lint(scripts): apply shellcheck suggestions on dhall checking scriptPaul Bonaud2019-07-311-15/+9
| |
| * ci: add shellcheck to lint shell scripts in automatic testsPaul Bonaud2019-07-311-1/+2
| |
| * deploy: revert back to git push + pollingPaul Bonaud2019-07-313-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.24Clément Delafargue2019-07-041-1/+1
|\ | | | | Remove `sshKey` from the vault type
| * Remove `sshKey` from the vault typeClement Delafargue2019-07-041-1/+1
|/ | | | It's not actually used by the role, but by code that uses this role.
* Merge pull request #47 from clementd-fretlink/debugClément Delafargue2019-07-041-1/+1
|\ | | | | Fix `CC_DISABLE_METRICS` computation
| * Fix `CC_DISABLE_METRICS` computationClement Delafargue2019-07-031-1/+1
|/
* Merge pull request #46 from clementd-fretlink/cleanupv1.23Clément Delafargue2019-07-025-7/+9
|\ | | | | update metrics and entrypoint default definitions
| * Clever Cloud metrics are now enabled by defaultClement Delafargue2019-07-025-7/+9
|/
* Merge pull request #45 from clementd-fretlink/new-clever-vaultClément Delafargue2019-07-015-56/+36
|\ | | | | Clean up `dhall` type definitions
| * dhall: remove optional arguments from mkConfigClement Delafargue2019-07-011-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 valuesClement Delafargue2019-07-012-13/+9
| | | | | | | | Instead of `nonifying` them
| * Remove default environment from Dhall configClement Delafargue2019-07-013-53/+42
| |
| * remove org_id from vault type, add sshKey in vaultClement Delafargue2019-07-012-7/+8
|/
* Merge pull request #44 from gaetanfl/fix_shell_pipefailv1.22Gaëtan2019-06-111-0/+1
|\ | | | | use bash with -o pipefail
| * use bash with -o pipefailGaëtan Duchaussois2019-06-111-0/+1
|/
* Merge pull request #42 from ↵v1.21paulrbr-fl2019-05-131-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 failedPaul Bonaud2019-05-131-3/+5
|/
* Merge pull request #41 from paulrbr-fl/dhall-version-upgradev1.20paulrbr-fl2019-04-264-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.0Paul Bonaud2019-04-264-20/+25
|/
* Merge pull request #40 from gaetanfl/fix_ansible_lint_4.1Gaëtan2019-03-051-0/+1
|\ | | | | fix(lint): ansible lint 4.1.0 compatibiliy
| * fix(lint): ansible 4.1.0 compatibiliyGaëtan Duchaussois2019-03-051-0/+1
|/
* Merge pull request #39 from paulrbr-fl/fix-loginv1.19paulrbr-fl2019-02-261-1/+6
|\ | | | | Fix login by removing any existing linked app
| * login: make sure no existing apps are linked to the clever toolsPaul Bonaud2019-02-261-0/+5
| |
| * Revert "login: force the `.clever.json` file to be created"Paul Bonaud2019-02-261-1/+1
|/ | | | This reverts commit 85d1a7838d032ec7dfe858fce5dca3f5535199e4.
* Merge pull request #38 from paulrbr-fl/fix-loginpaulrbr-fl2019-02-261-1/+1
|\ | | | | login: force the `.clever.json` file to be created
| * login: force the `.clever.json` file to be createdPaul Bonaud2019-02-261-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.18Gaëtan2019-02-221-1/+1
|\ | | | | Missing /
| * Missing /Gaëtan Duchaussois2019-02-221-1/+1
|/
* Merge pull request #36 from gaetanfl/fix_typoGaëtan2019-02-221-1/+1
|\ | | | | Fix duplicate version number in url
| * Fix duplicate version number in urlGaëtan Duchaussois2019-02-221-1/+1
|/
* Merge pull request #35 from gaetanfl/use_path_toolGaëtan2019-02-214-7/+24
|\ | | | | use full path for clever helper invocation
| * linitingGaëtan Duchaussois2019-02-214-5/+22
| |
| * use full path for clever helper invocationGaëtan Duchaussois2019-02-211-2/+2
|/
* Merge pull request #34 from paulrbr-fl/domain-casev1.17paulrbr-fl2019-01-311-1/+1
|\ | | | | domain: DNS names are case insensitive
| * domain: DNS names are case insensitivePaul Bonaud2019-01-311-1/+1
|/
* Merge pull request #33 from paulrbr-fl/successful-deploy-up-to-datev1.16paulrbr-fl2019-01-162-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 OKPaul Bonaud2019-01-162-1/+37
|/
* Merge pull request #22 from paulrbr-fl/fix-v1.10v1.15paulrbr-fl2019-01-144-82/+35
|\ | | | | Upgrade clever tools to latest version
| * fix: Fail module takes one argumentPaul Bonaud2019-01-141-1/+2
| |
| * deploy_task: Update clever CLI tools and use it instead of git pushPaul Bonaud2019-01-144-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.