Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 | ||||
| * | app: rename `clever_entry_point`. It's only used by Haskell apps | Paul Bonaud | 2018-12-27 | 5 | -44/+47 |
|/ | |||||
* | Merge pull request #29 from paulrbr-fl/missing-chdirv1.13 | paulrbr-fl | 2018-12-06 | 1 | -0/+2 |
|\ | | | | | fix: Yet again a missing chdir for "clever" command | ||||
| * | fix: Yet again a missing chdir for "clever" command | Paul Bonaud | 2018-12-06 | 1 | -0/+2 |
|/ | | | | This is a followup of #26 | ||||
* | Merge pull request #28 from paulrbr-fl/fix-post-deploy | paulrbr-fl | 2018-11-30 | 1 | -0/+6 |
|\ | | | | | Fix: post depoy tasks were not launched. This fixes it. | ||||
| * | Fix: post depoy tasks were not launched. This fixes it. | Paul Bonaud | 2018-11-30 | 1 | -0/+6 |
|/ | |||||
* | Merge pull request #27 from paulrbr-fl/chdir-all-the-things | paulrbr-fl | 2018-11-30 | 2 | -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 root | Paul Bonaud | 2018-11-30 | 2 | -5/+5 |
|/ | |||||
* | Merge pull request #26 from paulrbr-fl/chdir-all-the-things | paulrbr-fl | 2018-11-30 | 2 | -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 dir | Paul Bonaud | 2018-11-30 | 2 | -0/+7 |
|/ | |||||
* | Merge pull request #25 from paulrbr-fl/feat-get-env | paulrbr-fl | 2018-11-30 | 2 | -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 env | Paul Bonaud | 2018-11-30 | 2 | -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.11 | paulrbr-fl | 2018-11-30 | 4 | -31/+82 |
|\ | | | | | Reverting upgrade of clever-tools CLI | ||||
| * | Revert "Merge pull request #19 from paulrbr-fl/update-clever-tools" | Paul Bonaud | 2018-11-30 | 4 | -30/+82 |
| | | | | | | | | | | This reverts commit 695ceaa28821660e17a1cf819cffebe1b5d8c7ca, reversing changes made to 5485dbc4db3e141673457475bcda5fc88057739f. | ||||
| * | Revert "Merge pull request #20 from paulrbr-fl/update-clever-tools" | Paul Bonaud | 2018-11-30 | 1 | -2/+1 |
|/ | | | | | This reverts commit b17a839d622bdb36ddbe2e0667559c33e9b7fd8a, reversing changes made to 695ceaa28821660e17a1cf819cffebe1b5d8c7ca. | ||||
* | Merge pull request #21 from haitlahcen/fix-scripts | Hussein A | 2018-11-22 | 2 | -2/+6 |
|\ | | | | | avoid hardcoded bash path in scripts | ||||
| * | avoid hardcoded bash path in scripts | Hussein Ait-Lahcen | 2018-11-22 | 2 | -2/+6 |
|/ | |||||
* | Merge pull request #20 from paulrbr-fl/update-clever-toolsv1.10 | paulrbr-fl | 2018-11-21 | 1 | -1/+2 |
|\ | | | | | Fix: this is a 🤦♂️ PR fixing a bug introduced in v1.10 | ||||
| * | fix: Fail module takes one argument | Paul Bonaud | 2018-11-21 | 1 | -1/+2 |
| | | |||||
* | | Merge pull request #19 from paulrbr-fl/update-clever-tools | paulrbr-fl | 2018-11-21 | 4 | -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 push | Paul Bonaud | 2018-11-21 | 4 | -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.9 | Hussein A | 2018-11-20 | 14 | -2/+133 |
|\ | | | | | add dhall interface | ||||
| * | update default value (readme aswell) for `clever_metrics` | Hussein Ait-Lahcen | 2018-11-20 | 2 | -2/+2 |
| | | |||||
| * | add travis ci step for typechecking dhall | Hussein Ait-Lahcen | 2018-11-20 | 4 | -1/+21 |
| | | |||||
| * | add dhall interface | Hussein Ait-Lahcen | 2018-11-19 | 10 | -0/+111 |
|/ | |||||
* | Merge pull request #17 from gaetanfl/change_clever_app_root_defaultv1.8 | Gaëtan | 2018-11-14 | 2 | -2/+2 |
|\ | | | | | change default value for clever_app_root | ||||
| * | change default value for clever_app_root | Gaëtan Duchaussois | 2018-11-14 | 2 | -2/+2 |
|/ | |||||
* | Merge pull request #16 from paulrbr-fl/fix-clever-app-root-for-goodv1.7 | paulrbr-fl | 2018-11-05 | 2 | -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 deploy | Paul Bonaud | 2018-11-05 | 2 | -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.6 | paulrbr-fl | 2018-11-05 | 1 | -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 Bonaud | 2018-11-05 | 1 | -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.5 | paulrbr-fl | 2018-10-04 | 2 | -3/+4 |
|\ | | | | | vars: add a clever_syslog_server variable replacing syslog_server | ||||
| * | vars: add a clever_syslog_server variable replacing syslog_server | Paul Bonaud | 2018-10-04 | 2 | -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.4 | paulrbr-fl | 2018-09-28 | 2 | -3/+4 |
|\ | | | | | domain: allow the domain to be specified via clever_domain variable | ||||
| * | domain: allow the domain to be specified via clever_domain variable | Paul Bonaud | 2018-09-28 | 2 | -3/+4 |
|/ | | | | | | | | Every other variables are prefixed with `clever_` which makes the definition of variables clearer from a "app" configuration point of view. WDYT? | ||||
* | Merge pull request #12 from paulrbr-fl/first-time-deployv1.3 | paulrbr-fl | 2018-09-21 | 1 | -0/+16 |
|\ | | | | | deploy: Make sure repo is unshallow copy before pushing to clever | ||||
| * | deploy: Make sure repo is unshallow copy before pushing to clever | Paul Bonaud | 2018-09-21 | 1 | -0/+16 |
|/ | | | | | | | | If your build tool only uses a shallow clone of your project, Clever cloud will fail on first time git push. You need to git push a full clone of your git repo for the first time deployment to clever. This PR fixes that. | ||||
* | Merge pull request #11 from gaetanfl/lint | Gaëtan | 2018-09-21 | 5 | -1/+13 |
|\ | | | | | add ansible-lint test and fix warning | ||||
| * | Install ansible-lint | Gaëtan Duchaussois | 2018-09-21 | 1 | -0/+1 |
| | | |||||
| * | add ansible-lint test and fix warning | Gaëtan Duchaussois | 2018-09-21 | 5 | -1/+12 |
|/ | |||||
* | Merge pull request #10 from paulrbr-fl/python3-compatv1.2 | paulrbr-fl | 2018-09-21 | 2 | -2/+2 |
|\ | | | | | python3: Change iteritems() to items() to be compatible with py3 |