aboutsummaryrefslogtreecommitdiffhomepage
Commit message (Collapse)AuthorAgeFilesLines
* 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!
* Merge pull request #24 from paulrbr-fl/revert-clever-cli-updatev1.11paulrbr-fl2018-11-304-31/+82
|\ | | | | Reverting upgrade of clever-tools CLI
| * Revert "Merge pull request #19 from paulrbr-fl/update-clever-tools"Paul Bonaud2018-11-304-30/+82
| | | | | | | | | | This reverts commit 695ceaa28821660e17a1cf819cffebe1b5d8c7ca, reversing changes made to 5485dbc4db3e141673457475bcda5fc88057739f.
| * Revert "Merge pull request #20 from paulrbr-fl/update-clever-tools"Paul Bonaud2018-11-301-2/+1
|/ | | | | This reverts commit b17a839d622bdb36ddbe2e0667559c33e9b7fd8a, reversing changes made to 695ceaa28821660e17a1cf819cffebe1b5d8c7ca.
* Merge pull request #21 from haitlahcen/fix-scriptsHussein A2018-11-222-2/+6
|\ | | | | avoid hardcoded bash path in scripts
| * avoid hardcoded bash path in scriptsHussein Ait-Lahcen2018-11-222-2/+6
|/
* Merge pull request #20 from paulrbr-fl/update-clever-toolsv1.10paulrbr-fl2018-11-211-1/+2
|\ | | | | Fix: this is a 🤦‍♂️ PR fixing a bug introduced in v1.10
| * fix: Fail module takes one argumentPaul Bonaud2018-11-211-1/+2
| |
* | Merge pull request #19 from paulrbr-fl/update-clever-toolspaulrbr-fl2018-11-214-82/+30
|\| | | | | deploy_task: Update clever CLI tools and use it instead of git push
| * deploy_task: Update clever CLI tools and use it instead of git pushPaul Bonaud2018-11-214-82/+30
|/ | | | | | | | 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 #18 from haitlahcen/dhall-interfacev1.9Hussein A2018-11-2014-2/+133
|\ | | | | add dhall interface
| * update default value (readme aswell) for `clever_metrics`Hussein Ait-Lahcen2018-11-202-2/+2
| |
| * add travis ci step for typechecking dhallHussein Ait-Lahcen2018-11-204-1/+21
| |
| * add dhall interfaceHussein Ait-Lahcen2018-11-1910-0/+111
|/
* Merge pull request #17 from gaetanfl/change_clever_app_root_defaultv1.8Gaëtan2018-11-142-2/+2
|\ | | | | change default value for clever_app_root
| * change default value for clever_app_rootGaëtan Duchaussois2018-11-142-2/+2
|/
* Merge pull request #16 from paulrbr-fl/fix-clever-app-root-for-goodv1.7paulrbr-fl2018-11-052-2/+8
|\ | | | | fix: 😬 really fix the usage of "clever_app_root" when waiting deploy
| * fix: 😬 really fix the usage of "clever_app_root" when waiting deployPaul Bonaud2018-11-052-2/+8
|/ | | | | | | Followup after the fix of #15 it was still missing another case of "git" usage. This should be the last fix about this variable 🤞.
* Merge pull request #15 from paulrbr-fl/fix-git-pushv1.6paulrbr-fl2018-11-051-0/+6
|\ | | | | fix: clever_app_root is provided & exec is outside of "parent dir"
| * fix: clever_app_root is provided & exec is outside of "parent dir"Paul Bonaud2018-11-051-0/+6
|/ | | | | | | | | | | | Imagine such a usecase: - project is in `/project` - executing Ansible in `/ansible` with `clever_app_root: /project` will fail deploying with the git push with the following error: ``` Not a git repository (or any of the parent directories): .git" ``` This PR fixes this.
* Merge pull request #14 from paulrbr-fl/rename-syslog-server-varv1.5paulrbr-fl2018-10-042-3/+4
|\ | | | | vars: add a clever_syslog_server variable replacing syslog_server
| * vars: add a clever_syslog_server variable replacing syslog_serverPaul Bonaud2018-10-042-3/+4
|/ | | | | All variables "namespaced" with the role name is helpful to read "client" configurations
* Merge pull request #13 from paulrbr-fl/prefix-domain-variablev1.4paulrbr-fl2018-09-282-3/+4
|\ | | | | domain: allow the domain to be specified via clever_domain variable
| * domain: allow the domain to be specified via clever_domain variablePaul Bonaud2018-09-282-3/+4
|/ | | | | | | | Every other variables are prefixed with `clever_` which makes the definition of variables clearer from a "app" configuration point of view. WDYT?