Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 |
| | | |||||
| * | deploy: revert back to git push + polling | Paul Bonaud | 2019-07-31 | 3 | -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.24 | Clément Delafargue | 2019-07-04 | 1 | -1/+1 |
|\ | | | | | Remove `sshKey` from the vault type | ||||
| * | Remove `sshKey` from the vault type | Clement Delafargue | 2019-07-04 | 1 | -1/+1 |
|/ | | | | It's not actually used by the role, but by code that uses this role. | ||||
* | Merge pull request #47 from clementd-fretlink/debug | Clément Delafargue | 2019-07-04 | 1 | -1/+1 |
|\ | | | | | Fix `CC_DISABLE_METRICS` computation | ||||
| * | Fix `CC_DISABLE_METRICS` computation | Clement Delafargue | 2019-07-03 | 1 | -1/+1 |
|/ | |||||
* | Merge pull request #46 from clementd-fretlink/cleanupv1.23 | Clément Delafargue | 2019-07-02 | 5 | -7/+9 |
|\ | | | | | update metrics and entrypoint default definitions | ||||
| * | Clever Cloud metrics are now enabled by default | Clement Delafargue | 2019-07-02 | 5 | -7/+9 |
|/ | |||||
* | Merge pull request #45 from clementd-fretlink/new-clever-vault | Clément Delafargue | 2019-07-01 | 5 | -56/+36 |
|\ | | | | | Clean up `dhall` type definitions | ||||
| * | dhall: remove optional arguments from mkConfig | Clement Delafargue | 2019-07-01 | 1 | -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 values | Clement Delafargue | 2019-07-01 | 2 | -13/+9 |
| | | | | | | | | Instead of `nonifying` them | ||||
| * | Remove default environment from Dhall config | Clement Delafargue | 2019-07-01 | 3 | -53/+42 |
| | | |||||
| * | remove org_id from vault type, add sshKey in vault | Clement Delafargue | 2019-07-01 | 2 | -7/+8 |
|/ | |||||
* | Merge pull request #44 from gaetanfl/fix_shell_pipefailv1.22 | Gaëtan | 2019-06-11 | 1 | -0/+1 |
|\ | | | | | use bash with -o pipefail | ||||
| * | use bash with -o pipefail | Gaëtan Duchaussois | 2019-06-11 | 1 | -0/+1 |
|/ | |||||
* | Merge pull request #42 from ↵v1.21 | paulrbr-fl | 2019-05-13 | 1 | -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 failed | Paul Bonaud | 2019-05-13 | 1 | -3/+5 |
|/ | |||||
* | Merge pull request #41 from paulrbr-fl/dhall-version-upgradev1.20 | paulrbr-fl | 2019-04-26 | 4 | -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.0 | Paul Bonaud | 2019-04-26 | 4 | -20/+25 |
|/ | |||||
* | Merge pull request #40 from gaetanfl/fix_ansible_lint_4.1 | Gaëtan | 2019-03-05 | 1 | -0/+1 |
|\ | | | | | fix(lint): ansible lint 4.1.0 compatibiliy | ||||
| * | fix(lint): ansible 4.1.0 compatibiliy | Gaëtan Duchaussois | 2019-03-05 | 1 | -0/+1 |
|/ | |||||
* | Merge pull request #39 from paulrbr-fl/fix-loginv1.19 | paulrbr-fl | 2019-02-26 | 1 | -1/+6 |
|\ | | | | | Fix login by removing any existing linked app | ||||
| * | login: make sure no existing apps are linked to the clever tools | Paul Bonaud | 2019-02-26 | 1 | -0/+5 |
| | | |||||
| * | Revert "login: force the `.clever.json` file to be created" | Paul Bonaud | 2019-02-26 | 1 | -1/+1 |
|/ | | | | This reverts commit 85d1a7838d032ec7dfe858fce5dca3f5535199e4. | ||||
* | Merge pull request #38 from paulrbr-fl/fix-login | paulrbr-fl | 2019-02-26 | 1 | -1/+1 |
|\ | | | | | login: force the `.clever.json` file to be created | ||||
| * | login: force the `.clever.json` file to be created | Paul Bonaud | 2019-02-26 | 1 | -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. |