aboutsummaryrefslogtreecommitdiffhomepage
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* Merge pull request #32 from clementd-fretlink/quote-envv1.14paulrbr-fl2019-01-071-1/+1
|\ | | | | fix(deploy): properly quote variables in environment files
| * fix(deploy): properly quote variables in environment filesClement Delafargue2019-01-071-1/+1
|/ | | | adding exports in the env file also quotes the variable values
* tags: add clever-env tag to post-deploy tasksPaul Bonaud2019-01-061-4/+5
|
* Merge pull request #31 from paulrbr-fl/fix-tagspaulrbr-fl2019-01-061-8/+5
|\ | | | | fix: statically include sub tasks for 'tags' to work
| * fix: statically include sub tasks for 'tags' to workPaul Bonaud2019-01-041-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-pointpaulrbr-fl2018-12-275-44/+47
|\ | | | | app: rename `clever_entry_point`. It's only used by Haskell apps
| * app: rename `clever_entry_point`. It's only used by Haskell appsPaul Bonaud2018-12-275-44/+47
|/
* Merge pull request #29 from paulrbr-fl/missing-chdirv1.13paulrbr-fl2018-12-061-0/+2
|\ | | | | fix: Yet again a missing chdir for "clever" command
| * fix: Yet again a missing chdir for "clever" commandPaul Bonaud2018-12-061-0/+2
|/ | | | This is a followup of #26
* Merge pull request #28 from paulrbr-fl/fix-post-deploypaulrbr-fl2018-11-301-0/+6
|\ | | | | Fix: post depoy tasks were not launched. This fixes it.
| * Fix: post depoy tasks were not launched. This fixes it.Paul Bonaud2018-11-301-0/+6
|/
* Merge pull request #27 from paulrbr-fl/chdir-all-the-thingspaulrbr-fl2018-11-302-5/+5
|\ | | | | fix(deploy): Yet again a missing chdir to execute from app root
| * fix(deploy): Yet again a missing chdir to execute from app rootPaul Bonaud2018-11-302-5/+5
|/
* Merge pull request #26 from paulrbr-fl/chdir-all-the-thingspaulrbr-fl2018-11-302-0/+7
|\ | | | | fix(deploy): Make sure to execute clever commands in app_root dir
| * fix(deploy): Make sure to execute clever commands in app_root dirPaul Bonaud2018-11-302-0/+7
|/
* Merge pull request #25 from paulrbr-fl/feat-get-envpaulrbr-fl2018-11-302-0/+10
|\ | | | | feat(post_deploy): Add a post deploy task to fetch deployed env
| * feat(post_deploy): Add a post deploy task to fetch deployed envPaul Bonaud2018-11-302-0/+10
|/ | | | | | | | In some cases you might need to retrieve the ENV which is currently in use by your clever application recently deployed. If you specify a `clever_env_output_file` that is exactly what you will get!