]> git.immae.eu Git - github/fretlink/ansible-kong-app.git/log
github/fretlink/ansible-kong-app.git
2 years agoMerge pull request #27 from gaetanfl/fix_upstream_creation_return_code master v0.34.0
Gaëtan [Fri, 10 Dec 2021 16:26:55 +0000 (17:26 +0100)] 
Merge pull request #27 from gaetanfl/fix_upstream_creation_return_code

upstream: allow 200 as a valid return code when adding target

2 years agoMerge branch 'master' into fix_upstream_creation_return_code 27/head
Gaëtan [Fri, 10 Dec 2021 14:11:46 +0000 (15:11 +0100)] 
Merge branch 'master' into fix_upstream_creation_return_code

2 years agoupstream: allow 200 as a valid return code when adding target
Gaëtan Duchaussois [Fri, 10 Dec 2021 14:10:41 +0000 (15:10 +0100)] 
upstream: allow 200 as a valid return code when adding target

2 years agoMerge pull request #26 from gaetanfl/bump_nix_version_cert_error
Gaëtan [Mon, 25 Oct 2021 12:48:00 +0000 (14:48 +0200)] 
Merge pull request #26 from gaetanfl/bump_nix_version_cert_error

ci(bump): bump nix version to avoid certificate error

2 years agoci(bump): bump nix version to avoid certificate error 26/head
Gaëtan Duchaussois [Mon, 25 Oct 2021 12:01:04 +0000 (14:01 +0200)] 
ci(bump): bump nix version to avoid certificate error

3 years agoMerge pull request #25 from paulrbr-fl/update-readme v0.33
paulrbr-fl [Mon, 26 Oct 2020 15:31:15 +0000 (16:31 +0100)] 
Merge pull request #25 from paulrbr-fl/update-readme

README: add a Travis badge with build status

3 years agoREADME: add a Travis badge with build status 25/head
Paul Bonaud [Wed, 14 Oct 2020 08:51:41 +0000 (10:51 +0200)] 
README: add a Travis badge with build status

Also format yaml code with correct color syntax

3 years agoMerge pull request #23 from paulrbr-fl/use-put-for-idempotency
paulrbr-fl [Wed, 14 Oct 2020 08:27:09 +0000 (10:27 +0200)] 
Merge pull request #23 from paulrbr-fl/use-put-for-idempotency

Use PUT methods instead of manually detecting if new or update

3 years agotests: allow fake Kong server to receive PUT requests 23/head
Paul Bonaud [Mon, 12 Oct 2020 15:31:15 +0000 (17:31 +0200)] 
tests: allow fake Kong server to receive PUT requests

3 years agoUse PUT methods instead of manually detecting if new or update
Paul Bonaud [Mon, 12 Oct 2020 15:11:48 +0000 (17:11 +0200)] 
Use PUT methods instead of manually detecting if new or update

Kong supports resource idempotency by calling the `PUT` method on user
creation/update.

Kong will decide by itself whether to create or update the resource.

It's clearer and less code on our side. However we can only do this on
named resources (not possible on Plugins and Routes which are attached
to the `service` with an ID).

3 years agoMerge pull request #22 from paulrbr-fl/improve-doc
paulrbr-fl [Wed, 14 Oct 2020 08:04:29 +0000 (10:04 +0200)] 
Merge pull request #22 from paulrbr-fl/improve-doc

Prepare to open-source this role

3 years agoImprove README documentation, add a LICENSE file and add test case 22/head
Paul Bonaud [Mon, 12 Oct 2020 14:00:06 +0000 (16:00 +0200)] 
Improve README documentation, add a LICENSE file and add test case

3 years agoMerge pull request #21 from paulrbr-fl/add-slack-token
paulrbr-fl [Mon, 12 Oct 2020 09:28:05 +0000 (11:28 +0200)] 
Merge pull request #21 from paulrbr-fl/add-slack-token

travis: Use encrypted token for slack notifications

3 years agotravis: use recent nixpkgs channel (20.09) to install dependencies 21/head
Paul Bonaud [Mon, 5 Oct 2020 16:48:57 +0000 (18:48 +0200)] 
travis: use recent nixpkgs channel (20.09) to install dependencies

3 years agotravis: Use encrypted token for slack notifications
Paul Bonaud [Mon, 5 Oct 2020 16:34:59 +0000 (18:34 +0200)] 
travis: Use encrypted token for slack notifications

This commit adds a notification on slack for travis builds. The token
is encrypted using the repository key with the `travis` CLI:

```
travis encrypt "<user>:<token>" --add notifications.slack.rooms
```

cf documentation
https://docs.travis-ci.com/user/notifications/#configuring-slack-notifications

3 years agoMerge pull request #20 from paulrbr-fl/add-response-transformer-plugin v0.32
paulrbr-fl [Mon, 24 Aug 2020 11:18:06 +0000 (13:18 +0200)] 
Merge pull request #20 from paulrbr-fl/add-response-transformer-plugin

dhall(plugins): add binding for the 'response-transformer' plugin

3 years agodhall(plugins): add binding for the 'response-transformer' plugin 20/head
Paul Bonaud [Fri, 14 Aug 2020 16:39:27 +0000 (18:39 +0200)] 
dhall(plugins): add binding for the 'response-transformer' plugin

This plugin is very similar to the existing request-transformer
plugin.

We can expose a Dhall helper to generate this plugin configuration as
the other plugins.

3 years agoMerge pull request #19 from paulrbr-fl/dhall-1.33-compat v0.31
paulrbr-fl [Thu, 13 Aug 2020 15:54:24 +0000 (17:54 +0200)] 
Merge pull request #19 from paulrbr-fl/dhall-1.33-compat

dhall: BREAKING CHANGE update dhall config for 1.33+ compatibility

3 years agodhall: BREAKING CHANGE update dhall config for 1.33+ compatibility 19/head
Paul Bonaud [Thu, 13 Aug 2020 14:01:49 +0000 (16:01 +0200)] 
dhall: BREAKING CHANGE update dhall config for 1.33+ compatibility

Since dhall 1.33.0 lang version the `Optional/fold` function is
removed from the language and can be replaced by the usage of the
`merge` function which now works on Optional values 🎉 since 1.29

https://github.com/dhall-lang/dhall-haskell/pull/1608

This new code is thus not compatible with versions of dhall
<1.29.0 (due to the new feature of the `merge` fonction).

4 years agoMerge pull request #18 from paulrbr-fl/pre-function-plugins v0.30
paulrbr-fl [Thu, 2 Jan 2020 15:25:37 +0000 (16:25 +0100)] 
Merge pull request #18 from paulrbr-fl/pre-function-plugins

config(dhall): add a pre-function lua definition for HTTPS redirects

4 years agotests: fake a Kong server 18/head
Paul Bonaud [Thu, 2 Jan 2020 14:25:06 +0000 (15:25 +0100)] 
tests: fake a Kong server

4 years agotests: fix variables in the test playbook
Paul Bonaud [Thu, 2 Jan 2020 13:08:23 +0000 (14:08 +0100)] 
tests: fix variables in the test playbook

4 years agoci: use latest version of Nix binaries and latest Ansible nix pkgs
Paul Bonaud [Thu, 2 Jan 2020 12:48:25 +0000 (13:48 +0100)] 
ci: use latest version of Nix binaries and latest Ansible nix pkgs

4 years agoconfig(dhall): add a pre-function lua definition for HTTPS redirects
Paul Bonaud [Thu, 2 Jan 2020 12:44:05 +0000 (13:44 +0100)] 
config(dhall): add a pre-function lua definition for HTTPS redirects

This PR fixes #12 and takes precedence over #13 (cherry-picked one of
 #13's commit)

4 years agoadd(dhall): introduce pre-function plugin
Hussein Ait-Lahcen [Wed, 24 Apr 2019 13:28:10 +0000 (15:28 +0200)] 
add(dhall): introduce pre-function plugin

4 years agoMerge pull request #17 from clementd-fretlink/polykinds v0.20
Clément Delafargue [Mon, 7 Oct 2019 07:55:50 +0000 (09:55 +0200)] 
Merge pull request #17 from clementd-fretlink/polykinds

upgrade dhall to 1.26.1 and merge types and terms

4 years agoupgrade dhall to 1.26.1 and merge types and terms polykinds 17/head
Clement Delafargue [Thu, 3 Oct 2019 09:31:56 +0000 (11:31 +0200)] 
upgrade dhall to 1.26.1 and merge types and terms

Previously, types were flattened and terms were nested (as are the
directories). For consistency, I made the types nested as well.

4 years agoMerge pull request #16 from paulrbr-fl/add-default-correlation-id v0.10
paulrbr-fl [Thu, 8 Aug 2019 14:07:12 +0000 (16:07 +0200)] 
Merge pull request #16 from paulrbr-fl/add-default-correlation-id

config(dhall): add parameter 'generator' to CorrelationID plugin

4 years agoconfig(dhall): add parameter 'generator' to CorrelationID plugin 16/head
Paul Bonaud [Thu, 8 Aug 2019 13:51:47 +0000 (15:51 +0200)] 
config(dhall): add parameter 'generator' to CorrelationID plugin

This PR adds possibility to define a custom `generator` to use in the
CorrelationID plugin.

The default value ("uuid#counter") is taken from Kong directly
https://docs.konghq.com/hub/kong-inc/correlation-id/#parameters

4 years agoMerge pull request #15 from gaetanfl/display_errors v0.9
Gaëtan [Mon, 13 May 2019 09:50:42 +0000 (11:50 +0200)] 
Merge pull request #15 from gaetanfl/display_errors

Add info on failures

4 years agoAdd info on failures 15/head
Gaëtan Duchaussois [Mon, 13 May 2019 09:28:15 +0000 (11:28 +0200)] 
Add info on failures

5 years agoMerge pull request #14 from paulrbr-fl/upgrade-dhall-version v0.8
paulrbr-fl [Fri, 26 Apr 2019 18:48:05 +0000 (20:48 +0200)] 
Merge pull request #14 from paulrbr-fl/upgrade-dhall-version

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 14/head
Paul Bonaud [Fri, 26 Apr 2019 16:06:35 +0000 (18:06 +0200)] 
dhall(upgrade): upgrade code to be compatible with dhall 1.21.0

5 years agoMerge pull request #11 from gaetanfl/plugin_failure_retry v0.7
Gaëtan [Fri, 5 Apr 2019 11:41:27 +0000 (13:41 +0200)] 
Merge pull request #11 from gaetanfl/plugin_failure_retry

retry in case of failed patch

5 years agoFix retry and missing parenthesis 11/head
Gaëtan Duchaussois [Fri, 5 Apr 2019 09:43:51 +0000 (11:43 +0200)] 
Fix retry and missing parenthesis

5 years agoretry in case of failed patch
Gaëtan Duchaussois [Thu, 4 Apr 2019 14:26:24 +0000 (16:26 +0200)] 
retry in case of failed patch

5 years agoMerge pull request #10 from paulrbr-fl/fix-dhall-config-for-kong-upgrade v0.6
paulrbr-fl [Thu, 4 Apr 2019 11:40:09 +0000 (13:40 +0200)] 
Merge pull request #10 from paulrbr-fl/fix-dhall-config-for-kong-upgrade

dhall(fix): fix for generated configuration for Kong 1.x upgrade

5 years agolint: fix latest recommendations from ansible-lint 10/head
Paul Bonaud [Thu, 4 Apr 2019 11:35:38 +0000 (13:35 +0200)] 
lint: fix latest recommendations from ansible-lint

5 years agodhall(fix): fix for generated configuration for Kong 1.x upgrade
Paul Bonaud [Thu, 4 Apr 2019 10:21:12 +0000 (12:21 +0200)] 
dhall(fix): fix for generated configuration for Kong 1.x upgrade

5 years agoMerge pull request #7 from haitlahcen/dhall-interface v0.5
Gaëtan [Tue, 20 Nov 2018 19:32:43 +0000 (20:32 +0100)] 
Merge pull request #7 from haitlahcen/dhall-interface

add dhall interface

5 years agoadd dhall interface 7/head
Hussein Ait-Lahcen [Mon, 19 Nov 2018 14:51:21 +0000 (15:51 +0100)] 
add dhall interface

5 years agoMerge pull request #6 from fmenou/nix
Frédéric Menou [Mon, 9 Jul 2018 10:16:01 +0000 (12:16 +0200)] 
Merge pull request #6 from fmenou/nix

Use Nix for build

5 years agoUse Nix for build 6/head
Frédéric Menou [Sun, 8 Jul 2018 01:21:46 +0000 (03:21 +0200)] 
Use Nix for build

5 years agoMerge pull request #5 from gaetanfl/support_backend v0.4
Gaëtan [Thu, 17 May 2018 15:11:14 +0000 (17:11 +0200)] 
Merge pull request #5 from gaetanfl/support_backend

Support ring-balancer

5 years agoadd more info on README 5/head
Gaëtan Duchaussois [Wed, 16 May 2018 13:29:57 +0000 (15:29 +0200)] 
add more info on README

5 years agotarget might be marked as absent if unhealthy
Gaëtan Duchaussois [Tue, 15 May 2018 14:43:03 +0000 (16:43 +0200)] 
target might be marked as absent if unhealthy

5 years agofix test file
Gaëtan Duchaussois [Mon, 14 May 2018 14:27:22 +0000 (16:27 +0200)] 
fix test file

5 years agoadd support for upstream with multiple targets
Gaëtan Duchaussois [Mon, 14 May 2018 14:22:00 +0000 (16:22 +0200)] 
add support for upstream with multiple targets

6 years agoMerge pull request #3 from gaetanfl/multiplekong_servers v0.3
Gaëtan [Fri, 27 Apr 2018 08:23:37 +0000 (10:23 +0200)] 
Merge pull request #3 from gaetanfl/multiplekong_servers

support multiple kong servers

6 years agofix README 3/head
Gaëtan Duchaussois [Fri, 27 Apr 2018 07:39:57 +0000 (09:39 +0200)] 
fix README

6 years agosupport multiple kong servers
Gaëtan Duchaussois [Thu, 26 Apr 2018 16:15:47 +0000 (18:15 +0200)] 
support multiple kong servers

6 years agoMerge pull request #2 from gaetanfl/hide_credentials_plugins v0.2
Gaëtan [Mon, 23 Apr 2018 14:49:40 +0000 (16:49 +0200)] 
Merge pull request #2 from gaetanfl/hide_credentials_plugins

disable log for plugin setup

6 years agodisable log for plugin setup 2/head
Gaëtan Duchaussois [Mon, 23 Apr 2018 14:46:27 +0000 (16:46 +0200)] 
disable log for plugin setup

6 years agoMerge pull request #1 from gaetanfl/initial_version v0.1
Gaëtan [Mon, 23 Apr 2018 08:57:50 +0000 (10:57 +0200)] 
Merge pull request #1 from gaetanfl/initial_version

initial version

6 years agosetup an array of services 1/head
Gaëtan Duchaussois [Mon, 23 Apr 2018 08:35:56 +0000 (10:35 +0200)] 
setup an array of services

6 years agofix deprecation warning
Gaëtan Duchaussois [Fri, 20 Apr 2018 13:00:52 +0000 (15:00 +0200)] 
fix deprecation warning

6 years agoadd travis configuration and fix tests
Gaëtan Duchaussois [Fri, 20 Apr 2018 12:40:33 +0000 (14:40 +0200)] 
add travis configuration and fix tests

6 years agoAfter testing
Gaëtan Duchaussois [Fri, 20 Apr 2018 10:14:40 +0000 (12:14 +0200)] 
After testing

6 years agoinitial version
Gaëtan Duchaussois [Fri, 20 Apr 2018 08:04:41 +0000 (10:04 +0200)] 
initial version

6 years agoREADME
Gaëtan Duchaussois [Fri, 20 Apr 2018 08:01:33 +0000 (10:01 +0200)] 
README