Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Merge pull request #71 from paulrbr-fl/clever-restartv2.6 | paulrbr-fl | 2020-06-23 | 1 | -0/+2 |
|\ | | | | | dhall: add missing configuration for clever_restart_only variable | ||||
| * | dhall: add missing configuration for clever_restart_only variable | Paul Bonaud | 2020-06-23 | 1 | -0/+2 |
|/ | | | | This change was forgotten in #70 | ||||
* | Merge pull request #70 from paulrbr-fl/clever-restart | paulrbr-fl | 2020-06-23 | 9 | -5/+136 |
|\ | | | | | feature: add a new 'clever_restart_only' flag to restart an app | ||||
| * | tests: expectations on binary stub | Paul Bonaud | 2020-06-23 | 4 | -0/+85 |
| | | |||||
| * | tests: Add tests for the new 'restart' feature | Paul Bonaud | 2020-06-23 | 3 | -4/+18 |
| | | |||||
| * | feature: add a new 'clever_restart_only' flag to restart an app | Paul Bonaud | 2020-06-23 | 3 | -1/+33 |
|/ | | | | | This new flag will perform a restart on the target clever cloud application instead of deploying it. | ||||
* | Merge pull request #69 from paulrbr-fl/documentation | paulrbr-fl | 2020-06-22 | 4 | -50/+43 |
|\ | | | | | core: README cleanup and test env cleanup | ||||
| * | core: define nix env for travis with a unique default.nix file | Paul Bonaud | 2020-06-22 | 3 | -26/+14 |
| | | |||||
| * | core: cleanup the README to better document the role | Paul Bonaud | 2020-06-22 | 1 | -24/+29 |
|/ | | | | Part of #66 | ||||
* | Merge pull request #67 from clementd-fretlink/scaling | Clément Delafargue | 2020-06-22 | 7 | -1/+111 |
|\ | | | | | scalability configuration | ||||
| * | add tests for scalability settings | Clement Delafargue | 2020-06-22 | 2 | -0/+38 |
| | | | | | | | | They make sure that ansible does not crash while calling `clever scale` | ||||
| * | Add support for scalability configuration | Clement Delafargue | 2020-06-22 | 5 | -1/+73 |
|/ | | | | Closes #52 | ||||
* | Merge pull request #68 from paulrbr-fl/bug-fix | paulrbr-fl | 2020-06-19 | 8 | -14/+53 |
|\ | | | | | fix: make sure not to include unecessary ENV variable | ||||
| * | fix: make sure not to include unecessary ENV variable | Paul Bonaud | 2020-06-19 | 2 | -2/+0 |
| | | | | | | | | | | | | | | This is a fix to an unfortunate bug introduced by #64 because we had a default value set to `None` on the `clever_haskell_entry_point`. Ansible considers `None` as a defined value so the `is defined` condition doesn't match our need | ||||
| * | core: fix execution mode on shell script | Paul Bonaud | 2020-06-19 | 1 | -0/+0 |
| | | |||||
| * | tests: Add more test cases | Paul Bonaud | 2020-06-19 | 5 | -12/+53 |
|/ | |||||
* | Merge pull request #55 from clementd-fretlink/build-flavor | Clément Delafargue | 2020-06-19 | 3 | -1/+13 |
|\ | | | | | Add optional build flavor configuration | ||||
| * | Update default `clever-tools` version in the readme | Clément Delafargue | 2020-06-19 | 1 | -1/+1 |
| | | | | | | Co-authored-by: paulrbr-fl <43074087+paulrbr-fl@users.noreply.github.com> | ||||
| * | Specify clever-tools version constaints in README | Clement Delafargue | 2020-06-19 | 1 | -0/+1 |
| | | |||||
| * | Inline `clever scale --build-flavor` command | Clement Delafargue | 2020-06-19 | 3 | -12/+1 |
| | | |||||
| * | Add optional build flavor configuration | Clement Delafargue | 2020-06-19 | 5 | -0/+22 |
|/ | |||||
* | Merge pull request #64 from clementd-fretlink/json-env | Clément Delafargue | 2020-06-19 | 5 | -10/+23 |
|\ | | | | | Use JSON import for environment variables | ||||
| * | Extract environment building tasks from the JSON template | Clement Delafargue | 2020-06-19 | 3 | -8/+12 |
| | | |||||
| * | Use JSON import for environment variables | Clement Delafargue | 2020-06-19 | 3 | -7/+16 |
|/ | | | | | | | | The env can be provided as a JSON list `[{"name": "PORT", "value": "8080"}]`. The `dict2items` filter provided by ansible is _almost_ what we want, but it keeps the value original types (a boolean is kept as a boolean in the JSON value). Since environment variables are strings and `clever-tools` does not want to make the implicit coercion for us, we need to do it ourselves. | ||||
* | Merge pull request #63 from paulrbr-fl/upgrade-clever-cliv2.5 | paulrbr-fl | 2020-06-17 | 6 | -155/+56 |
|\ | | | | | deploy: remove custom polling script now that the CLI does it for us | ||||
| * | deploy: remove custom polling script now that the CLI does it for us | Paul Bonaud | 2020-06-17 | 6 | -155/+56 |
|/ | | | | | See recent changes (https://github.com/CleverCloud/clever-tools/pull/415) introduced in 2.5.0+ version of the clever cli tools | ||||
* | Merge pull request #61 from paulrbr-fl/fix-env-filev2.4 | paulrbr-fl | 2020-03-25 | 1 | -2/+2 |
|\ | | | | | fix: there was a bug in the generate env file | ||||
| * | fix: there was a bug in the generate env file | Paul Bonaud | 2020-03-24 | 1 | -2/+2 |
|/ | | | | | Bug Introduced by #57 because the `to_json` filter quotes the given value if it's a string, so the PR was "double quoting" each values. | ||||
* | Merge pull request #60 from paulrbr-fl/fix-base-envv2.3 | paulrbr-fl | 2020-03-24 | 7 | -8/+35 |
|\ | | | | | fix `clever_base_env` by removing a variable if not necessary | ||||
| * | vars: fix `clever_base_env` by removing a variable if not necessary | Paul Bonaud | 2020-03-24 | 7 | -8/+35 |
|/ | | | | | | The `CC_RUN_COMMAND` variable was defined in case we use haskell binary as entrypoints. However if the `clever_haskell_entry_point` variable is not defined we shouldn't define the `CC_RUN_COMMAND` env variable. | ||||
* | Merge pull request #59 from paulrbr-fl/add-dhall-types-addonsv2.2 | paulrbr-fl | 2020-03-23 | 1 | -2/+10 |
|\ | | | | | config(dhall): adding redis and mysql addon types | ||||
| * | config(dhall): adding redis and mysql addon types | Paul Bonaud | 2020-03-23 | 1 | -2/+10 |
|/ | |||||
* | Merge pull request #57 from clementd-fretlink/quoted-env-vars | Clément Delafargue | 2019-11-27 | 1 | -1/+1 |
|\ | | | | | Quote env vars to support multiline values | ||||
| * | Quote env vars to support multiline values | Clement Delafargue | 2019-11-27 | 1 | -1/+1 |
|/ | | | | | | | | | clever-tools now supports multiline env vars. It did so by supporting quotes in the formats it reads from. This commit quotes the exported values using the `tojson` filter. Of course, a better solution would be for clever env to directly read json value, but it's not there yet | ||||
* | Merge pull request #58 from paulrbr-fl/fix-ci | paulrbr-fl | 2019-11-26 | 1 | -3/+5 |
|\ | | | | | ci: fix nix version and nix channel version | ||||
| * | ci: fix nix version and nix channel version | Paul Bonaud | 2019-11-26 | 1 | -3/+5 |
|/ | | | | | | | In order to avoid having bad surprises with automatic updates let's fix the nix channel version. For now the default travis behavior is to use `nixpkgs-unstable` (see https://docs.travis-ci.com/user/languages/nix#overview). | ||||
* | Merge pull request #56 from paulrbr-fl/moar-compatv2.1 | paulrbr-fl | 2019-10-11 | 1 | -1/+16 |
|\ | | | | | fix: addon environment variables fetch for clever >= 1.5.0 | ||||
| * | fix: addon environment variables fetch for clever >= 1.5.0 | Paul Bonaud | 2019-10-11 | 1 | -1/+16 |
|/ | | | | | | | | | It seems the output of `clever env` has changed and now env values are surrounded by quotes with the latest 1.5.0 clever tools version. We used to add quotes ourselves because they were missing in the output. So this commit is adapting its parsing depending of the clever tools' version. | ||||
* | Merge pull request #54 from clementd-fretlink/polykindsv2.0 | Clément Delafargue | 2019-10-07 | 11 | -67/+46 |
|\ | | | | | Migrate to dhall 1.26.1 and merge types and terms | ||||
| * | Migrate to dhall 1.26.1 and merge types and termsv2.0-test-clementdpolykinds | Clement Delafargue | 2019-10-02 | 11 | -67/+46 |
|/ | |||||
* | Merge pull request #53 from paulrbr-fl/moar-compatv1.26 | paulrbr-fl | 2019-09-06 | 2 | -2/+3 |
|\ | | | | | scripts: use short options instead of long ones | ||||
| * | ci: fix nix packages due to Travis nix update to 19.09 packages | Paul Bonaud | 2019-09-06 | 1 | -1/+1 |
| | | |||||
| * | scripts: use short options instead of long ones | Paul Bonaud | 2019-09-06 | 1 | -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.25 | paulrbr-fl | 2019-08-05 | 1 | -1/+1 |
|\ | | | | | clevertools: upgrade to latest stable version as default | ||||
| * | clevertools: upgrade to latest stable version as default | Paul Bonaud | 2019-08-05 | 1 | -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-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 |
| | |