]>
git.immae.eu Git - github/fretlink/ansible-clever.git/log
summary |
shortlog | log |
commit |
commitdiff |
tree
first ⋅ prev ⋅ next
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
Gaëtan Duchaussois [Thu, 21 Feb 2019 16:40:39 +0000 (17:40 +0100)]
liniting
Gaëtan Duchaussois [Thu, 21 Feb 2019 16:16:23 +0000 (17:16 +0100)]
use full path for clever helper invocation
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
Paul Bonaud [Thu, 31 Jan 2019 17:37:02 +0000 (18:37 +0100)]
domain: DNS names are case insensitive
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
Paul Bonaud [Wed, 16 Jan 2019 07:58:43 +0000 (08:58 +0100)]
deploy: check "up-to-date" error to succeeded if last commit is OK
paulrbr-fl [Mon, 14 Jan 2019 10:32:47 +0000 (11:32 +0100)]
Merge pull request #22 from paulrbr-fl/fix-v1.10
Upgrade clever tools to latest version
Paul Bonaud [Wed, 21 Nov 2018 16:59:14 +0000 (17:59 +0100)]
fix: Fail module takes one argument
Paul Bonaud [Wed, 21 Nov 2018 12:20:56 +0000 (13:20 +0100)]
deploy_task: Update clever CLI tools and use it instead of git push
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.
paulrbr-fl [Mon, 7 Jan 2019 11:10:44 +0000 (12:10 +0100)]
Merge pull request #32 from clementd-fretlink/quote-env
fix(deploy): properly quote variables in environment files
Clement Delafargue [Mon, 7 Jan 2019 11:03:45 +0000 (12:03 +0100)]
fix(deploy): properly quote variables in environment files
adding exports in the env file also quotes the variable values
Paul Bonaud [Sun, 6 Jan 2019 22:02:47 +0000 (23:02 +0100)]
tags: add clever-env tag to post-deploy tasks
paulrbr-fl [Sun, 6 Jan 2019 21:10:22 +0000 (22:10 +0100)]
Merge pull request #31 from paulrbr-fl/fix-tags
fix: statically include sub tasks for 'tags' to work
Paul Bonaud [Fri, 4 Jan 2019 17:31:43 +0000 (18:31 +0100)]
fix: statically include sub tasks for 'tags' to work
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
paulrbr-fl [Thu, 27 Dec 2018 14:28:57 +0000 (15:28 +0100)]
Merge pull request #30 from paulrbr-fl/rename-entry-point
app: rename `clever_entry_point`. It's only used by Haskell apps
Paul Bonaud [Thu, 27 Dec 2018 10:47:42 +0000 (11:47 +0100)]
app: rename `clever_entry_point`. It's only used by Haskell apps
paulrbr-fl [Thu, 6 Dec 2018 11:28:47 +0000 (12:28 +0100)]
Merge pull request #29 from paulrbr-fl/missing-chdir
fix: Yet again a missing chdir for "clever" command
Paul Bonaud [Thu, 6 Dec 2018 11:25:16 +0000 (12:25 +0100)]
fix: Yet again a missing chdir for "clever" command
This is a followup of #26
paulrbr-fl [Fri, 30 Nov 2018 17:39:37 +0000 (18:39 +0100)]
Merge pull request #28 from paulrbr-fl/fix-post-deploy
Fix: post depoy tasks were not launched. This fixes it.
Paul Bonaud [Fri, 30 Nov 2018 17:36:03 +0000 (18:36 +0100)]
Fix: post depoy tasks were not launched. This fixes it.
paulrbr-fl [Fri, 30 Nov 2018 16:05:17 +0000 (17:05 +0100)]
Merge pull request #27 from paulrbr-fl/chdir-all-the-things
fix(deploy): Yet again a missing chdir to execute from app root
Paul Bonaud [Fri, 30 Nov 2018 15:53:40 +0000 (16:53 +0100)]
fix(deploy): Yet again a missing chdir to execute from app root
paulrbr-fl [Fri, 30 Nov 2018 15:35:28 +0000 (16:35 +0100)]
Merge pull request #26 from paulrbr-fl/chdir-all-the-things
fix(deploy): Make sure to execute clever commands in app_root dir
Paul Bonaud [Fri, 30 Nov 2018 14:30:15 +0000 (15:30 +0100)]
fix(deploy): Make sure to execute clever commands in app_root dir
paulrbr-fl [Fri, 30 Nov 2018 15:15:20 +0000 (16:15 +0100)]
Merge pull request #25 from paulrbr-fl/feat-get-env
feat(post_deploy): Add a post deploy task to fetch deployed env
Paul Bonaud [Fri, 30 Nov 2018 14:57:33 +0000 (15:57 +0100)]
feat(post_deploy): Add a post deploy task to fetch deployed env
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!
paulrbr-fl [Fri, 30 Nov 2018 13:43:09 +0000 (14:43 +0100)]
Merge pull request #24 from paulrbr-fl/revert-clever-cli-update
Reverting upgrade of clever-tools CLI
Paul Bonaud [Fri, 30 Nov 2018 13:38:25 +0000 (14:38 +0100)]
Revert "Merge pull request #19 from paulrbr-fl/update-clever-tools"
This reverts commit
695ceaa28821660e17a1cf819cffebe1b5d8c7ca , reversing
changes made to
5485dbc4db3e141673457475bcda5fc88057739f .
Paul Bonaud [Fri, 30 Nov 2018 13:38:01 +0000 (14:38 +0100)]
Revert "Merge pull request #20 from paulrbr-fl/update-clever-tools"
This reverts commit
b17a839d622bdb36ddbe2e0667559c33e9b7fd8a , reversing
changes made to
695ceaa28821660e17a1cf819cffebe1b5d8c7ca .
Hussein A [Thu, 22 Nov 2018 07:26:41 +0000 (08:26 +0100)]
Merge pull request #21 from haitlahcen/fix-scripts
avoid hardcoded bash path in scripts
Hussein Ait-Lahcen [Wed, 21 Nov 2018 23:03:33 +0000 (00:03 +0100)]
avoid hardcoded bash path in scripts
paulrbr-fl [Wed, 21 Nov 2018 17:05:49 +0000 (18:05 +0100)]
Merge pull request #20 from paulrbr-fl/update-clever-tools
Fix: this is a 🤦♂️ PR fixing a bug introduced in v1.10
Paul Bonaud [Wed, 21 Nov 2018 16:59:14 +0000 (17:59 +0100)]
fix: Fail module takes one argument
paulrbr-fl [Wed, 21 Nov 2018 15:35:13 +0000 (16:35 +0100)]
Merge pull request #19 from paulrbr-fl/update-clever-tools
deploy_task: Update clever CLI tools and use it instead of git push
Paul Bonaud [Wed, 21 Nov 2018 12:20:56 +0000 (13:20 +0100)]
deploy_task: Update clever CLI tools and use it instead of git push
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.
Hussein A [Tue, 20 Nov 2018 15:44:40 +0000 (16:44 +0100)]
Merge pull request #18 from haitlahcen/dhall-interface
add dhall interface
Hussein Ait-Lahcen [Tue, 20 Nov 2018 11:01:58 +0000 (12:01 +0100)]
update default value (readme aswell) for `clever_metrics`
Hussein Ait-Lahcen [Mon, 19 Nov 2018 17:57:33 +0000 (18:57 +0100)]
add travis ci step for typechecking dhall
Hussein Ait-Lahcen [Mon, 19 Nov 2018 14:50:51 +0000 (15:50 +0100)]
add dhall interface
Gaëtan [Wed, 14 Nov 2018 14:46:44 +0000 (15:46 +0100)]
Merge pull request #17 from gaetanfl/change_clever_app_root_default
change default value for clever_app_root
Gaëtan Duchaussois [Wed, 14 Nov 2018 14:28:54 +0000 (15:28 +0100)]
change default value for clever_app_root
paulrbr-fl [Mon, 5 Nov 2018 13:28:02 +0000 (14:28 +0100)]
Merge pull request #16 from paulrbr-fl/fix-clever-app-root-for-good
fix: 😬 really fix the usage of "clever_app_root" when waiting deploy
Paul Bonaud [Mon, 5 Nov 2018 13:02:21 +0000 (14:02 +0100)]
fix: 😬 really fix the usage of "clever_app_root" when waiting deploy
Followup after the fix of #15 it was still missing another case of
"git" usage.
This should be the last fix about this variable 🤞.
paulrbr-fl [Mon, 5 Nov 2018 09:47:05 +0000 (10:47 +0100)]
Merge pull request #15 from paulrbr-fl/fix-git-push
fix: clever_app_root is provided & exec is outside of "parent dir"
Paul Bonaud [Mon, 5 Nov 2018 09:21:02 +0000 (10:21 +0100)]
fix: clever_app_root is provided & exec is outside of "parent dir"
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.
paulrbr-fl [Thu, 4 Oct 2018 14:09:57 +0000 (16:09 +0200)]
Merge pull request #14 from paulrbr-fl/rename-syslog-server-var
vars: add a clever_syslog_server variable replacing syslog_server
Paul Bonaud [Thu, 4 Oct 2018 13:51:04 +0000 (15:51 +0200)]
vars: add a clever_syslog_server variable replacing syslog_server
All variables "namespaced" with the role name is helpful to read
"client" configurations
paulrbr-fl [Fri, 28 Sep 2018 09:31:35 +0000 (11:31 +0200)]
Merge pull request #13 from paulrbr-fl/prefix-domain-variable
domain: allow the domain to be specified via clever_domain variable
Paul Bonaud [Fri, 28 Sep 2018 09:14:12 +0000 (11:14 +0200)]
domain: allow the domain to be specified via clever_domain variable
Every other variables are prefixed with `clever_` which makes the
definition of variables clearer from a "app" configuration point of
view.
WDYT?
paulrbr-fl [Fri, 21 Sep 2018 12:03:39 +0000 (14:03 +0200)]
Merge pull request #12 from paulrbr-fl/first-time-deploy
deploy: Make sure repo is unshallow copy before pushing to clever
Paul Bonaud [Fri, 21 Sep 2018 11:36:40 +0000 (13:36 +0200)]
deploy: Make sure repo is unshallow copy before pushing to clever
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.
Gaëtan [Fri, 21 Sep 2018 11:47:19 +0000 (13:47 +0200)]
Merge pull request #11 from gaetanfl/lint
add ansible-lint test and fix warning
Gaëtan Duchaussois [Fri, 21 Sep 2018 10:35:34 +0000 (12:35 +0200)]
Install ansible-lint
Gaëtan Duchaussois [Fri, 21 Sep 2018 10:25:48 +0000 (12:25 +0200)]
add ansible-lint test and fix warning
paulrbr-fl [Fri, 21 Sep 2018 09:09:32 +0000 (11:09 +0200)]
Merge pull request #10 from paulrbr-fl/python3-compat
python3: Change iteritems() to items() to be compatible with py3
Paul Bonaud [Fri, 21 Sep 2018 09:05:47 +0000 (11:05 +0200)]
python3: Change iteritems() to items() to be compatible with py3
Paul Bonaud [Fri, 21 Sep 2018 09:04:50 +0000 (11:04 +0200)]
warnings: Remove warning given by Ansible 2.5
```
[DEPRECATION WARNING]: Using tests as filters is deprecated. Instead of using `result|failed` instead
use `result is failed`. This feature will be removed in version 2.9. Deprecation warnings can be
disabled by setting deprecation_warnings=False in ansible.cfg.
```
paulrbr-fl [Thu, 20 Sep 2018 15:36:29 +0000 (17:36 +0200)]
Merge pull request #9 from paulrbr-fl/ci-status-img
readme: Add the CI status as a image badge
Paul Bonaud [Thu, 20 Sep 2018 15:31:15 +0000 (17:31 +0200)]
readme: Add the CI status as a image badge
Frédéric Menou [Mon, 9 Jul 2018 09:58:08 +0000 (11:58 +0200)]
Merge pull request #8 from fmenou/nix
Use Nix for build
Frédéric Menou [Sun, 8 Jul 2018 01:08:41 +0000 (03:08 +0200)]
Use Nix for build
Frédéric Menou [Wed, 18 Apr 2018 13:48:19 +0000 (15:48 +0200)]
Update Travis-Slack integration
Frédéric Menou [Fri, 30 Mar 2018 21:48:43 +0000 (23:48 +0200)]
Merge pull request #7 from fmenou/better-wait-deploy
Better wait deploy - take #2
Frédéric Menou [Fri, 30 Mar 2018 14:38:27 +0000 (16:38 +0200)]
Watch and wait for Clever
Frédéric Menou [Wed, 28 Mar 2018 08:14:55 +0000 (10:14 +0200)]
Fix typo
Frédéric Menou [Wed, 28 Feb 2018 13:35:53 +0000 (14:35 +0100)]
Merge pull request #5 from fmenou/metrics-support
Fix bool dump
Frédéric Menou [Wed, 28 Feb 2018 12:41:53 +0000 (13:41 +0100)]
Fix bool dump
Gaëtan [Wed, 28 Feb 2018 08:12:36 +0000 (09:12 +0100)]
Merge pull request #4 from fmenou/metrics-support
Metrics support
Frédéric Menou [Tue, 27 Feb 2018 16:23:07 +0000 (17:23 +0100)]
Missed renamed dict
Frédéric Menou [Tue, 27 Feb 2018 16:22:49 +0000 (17:22 +0100)]
ENABLE_METRICS => clever_metrics ; default to false
Frédéric Menou [Tue, 27 Feb 2018 15:51:02 +0000 (16:51 +0100)]
Merge pull request #3 from fmenou/slack-notifications
Notify the #machine-room Slack channel
Frédéric Menou [Tue, 27 Feb 2018 15:34:11 +0000 (16:34 +0100)]
Fix Travis setup
Frédéric Menou [Tue, 27 Feb 2018 15:28:50 +0000 (16:28 +0100)]
Unrelevant webhook for private project
Might be useful if we open-source it.
Frédéric Menou [Tue, 27 Feb 2018 15:23:28 +0000 (16:23 +0100)]
Notify the #machine-room Slack channel
Gaëtan [Tue, 27 Feb 2018 15:10:14 +0000 (16:10 +0100)]
Merge pull request #2 from gaetanfl/improve_cleverness
Make the role more clever friendly
Gaëtan Duchaussois [Mon, 26 Feb 2018 09:54:37 +0000 (10:54 +0100)]
define safe default variable for clever and rename clever_app_tasks to clever_app_tasks_file
Gaëtan [Fri, 23 Feb 2018 17:10:48 +0000 (18:10 +0100)]
Merge pull request #1 from gaetanfl/first_try
Migrating single tasks file to a galaxy role
Gaëtan Duchaussois [Thu, 22 Feb 2018 13:01:02 +0000 (14:01 +0100)]
add travis file
Gaëtan Duchaussois [Thu, 22 Feb 2018 10:53:19 +0000 (11:53 +0100)]
Migrating single tasks file to a galaxy role
Gaëtan [Thu, 22 Feb 2018 10:36:10 +0000 (11:36 +0100)]
Initial commit