]> git.immae.eu Git - github/fretlink/ansible-clever.git/log
github/fretlink/ansible-clever.git
4 years agodeploy: try to restart the app when the CLI asks to do it 75/head
Paul Bonaud [Thu, 6 Aug 2020 09:44:26 +0000 (11:44 +0200)] 
deploy: try to restart the app when the CLI asks to do it

In some cases (rollback or deployment errored on clever side),
clever-tools will fail when calling `clever deploy` because it thinks
the currently being deployed commit is already deployed. However in
some cases the git pushed commit is not the currently running commit.

Leading to a failure in our deployment process. The proposed solution
from the clever tools error is to launch `clever restart`.

Until we wait for
https://github.com/CleverCloud/clever-tools/issues/422 to be fixed,
let's do what the error message say: try to restart in case of a
deployment failure.

4 years agoMerge pull request #74 from clementd-fretlink/service-dependencies v2.7
Clément Delafargue [Fri, 3 Jul 2020 13:16:54 +0000 (15:16 +0200)] 
Merge pull request #74 from clementd-fretlink/service-dependencies

Service dependencies

4 years agoRemove compatibility code for now-unsupported clever-tools versions 74/head
Clement Delafargue [Wed, 1 Jul 2020 09:49:27 +0000 (11:49 +0200)] 
Remove compatibility code for now-unsupported clever-tools versions

4 years agoFix `clever_addons` example
Clement Delafargue [Wed, 1 Jul 2020 09:48:51 +0000 (11:48 +0200)] 
Fix `clever_addons` example

4 years agoAdd support for linking service dependencies
Clement Delafargue [Wed, 1 Jul 2020 09:48:04 +0000 (11:48 +0200)] 
Add support for linking service dependencies

4 years agoAdd dhall definitions for linked service dependencies
Clement Delafargue [Wed, 1 Jul 2020 09:34:40 +0000 (11:34 +0200)] 
Add dhall definitions for linked service dependencies

4 years agoMerge pull request #72 from clementd-fretlink/noop-if-up-to-date
Clément Delafargue [Tue, 30 Jun 2020 14:31:26 +0000 (16:31 +0200)] 
Merge pull request #72 from clementd-fretlink/noop-if-up-to-date

don't run `clever deploy` if the app is up-to-date

4 years agofix(tests): use `! grep` instead of `grep -v` 72/head
Clement Delafargue [Tue, 30 Jun 2020 13:46:41 +0000 (15:46 +0200)] 
fix(tests): use `! grep` instead of `grep -v`

`grep -v` makes sure a file contains other lines than the one that
matched. This is different from `! grep` which makes sure the file
does not contain a line that matched.

4 years agofix(test): log all commads to `$binary-commands`
Clement Delafargue [Tue, 30 Jun 2020 13:33:22 +0000 (15:33 +0200)] 
fix(test): log all commads to `$binary-commands`

Previously, only the commands not directly handled by the stub were
logged. We want to log all commands instead

4 years agoadd a test for `noop-if-up-to-date`
Clement Delafargue [Tue, 30 Jun 2020 07:33:18 +0000 (09:33 +0200)] 
add a test for `noop-if-up-to-date`

It makes sure `clever deploy` is _not_ called if the application
is up-to-date on clever cloud

4 years agoMake commit ids overridable in the script mock
Clement Delafargue [Tue, 30 Jun 2020 07:30:04 +0000 (09:30 +0200)] 
Make commit ids overridable in the script mock

4 years agoDon't run `clever deploy` if the app is up-to-date
Clement Delafargue [Wed, 24 Jun 2020 09:34:28 +0000 (11:34 +0200)] 
Don't run `clever deploy` if the app is up-to-date

Running `git push` when the remote is up-to-date
no-ops (it does not trigger a deployment, but it does not fail either).

Running `clever deploy` when the remote is up-to-date triggers a failure. Here, we care about the _end result_ (ie the app is deployed on the correct commit), so no-oping is more appropriate.

This behaviour is not baked in `clever-tools`, but I think it should. I opened an issue. This script
is a temporary workaround. (at least I hope it's temporary)
https://github.com/CleverCloud/clever-tools/issues/422

4 years agoMerge pull request #73 from paulrbr-fl/fix-timeout-on-deploy
paulrbr-fl [Tue, 30 Jun 2020 08:47:07 +0000 (10:47 +0200)] 
Merge pull request #73 from paulrbr-fl/fix-timeout-on-deploy

fix: prevent crash when the deployment times out

4 years agoci: trying to fix nix-channel by removing unstable channel 73/head
Paul Bonaud [Mon, 29 Jun 2020 16:29:25 +0000 (18:29 +0200)] 
ci: trying to fix nix-channel by removing unstable channel

NIX_PATH used to be enough to select the channel to use, but as Travis
add the nixpkgs-unstable channel we can get unexpected results when
nix decides to push a new unstable version out there in the public.

4 years agofix: prevent crash when the deployment times out
Paul Bonaud [Mon, 29 Jun 2020 15:52:26 +0000 (17:52 +0200)] 
fix: prevent crash when the deployment times out

4 years agoMerge pull request #71 from paulrbr-fl/clever-restart v2.6
paulrbr-fl [Tue, 23 Jun 2020 09:30:19 +0000 (11:30 +0200)] 
Merge pull request #71 from paulrbr-fl/clever-restart

dhall: add missing configuration for clever_restart_only variable

4 years agodhall: add missing configuration for clever_restart_only variable 71/head
Paul Bonaud [Tue, 23 Jun 2020 09:25:31 +0000 (11:25 +0200)] 
dhall: add missing configuration for clever_restart_only variable

This change was forgotten in #70

4 years agoMerge pull request #70 from paulrbr-fl/clever-restart
paulrbr-fl [Tue, 23 Jun 2020 09:20:46 +0000 (11:20 +0200)] 
Merge pull request #70 from paulrbr-fl/clever-restart

feature: add a new 'clever_restart_only' flag to restart an app

4 years agotests: expectations on binary stub 70/head
Paul Bonaud [Mon, 22 Jun 2020 20:32:55 +0000 (22:32 +0200)] 
tests: expectations on binary stub

4 years agotests: Add tests for the new 'restart' feature
Paul Bonaud [Tue, 23 Jun 2020 08:52:52 +0000 (10:52 +0200)] 
tests: Add tests for the new 'restart' feature

4 years agofeature: add a new 'clever_restart_only' flag to restart an app
Paul Bonaud [Mon, 22 Jun 2020 16:34:38 +0000 (18:34 +0200)] 
feature: add a new 'clever_restart_only' flag to restart an app

This new flag will perform a restart on the target clever cloud
application instead of deploying it.

4 years agoMerge pull request #69 from paulrbr-fl/documentation
paulrbr-fl [Mon, 22 Jun 2020 14:03:33 +0000 (16:03 +0200)] 
Merge pull request #69 from paulrbr-fl/documentation

core: README cleanup and test env cleanup

4 years agocore: define nix env for travis with a unique default.nix file 69/head
Paul Bonaud [Fri, 19 Jun 2020 15:37:16 +0000 (17:37 +0200)] 
core: define nix env for travis with a unique default.nix file

4 years agocore: cleanup the README to better document the role
Paul Bonaud [Fri, 19 Jun 2020 15:36:40 +0000 (17:36 +0200)] 
core: cleanup the README to better document the role

Part of #66

4 years agoMerge pull request #67 from clementd-fretlink/scaling
Clément Delafargue [Mon, 22 Jun 2020 12:53:42 +0000 (14:53 +0200)] 
Merge pull request #67 from clementd-fretlink/scaling

scalability configuration

4 years agoadd tests for scalability settings 67/head
Clement Delafargue [Mon, 22 Jun 2020 09:30:43 +0000 (11:30 +0200)] 
add tests for scalability settings

They make sure that ansible does not crash while calling `clever scale`

4 years agoAdd support for scalability configuration
Clement Delafargue [Fri, 19 Jun 2020 13:39:22 +0000 (15:39 +0200)] 
Add support for scalability configuration

Closes #52

4 years agoMerge pull request #68 from paulrbr-fl/bug-fix
paulrbr-fl [Fri, 19 Jun 2020 15:16:11 +0000 (17:16 +0200)] 
Merge pull request #68 from paulrbr-fl/bug-fix

fix: make sure not to include unecessary ENV variable

4 years agofix: make sure not to include unecessary ENV variable 68/head
Paul Bonaud [Fri, 19 Jun 2020 14:20:43 +0000 (16:20 +0200)] 
fix: make sure not to include unecessary ENV variable

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

4 years agocore: fix execution mode on shell script
Paul Bonaud [Fri, 19 Jun 2020 13:52:47 +0000 (15:52 +0200)] 
core: fix execution mode on shell script

4 years agotests: Add more test cases
Paul Bonaud [Fri, 19 Jun 2020 09:38:17 +0000 (11:38 +0200)] 
tests: Add more test cases

4 years agoMerge pull request #55 from clementd-fretlink/build-flavor
Clément Delafargue [Fri, 19 Jun 2020 13:18:13 +0000 (15:18 +0200)] 
Merge pull request #55 from clementd-fretlink/build-flavor

Add optional build flavor configuration

4 years agoUpdate default `clever-tools` version in the readme 55/head
Clément Delafargue [Fri, 19 Jun 2020 13:06:14 +0000 (15:06 +0200)] 
Update default `clever-tools` version in the readme

Co-authored-by: paulrbr-fl <43074087+paulrbr-fl@users.noreply.github.com>
4 years agoSpecify clever-tools version constaints in README
Clement Delafargue [Fri, 19 Jun 2020 12:59:50 +0000 (14:59 +0200)] 
Specify clever-tools version constaints in README

4 years agoInline `clever scale --build-flavor` command
Clement Delafargue [Fri, 19 Jun 2020 10:09:22 +0000 (12:09 +0200)] 
Inline `clever scale --build-flavor` command

4 years agoAdd optional build flavor configuration
Clement Delafargue [Tue, 8 Oct 2019 12:46:25 +0000 (14:46 +0200)] 
Add optional build flavor configuration

4 years agoMerge pull request #64 from clementd-fretlink/json-env
Clément Delafargue [Fri, 19 Jun 2020 09:42:50 +0000 (11:42 +0200)] 
Merge pull request #64 from clementd-fretlink/json-env

Use JSON import for environment variables

4 years agoExtract environment building tasks from the JSON template 64/head
Clement Delafargue [Fri, 19 Jun 2020 09:10:12 +0000 (11:10 +0200)] 
Extract environment building tasks from the JSON template

4 years agoUse JSON import for environment variables
Clement Delafargue [Thu, 18 Jun 2020 14:09:46 +0000 (16:09 +0200)] 
Use JSON import for environment variables

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.

4 years agoMerge pull request #63 from paulrbr-fl/upgrade-clever-cli v2.5
paulrbr-fl [Wed, 17 Jun 2020 13:10:45 +0000 (15:10 +0200)] 
Merge pull request #63 from paulrbr-fl/upgrade-clever-cli

deploy: remove custom polling script now that the CLI does it for us

4 years agodeploy: remove custom polling script now that the CLI does it for us 63/head
Paul Bonaud [Wed, 17 Jun 2020 09:06:08 +0000 (11:06 +0200)] 
deploy: remove custom polling script now that the CLI does it for us

See recent changes (https://github.com/CleverCloud/clever-tools/pull/415)
introduced in 2.5.0+ version of the clever cli tools

4 years agoMerge pull request #61 from paulrbr-fl/fix-env-file v2.4
paulrbr-fl [Wed, 25 Mar 2020 07:56:18 +0000 (08:56 +0100)] 
Merge pull request #61 from paulrbr-fl/fix-env-file

fix: there was a bug in the generate env file

4 years agofix: there was a bug in the generate env file 61/head
Paul Bonaud [Tue, 24 Mar 2020 19:02:57 +0000 (20:02 +0100)] 
fix: there was a bug in the generate env file

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.

4 years agoMerge pull request #60 from paulrbr-fl/fix-base-env v2.3
paulrbr-fl [Tue, 24 Mar 2020 15:12:39 +0000 (16:12 +0100)] 
Merge pull request #60 from paulrbr-fl/fix-base-env

fix `clever_base_env`  by removing a variable if not necessary

4 years agovars: fix `clever_base_env` by removing a variable if not necessary 60/head
Paul Bonaud [Tue, 24 Mar 2020 09:18:14 +0000 (10:18 +0100)] 
vars: fix `clever_base_env`  by removing a variable if not necessary

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.

4 years agoMerge pull request #59 from paulrbr-fl/add-dhall-types-addons v2.2
paulrbr-fl [Mon, 23 Mar 2020 17:09:49 +0000 (18:09 +0100)] 
Merge pull request #59 from paulrbr-fl/add-dhall-types-addons

config(dhall): adding redis and mysql addon types

4 years agoconfig(dhall): adding redis and mysql addon types 59/head
Paul Bonaud [Mon, 23 Mar 2020 16:45:15 +0000 (17:45 +0100)] 
config(dhall): adding redis and mysql addon types

4 years agoMerge pull request #57 from clementd-fretlink/quoted-env-vars
Clément Delafargue [Wed, 27 Nov 2019 13:46:38 +0000 (14:46 +0100)] 
Merge pull request #57 from clementd-fretlink/quoted-env-vars

Quote env vars to support multiline values

4 years agoQuote env vars to support multiline values 57/head
Clement Delafargue [Mon, 25 Nov 2019 12:51:24 +0000 (13:51 +0100)] 
Quote env vars to support multiline values

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

4 years agoMerge pull request #58 from paulrbr-fl/fix-ci
paulrbr-fl [Tue, 26 Nov 2019 16:49:49 +0000 (17:49 +0100)] 
Merge pull request #58 from paulrbr-fl/fix-ci

ci: fix nix version and nix channel version

4 years agoci: fix nix version and nix channel version 58/head
Paul Bonaud [Mon, 25 Nov 2019 14:05:51 +0000 (15:05 +0100)] 
ci: fix nix version and nix channel version

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).

5 years agoMerge pull request #56 from paulrbr-fl/moar-compat v2.1
paulrbr-fl [Fri, 11 Oct 2019 16:08:03 +0000 (18:08 +0200)] 
Merge pull request #56 from paulrbr-fl/moar-compat

fix: addon environment variables fetch for clever >= 1.5.0

5 years agofix: addon environment variables fetch for clever >= 1.5.0 56/head
Paul Bonaud [Fri, 11 Oct 2019 15:44:42 +0000 (17:44 +0200)] 
fix: addon environment variables fetch for clever >= 1.5.0

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.

5 years agoMerge pull request #54 from clementd-fretlink/polykinds v2.0
Clément Delafargue [Mon, 7 Oct 2019 07:55:09 +0000 (09:55 +0200)] 
Merge pull request #54 from clementd-fretlink/polykinds

Migrate to dhall 1.26.1 and merge types and terms

5 years agoMigrate to dhall 1.26.1 and merge types and terms polykinds 54/head v2.0-test-clementd
Clement Delafargue [Wed, 2 Oct 2019 09:02:54 +0000 (11:02 +0200)] 
Migrate to dhall 1.26.1 and merge types and terms

5 years agoMerge pull request #53 from paulrbr-fl/moar-compat v1.26
paulrbr-fl [Fri, 6 Sep 2019 09:16:58 +0000 (11:16 +0200)] 
Merge pull request #53 from paulrbr-fl/moar-compat

scripts: use short options instead of long ones

5 years agoci: fix nix packages due to Travis nix update to 19.09 packages 53/head
Paul Bonaud [Fri, 6 Sep 2019 09:09:52 +0000 (11:09 +0200)] 
ci: fix nix packages due to Travis nix update to 19.09 packages

5 years agoscripts: use short options instead of long ones
Paul Bonaud [Fri, 6 Sep 2019 08:53:58 +0000 (10:53 +0200)] 
scripts: use short options instead of long ones

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.

5 years agoMerge pull request #51 from paulrbr-fl/clever-deploy-back-to-polling v1.25
paulrbr-fl [Mon, 5 Aug 2019 15:21:57 +0000 (17:21 +0200)] 
Merge pull request #51 from paulrbr-fl/clever-deploy-back-to-polling

clevertools: upgrade to latest stable version as default

5 years agoclevertools: upgrade to latest stable version as default 51/head
Paul Bonaud [Mon, 5 Aug 2019 15:16:41 +0000 (17:16 +0200)] 
clevertools: upgrade to latest stable version as default

Upgrade to 1.4.2 as default version installed by the role

5 years agoMerge pull request #50 from paulrbr-fl/clever-deploy-back-to-polling
paulrbr-fl [Thu, 1 Aug 2019 15:59:08 +0000 (17:59 +0200)] 
Merge pull request #50 from paulrbr-fl/clever-deploy-back-to-polling

deploy: add a timeout in the polling waiting script

5 years agodeploy: add a timeout in the polling waiting script 50/head
Paul Bonaud [Thu, 1 Aug 2019 08:38:53 +0000 (10:38 +0200)] 
deploy: add a timeout in the polling waiting script

5 years agoMerge pull request #49 from paulrbr-fl/clever-deploy-back-to-polling
paulrbr-fl [Wed, 31 Jul 2019 12:28:10 +0000 (14:28 +0200)] 
Merge pull request #49 from paulrbr-fl/clever-deploy-back-to-polling

deploy: revert back to git push + polling

5 years agolint(scripts): apply shellcheck suggestions on dhall checking script 49/head
Paul Bonaud [Wed, 31 Jul 2019 08:49:36 +0000 (10:49 +0200)] 
lint(scripts): apply shellcheck suggestions on dhall checking script

5 years agoci: add shellcheck to lint shell scripts in automatic tests
Paul Bonaud [Wed, 31 Jul 2019 08:37:00 +0000 (10:37 +0200)] 
ci: add shellcheck to lint shell scripts in automatic tests

5 years agodeploy: revert back to git push + polling
Paul Bonaud [Tue, 30 Jul 2019 15:57:55 +0000 (17:57 +0200)] 
deploy: revert back to git push + polling

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.

5 years agoMerge pull request #48 from clementd-fretlink/remove-ssh-key v1.24
Clément Delafargue [Thu, 4 Jul 2019 08:11:36 +0000 (10:11 +0200)] 
Merge pull request #48 from clementd-fretlink/remove-ssh-key

Remove `sshKey` from the vault type

5 years agoRemove `sshKey` from the vault type 48/head
Clement Delafargue [Thu, 4 Jul 2019 08:00:16 +0000 (10:00 +0200)] 
Remove `sshKey` from the vault type

It's not actually used by the role, but by code that uses this role.

5 years agoMerge pull request #47 from clementd-fretlink/debug
Clément Delafargue [Thu, 4 Jul 2019 07:35:28 +0000 (09:35 +0200)] 
Merge pull request #47 from clementd-fretlink/debug

Fix `CC_DISABLE_METRICS` computation

5 years agoFix `CC_DISABLE_METRICS` computation 47/head
Clement Delafargue [Wed, 3 Jul 2019 15:18:38 +0000 (17:18 +0200)] 
Fix `CC_DISABLE_METRICS` computation

5 years agoMerge pull request #46 from clementd-fretlink/cleanup v1.23
Clément Delafargue [Tue, 2 Jul 2019 08:52:30 +0000 (10:52 +0200)] 
Merge pull request #46 from clementd-fretlink/cleanup

update metrics and entrypoint default definitions

5 years agoClever Cloud metrics are now enabled by default 46/head
Clement Delafargue [Mon, 1 Jul 2019 15:31:30 +0000 (17:31 +0200)] 
Clever Cloud metrics are now enabled by default

5 years agoMerge pull request #45 from clementd-fretlink/new-clever-vault
Clément Delafargue [Mon, 1 Jul 2019 15:03:31 +0000 (17:03 +0200)] 
Merge pull request #45 from clementd-fretlink/new-clever-vault

Clean up `dhall` type definitions

5 years agodhall: remove optional arguments from mkConfig 45/head
Clement Delafargue [Mon, 1 Jul 2019 14:35:23 +0000 (16:35 +0200)] 
dhall: remove optional arguments from mkConfig

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.

5 years agodhall: expose optional fields as optional values
Clement Delafargue [Mon, 1 Jul 2019 14:32:58 +0000 (16:32 +0200)] 
dhall: expose optional fields as optional values

Instead of `nonifying` them

5 years agoRemove default environment from Dhall config
Clement Delafargue [Mon, 1 Jul 2019 13:46:31 +0000 (15:46 +0200)] 
Remove default environment from Dhall config

5 years agoremove org_id from vault type, add sshKey in vault
Clement Delafargue [Mon, 1 Jul 2019 12:55:17 +0000 (14:55 +0200)] 
remove org_id from vault type, add sshKey in vault

5 years agoMerge pull request #44 from gaetanfl/fix_shell_pipefail v1.22
Gaëtan [Tue, 11 Jun 2019 15:51:19 +0000 (17:51 +0200)] 
Merge pull request #44 from gaetanfl/fix_shell_pipefail

use bash with -o pipefail

5 years agouse bash with -o pipefail 44/head
Gaëtan Duchaussois [Tue, 11 Jun 2019 15:24:05 +0000 (17:24 +0200)] 
use bash with -o pipefail

5 years agoMerge pull request #42 from paulrbr-fl/deploy-errors-on-application-is-up-to-date v1.21
paulrbr-fl [Mon, 13 May 2019 13:35:36 +0000 (15:35 +0200)] 
Merge pull request #42 from paulrbr-fl/deploy-errors-on-application-is-up-to-date

fix(deploy): fail the task correctly when last deploymt failed

5 years agofix(deploy): fail the task correctly when last deploymt failed 42/head
Paul Bonaud [Mon, 13 May 2019 13:10:19 +0000 (15:10 +0200)] 
fix(deploy): fail the task correctly when last deploymt failed

5 years agoMerge pull request #41 from paulrbr-fl/dhall-version-upgrade v1.20
paulrbr-fl [Fri, 26 Apr 2019 18:44:58 +0000 (20:44 +0200)] 
Merge pull request #41 from paulrbr-fl/dhall-version-upgrade

dhall(upgrade): upgrade code to be compatible with dhall 1.21.0

5 years agodhall(upgrade): upgrade code to be compatible with dhall 1.21.0 41/head
Paul Bonaud [Fri, 26 Apr 2019 16:19:05 +0000 (18:19 +0200)] 
dhall(upgrade): upgrade code to be compatible with dhall 1.21.0

5 years agoMerge pull request #40 from gaetanfl/fix_ansible_lint_4.1
Gaëtan [Tue, 5 Mar 2019 12:41:58 +0000 (13:41 +0100)] 
Merge pull request #40 from gaetanfl/fix_ansible_lint_4.1

fix(lint): ansible lint 4.1.0 compatibiliy

5 years agofix(lint): ansible 4.1.0 compatibiliy 40/head
Gaëtan Duchaussois [Tue, 5 Mar 2019 10:54:33 +0000 (11:54 +0100)] 
fix(lint): ansible 4.1.0 compatibiliy

5 years agoMerge pull request #39 from paulrbr-fl/fix-login v1.19
paulrbr-fl [Tue, 26 Feb 2019 18:24:31 +0000 (19:24 +0100)] 
Merge pull request #39 from paulrbr-fl/fix-login

Fix login by removing any existing linked app

5 years agologin: make sure no existing apps are linked to the clever tools 39/head
Paul Bonaud [Tue, 26 Feb 2019 18:18:49 +0000 (19:18 +0100)] 
login: make sure no existing apps are linked to the clever tools

5 years agoRevert "login: force the `.clever.json` file to be created"
Paul Bonaud [Tue, 26 Feb 2019 18:18:26 +0000 (19:18 +0100)] 
Revert "login: force the `.clever.json` file to be created"

This reverts commit 85d1a7838d032ec7dfe858fce5dca3f5535199e4.

5 years agoMerge pull request #38 from paulrbr-fl/fix-login
paulrbr-fl [Tue, 26 Feb 2019 08:34:21 +0000 (09:34 +0100)] 
Merge pull request #38 from paulrbr-fl/fix-login

login: force the `.clever.json` file to be created

5 years agologin: force the `.clever.json` file to be created 38/head
Paul Bonaud [Tue, 26 Feb 2019 08:16:11 +0000 (09:16 +0100)] 
login: force the `.clever.json` file to be created

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.

5 years agoMerge pull request #37 from gaetanfl/fix_path v1.18
Gaëtan [Fri, 22 Feb 2019 15:56:46 +0000 (16:56 +0100)] 
Merge pull request #37 from gaetanfl/fix_path

Missing /

5 years agoMissing / 37/head
Gaëtan Duchaussois [Fri, 22 Feb 2019 15:52:22 +0000 (16:52 +0100)] 
Missing /

5 years agoMerge pull request #36 from gaetanfl/fix_typo
Gaëtan [Fri, 22 Feb 2019 15:34:22 +0000 (16:34 +0100)] 
Merge pull request #36 from gaetanfl/fix_typo

Fix duplicate version number in url

5 years agoFix duplicate version number in url 36/head
Gaëtan Duchaussois [Fri, 22 Feb 2019 15:29:01 +0000 (16:29 +0100)] 
Fix duplicate version number in url

5 years agoMerge pull request #35 from gaetanfl/use_path_tool
Gaëtan [Thu, 21 Feb 2019 16:59:19 +0000 (17:59 +0100)] 
Merge pull request #35 from gaetanfl/use_path_tool

use full path for clever helper invocation

5 years agoliniting 35/head
Gaëtan Duchaussois [Thu, 21 Feb 2019 16:40:39 +0000 (17:40 +0100)] 
liniting

5 years agouse full path for clever helper invocation
Gaëtan Duchaussois [Thu, 21 Feb 2019 16:16:23 +0000 (17:16 +0100)] 
use full path for clever helper invocation

5 years agoMerge pull request #34 from paulrbr-fl/domain-case v1.17
paulrbr-fl [Thu, 31 Jan 2019 17:41:52 +0000 (18:41 +0100)] 
Merge pull request #34 from paulrbr-fl/domain-case

domain: DNS names are case insensitive

5 years agodomain: DNS names are case insensitive 34/head
Paul Bonaud [Thu, 31 Jan 2019 17:37:02 +0000 (18:37 +0100)] 
domain: DNS names are case insensitive

5 years agoMerge pull request #33 from paulrbr-fl/successful-deploy-up-to-date v1.16
paulrbr-fl [Wed, 16 Jan 2019 15:13:39 +0000 (16:13 +0100)] 
Merge pull request #33 from paulrbr-fl/successful-deploy-up-to-date

deploy: check "up-to-date" error to succeeded if last commit is OK