Ludovic Fernandez
dcba74deb9
Display file log when test fails.
2018-02-05 09:48:03 +01:00
Marco Jantke
ef4aa202d0
Fix high memory usage in retry middleware
2018-01-26 18:22:03 +01:00
Michael
9f741abd84
Fix integration tests in tracing
2018-01-25 12:00:05 +01:00
Bastiaan Bakker
32ccc26712
Add username in accesslog
2018-01-24 18:18:03 +01:00
NicoMen
563a0bd274
Migrate from libkv to valkeyrie library
2018-01-24 17:52:03 +01:00
Fernandez Ludovic
c878d262bf
refactor: remove Tracing integration tests.
2018-01-24 15:20:47 +01:00
Fernandez Ludovic
c8446c2dc8
Merge branch 'v1.5' into master
2018-01-24 15:11:21 +01:00
Ludovic Fernandez
00e0571811
Rename TLSConfigurations to TLS.
2018-01-23 16:30:07 +01:00
Ludovic Fernandez
fb4ba7af2b
Migrate Sirupsen to sirupsen.
2018-01-22 12:16:03 +01:00
SALLEYRON Julien
d8297a055a
Fix breaking change in web metrics
2018-01-19 14:30:04 +01:00
SALLEYRON Julien
ced5aa5dc6
Challenge HTTP must ignore deprecated web.path option
2018-01-17 18:46:03 +01:00
Fernandez Ludovic
89d90de7d8
Merge branch '1.5.0-rc5' into master
2018-01-15 17:27:37 +01:00
SALLEYRON Julien
3e439cc39b
Add Let's Encrypt HTTP Challenge
2018-01-15 16:04:05 +01:00
Michael
709d50836b
Fix bad access log
2018-01-11 10:04:03 +01:00
SALLEYRON Julien
e2c5f3712f
Fix redirect problem on dashboard + docs/tests on [web]
2018-01-11 09:46:03 +01:00
Michael
30ffba78e6
Opentracing support
2018-01-10 17:48:04 +01:00
Ludovic Fernandez
750878d668
homogenization of templates: Docker
2018-01-09 16:26:03 +01:00
Fernandez Ludovic
617b8b20f0
Merge branch 'v1.5' into master
2018-01-09 15:46:56 +01:00
Ludovic Fernandez
8a697f7a39
Fix: timeout integration test
2018-01-09 10:08:03 +01:00
Fernandez Ludovic
f0a733d6d6
refactor(consulcatalog): new template methods approach.
2018-01-04 11:42:03 +01:00
Fernandez Ludovic
c84fb9895e
Merge branch 'v1.5' into master
2018-01-02 15:21:17 +01:00
Fernandez Ludovic
be0dd71bb4
refactor(kv): split provide and configuration.
2018-01-02 11:46:02 +01:00
NicoMen
9a7821b8fa
Send empty configuration from file provider
2017-12-21 21:24:03 +01:00
lishaoxiong
e8333883df
Add tests for TLS dynamic configuration in ETCD3
2017-12-21 18:02:04 +01:00
NicoMen
1e44e339ad
Allow deleting dynamically all TLS certificates from an entryPoint
2017-12-21 14:16:03 +01:00
Fernandez Ludovic
f6520727a3
Merge branch 'v1.5' into master
2017-12-15 22:16:48 +01:00
Michael
b17d5b80b8
Reload configuration when port change for one service
2017-12-15 20:52:03 +01:00
NicoMen
c446c291d9
Use default entryPoints when certificates are added with no entryPoints.
2017-12-08 11:02:03 +01:00
Fernandez Ludovic
0472d19bd4
refactor: fix some code.
2017-12-05 19:40:04 +01:00
Fernandez Ludovic
cee022b935
refactor(marathon): rewrite configuration system.
2017-12-05 19:40:04 +01:00
Fernandez Ludovic
ae2ae85070
refactor(docker): rewrite configuration system.
2017-12-05 19:40:04 +01:00
SALLEYRON Julien
e27e65eb76
Fix wrong defaultentrypoint and unexisting entrypoint issue
2017-11-30 16:10:02 +01:00
SALLEYRON Julien
40b3c17703
Fix metrics problem on multiple entrypoints
2017-11-30 12:18:03 +01:00
Fernandez Ludovic
3d452fd5b9
Merge branch 'v1.4' into master
2017-11-28 14:03:55 +01:00
Michael
47a5cfbd3e
Fix empty ip when container is stopped
2017-11-28 13:58:04 +01:00
lishaoxiong
1feeeb2eec
Manage certificates dynamically in kv store
2017-11-23 11:50:03 +01:00
SALLEYRON Julien
bee8ebb00b
Resync oxy with original repository
2017-11-22 18:20:03 +01:00
Emile Vauge
7ddefcef72
Add file to storeconfig
2017-11-21 10:24:03 +01:00
Ludovic Fernandez
05a9350e57
Use contants from http package.
2017-11-20 09:40:03 +01:00
NicoMen
66e489addb
Update libkv dependency
2017-11-17 17:22:03 +01:00
Fernandez Ludovic
8719f2836e
Merge 'v1.4.3' into master
...
Release v1.4.3
2017-11-15 23:01:08 +01:00
Ludovic Fernandez
0c702b0b6b
Revert "Merge v1.4.2 into master"
2017-11-15 18:18:03 +01:00
Ludovic Fernandez
6fcab72ec7
Merge v1.4.2 into master
2017-11-14 16:48:03 +01:00
Michael
5ee2cae85c
Fix Traefik reload if Consul Catalog tags change
2017-11-13 12:14:02 +01:00
NicoMen
4f4491c247
Allow adding optional Client CA files
2017-11-10 10:30:04 +01:00
SALLEYRON Julien
27d1b46835
Split Web into API/Dashboard, ping, metric and Rest Provider
2017-11-09 16:12:04 +01:00
NicoMen
c469e669fd
Make the TLS certificates management dynamic.
2017-11-09 12:16:03 +01:00
SALLEYRON Julien
f6aa147c78
Add tests for websocket headers
2017-11-09 10:04:03 +01:00
Fernandez Ludovic
2070aa9443
Merge 'v1.4.2' into master
2017-11-03 13:51:24 +01:00
NicoMen
dc66db4abe
Make the traefik.port label optional when using service labels in Docker containers.
2017-10-30 15:10:05 +01:00
NicoMen
da7b6f0baf
Make frontend names differents for similar routes
2017-10-30 12:06:03 +01:00
Emile Vauge
e8633d17e8
Add proxy protocol tests
2017-10-30 10:02:03 +01:00
Fernandez Ludovic
a0c72cdf00
Merge v1.4.1 into master
2017-10-25 11:36:14 +02:00
SALLEYRON Julien
7400c39511
Stream mode when http2
2017-10-24 14:38:02 +02:00
SALLEYRON Julien
afbad56012
Force http/1.1 for websocket
2017-10-20 17:38:04 +02:00
Fernandez Ludovic
7192aa86b5
Merge 'v1.4.0' into master
2017-10-16 23:10:44 +02:00
Michael
3afd6024b5
Fix consul catalog retry
2017-10-16 16:58:03 +02:00
Timo Reimann
914f3d1fa3
Do not run integration tests by default.
2017-10-13 11:08:03 +02:00
Fernandez Ludovic
9faae7387e
Merge tag 'v1.4.0-rc5' into master
2017-10-10 17:17:44 +02:00
SALLEYRON Julien
93a1db77c5
Move http2 configure transport
2017-10-10 12:14:03 +02:00
Marco Jantke
9db8773055
fix flakiness in log rotation test
2017-10-06 09:20:13 +02:00
Fernandez Ludovic
cf508b6d48
Merge 'v1.4.0-rc4' into master
2017-10-02 17:18:24 +02:00
SALLEYRON Julien
4fe9cc7730
Add tests for urlencoded part in url
2017-10-02 15:36:02 +02:00
Ludovic Fernandez
5cc49e2931
bug
command.
2017-10-02 10:32:02 +02:00
SALLEYRON Julien
b6752a2c02
Forward upgrade error from backend
2017-09-29 21:04:03 +02:00
SALLEYRON Julien
64c52a6921
Consul catalog remove service failed
2017-09-29 16:30:03 +02:00
Timo Reimann
1c98a9ad3e
Add request accepting grace period delaying graceful shutdown.
2017-09-26 10:22:03 +02:00
Fernandez Ludovic
d6ef8ec3d1
Merge branch 'v1.4' into master
2017-09-21 11:37:33 +02:00
SALLEYRON Julien
795a346006
Flaky tests and refresh problem in consul catalog
2017-09-20 19:08:02 +02:00
Fernandez Ludovic
2cbf9cae71
Merge tag 'v1.4.0-rc3' into master
2017-09-18 21:52:44 +02:00
Frédéric Logier
49e0e20ce2
fix healthcheck port
2017-09-18 15:50:03 +02:00
Fernandez Ludovic
2296aab5a8
refactor: unflaky access log.
2017-09-18 09:44:03 +02:00
Ludovic Fernandez
bdeb7bfb9f
Display Traefik logs in integration test
2017-09-13 10:34:04 +02:00
Ben Parli
d54417acfe
Rate limiting for frontends
2017-09-09 13:36:03 +02:00
SALLEYRON Julien
f80a6ef2a6
Fix consul catalog refresh problems
2017-09-08 20:50:04 +02:00
Michael
b705e64a8a
Add Basic auth for consul catalog
2017-09-07 15:28:02 +02:00
Chulki Lee
8c5514612f
Fix whitespaces
2017-09-07 12:02:03 +02:00
SALLEYRON Julien
03ba8396f3
Add test for SSL TERMINATION in Websocket
2017-09-06 09:36:02 +02:00
Daniel Rampelt
52b69fbcb8
Add forward authentication option
2017-08-25 18:22:03 +02:00
Michael
f16219f90a
Exposed by default feature in Consul Catalog
2017-08-25 17:32:03 +02:00
SALLEYRON Julien
e0af17a17a
Refactor globalConfiguration / WebProvider
2017-08-25 16:10:03 +02:00
Fernandez Ludovic
04e65958ee
Merge 'v1.3.6'
2017-08-22 16:23:18 +02:00
Alex Antonov
ec3e2c08b8
Support multi-port service routing for containers running on Marathon
2017-08-21 10:46:03 +02:00
Marco Jantke
14a0d66410
Add configurable timeouts and curate default timeout settings
2017-08-18 15:34:04 +02:00
Ludovic Fernandez
759c269dee
Code cleaning.
2017-08-18 02:18:02 +02:00
Richard Shepherd
4e5fcac9cb
Add log file close and reopen on receipt of SIGUSR1
2017-08-11 12:04:58 +02:00
Timo Reimann
64b8fc52c3
[marathon] Fix and extend integration tests.
...
- Update compose file.
- Add integration test for Marathon application deployment.
2017-08-10 21:58:08 +02:00
Christoph Glaubitz
ff11467022
Bind healthcheck to backend by entryPointName
2017-08-10 18:00:31 +02:00
SALLEYRON Julien
990ee89650
Add helloworld tests with gRPC
2017-08-06 11:55:42 +02:00
Fernandez Ludovic
d456c2ce6a
Merge 'v1.3.5'
2017-08-01 19:32:44 +02:00
SALLEYRON Julien
1b4dc3783c
Oxy with fixes on websocket + integration tests
2017-08-01 15:24:08 +02:00
Julien Salleyron
888e6dcbc8
Oxy with gorilla for websocket(+integration tests)
2017-07-27 15:43:12 +02:00
Marco Jantke
074b31b5e9
respond with 503 on empty backend
2017-07-19 19:28:24 +02:00
Ludovic Fernandez
d653a348b1
Factorize labels
...
* refactor(accesslog): factorize file name.
* traefik.frontend.rule
* traefik.frontend.value
* traefik.backend.circuitbreaker.expression
* traefik.enable
* traefik.backend.loadbalancer.method
* traefik.backend.loadbalancer.sticky
* traefik.backend.maxconn.amount
* traefik.backend.maxconn.extractorfunc
* traefik.port
* traefik.tags
* traefik.backend
* traefik.weight
* traefik.domain
* traefik.protocol
* traefik.frontend.passHostHeader
* traefik.frontend.whitelistSourceRange
* traefik.frontend.priority
* traefik.frontend.entryPoints
* traefik.frontend.auth.basic
* traefik.backend.id
* traefik.backend.circuitbreaker
* traefik.frontend.rule.type
* traefik.portIndex
* refactor(docker): specific labels
* refactor(rancher): specific labels
* traefik.backend.healthcheck.*
* refactor(providers): factorize labels.
2017-07-10 16:58:12 +02:00
Ludovic Fernandez
2e84b1e556
Enhance integration tests
...
* refactor: remove unused code.
* refactor: factorize Traefik cmd start.
* refactor(whitelist): minor change.
* refactor(accesslog): better use of checker.
* refactor(errorpages): factorize containers IP variables.
* refactor(integration): refactor cmdTraefikWithConfigFile.
2017-07-10 14:58:31 +02:00
Vincent Demeester
b7daa2f3a4
Update traefik dependencies (docker/docker and related) ( #1823 )
...
Update traefik dependencies (docker/docker and related)
- Update dependencies
- Fix compilation problems
- Remove vdemeester/docker-events (in docker api now)
- Remove `integration/vendor`
- Use `testImport`
- update some deps.
- regenerate the lock from scratch (after a `glide cc`)
2017-07-06 16:28:13 +02:00
Ludovic Fernandez
22aceec426
Re-think integration vendoring
...
- remove docker/docker from Traefik vendor (unused)
- use `ignore` for all Traefik vendor in integration glide.
- defined only integration specific version of the dependencies.
2017-07-03 11:53:31 +02:00
Ben Parli
121c057b90
Custom Error Pages ( #1675 )
...
* custom error pages
2017-07-01 01:04:18 +02:00
Julien Salleyron
81d011e57d
Handle RootCAs Certificate
2017-06-30 14:56:55 +02:00
Richard Shepherd
4128c1ac8d
Allow file provider to load config from files in a directory.
2017-06-27 16:58:04 +02:00
Fernandez Ludovic
73e10c96cc
Merge branch 'v1.3'
2017-06-27 14:42:12 +02:00
nmengin
631079a12f
feature: Add provided certificates check before to generate ACME certificate when OnHostRule is activated
...
- ADD TI to check the new behaviour with onHostRule and provided certificates
- ADD TU on the getProvidedCertificate method
2017-06-26 18:32:55 +02:00
Alex Antonov
7d6c778211
Enhanced flexibility in Consul Catalog configuration
2017-06-12 21:18:55 +02:00
Richard Shepherd
64e8b31d49
Switch access logging to logrus
2017-05-24 14:20:42 +02:00
Fernandez Ludovic
2610023131
refactor: Deflake and Try package
...
- feat: add CI multiplier
- refactor: readability
- feat: custom Sleep function
- refactor(integration): use custom Sleep
- feat: show Try progress
- feat(try): try response with status code
- refactor(try): use a dedicate package.
- refactor(integration): Try everywhere
- feat(CI): pass CI env var to Integration Tests.
- refactor(acme): increase timeout.
- feat(acme): show Traefik logs
- refactor(integration): use `http.StatusXXX`
- refactor: remove Sleep
2017-05-18 22:34:15 +02:00
Attilio Borello
bdf4f48d78
replaced docker images with alpine if available (nginx, rabbitmq)
2017-05-16 14:33:06 +02:00
Attilio Borello
6838a81e50
replaced docker images with alpine if available (nginx, rabbitmq)
2017-05-10 11:24:19 +02:00
Timo Reimann
5d43b9e16a
Add HealthCheckSuite to list of integration tests.
2017-04-28 18:17:25 +02:00
Timo Reimann
71a2c8bdcd
Fix health check integration test suite typo.
2017-04-28 18:17:25 +02:00
Timo Reimann
8fd6160758
Fix health check path key name in Marathon template.
2017-04-28 18:17:25 +02:00
Vincent Demeester
542c3673e4
Extract providers to their own package
...
This is just doing that and making it compile :)
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
2017-04-18 13:24:17 +02:00
Emile Vauge
aeb17182b4
Merge v1.2.1-master
...
Signed-off-by: Emile Vauge <emile@vauge.com>
2017-04-11 22:36:56 +02:00
Taylor Skinner
72e35af39f
add dynamo
...
Signed-off-by: Taylor Skinner <tskinn12@gmail.com>
add some comments
Signed-off-by: Taylor Skinner <tskinn12@gmail.com>
update readmes
make test runnable
Signed-off-by: Taylor Skinner <tskinn12@gmail.com>
make test
squash! add dynamo
add glide.lock
format imports
gofmt
update glide.lock
fixes for review
golint
clean up and reorganize tests
add dynamodb integration test
remove default region. clean up tests. consistent docs
forgot the region is required
DRY
make validate
update readme and commit dependencies
2017-03-16 10:12:26 -06:00
Timo Reimann
55b57c736b
Vendor integration dependencies.
2017-03-09 13:13:03 +01:00
Julien Salleyron
f87b1c2fcd
Wrong tests docker images
2017-03-06 17:45:58 +01:00
Julien Salleyron
aa2edcc6e5
Add some integration test
2017-03-06 17:45:58 +01:00
WTFKr0
250a0863f6
Tab Lint
...
Signed-off-by: WTFKr0 <thomas.kovatchitch@gmail.com>
2017-02-06 15:38:18 +01:00
WTFKr0
b1764a6864
Adapt test to new urls
...
Signed-off-by: WTFKr0 <thomas.kovatchitch@gmail.com>
2017-02-06 15:38:18 +01:00
Thomas Recloux
599c95e5f6
Add ACME/Let’s Encrypt integration tests
...
Thx @gwallet for the help.
2016-12-22 10:11:37 +01:00
Emile Vauge
dca08af003
Merge v1.1.1 into master
...
Signed-off-by: Emile Vauge <emile@vauge.com>
2016-12-06 08:44:23 +01:00
Ed Robinson
d1e631a487
Flatten dependencies
...
Deps for the integration suite are handled seperately, and not
flattend, as glide can't read the version info from docker/docker
2016-11-30 19:16:48 +01:00
Julien Salleyron
5b71e3184a
fix: lint
2016-11-20 18:34:42 +01:00
Julien Salleyron
e1724444ac
test(integration-test): Integration test for eureka
2016-11-20 18:25:48 +01:00
Julien Salleyron
d2dcec40e1
test(integration-test): First test for eureka
2016-11-16 23:21:47 +01:00
Ed Robinson
5c0297fb61
Context is part of the stdlib on 1.7
2016-11-16 14:03:23 +00:00
Ed Robinson
ac20ddfc6c
Fix golint
...
recent additions to golint mean that a number of files cause the
build to start failing if they are edited (we only run against changed
files)
This fixes all the errors in the repo so things don't unexpectedly start
failing for people making PRs
2016-11-16 11:52:15 +01:00
Ed Robinson
b0efd685a9
Fix golint
...
recent additions to golint mean that a number of files cause the
build to start failing if they are edited (we only run against changed
files)
This fixes all the errors in the repo so things don't unexpectedly start
failing for people making PRs
2016-11-16 08:56:52 +00:00
Thomas Recloux
3095da64d7
Check that we provide HTTP/2
2016-11-14 09:10:47 +01:00
Emile Vauge
e72e65858f
Challenge certs PEM encoding
...
Signed-off-by: Emile Vauge <emile@vauge.com>
2016-09-30 11:26:25 +02:00
Emile Vauge
5a0440d6f8
Add KV datastore
...
Signed-off-by: Emile Vauge <emile@vauge.com>
2016-09-30 11:26:05 +02:00
Emile Vauge
364958cbaf
Move jobs backoff back into traefik
...
https://github.com/cenk/backoff/pull/27#issuecomment-245842725
2016-09-27 21:45:29 +02:00
Emile Vauge
d340ccd601
Migrate to JobBackOff
2016-08-19 14:24:09 +02:00
Bruce Lee
3a736ad4a8
Make duration logging consistent
...
GH #559 points out that the logging of the elapsed time is inconsistent
depending on the scale of the measured time; this is due to Duration’s
String handling.
With this PR, I propose that traefik logs millis, and not fractions of
millis.
2016-08-15 08:43:20 -04:00
Emile Vauge
e62cca1e7c
Merge v1.0.1
...
Signed-off-by: Emile Vauge <emile@vauge.com>
2016-07-28 20:15:09 +02:00
Martin
1bb3d9be73
add command storeconfig
...
add test integration command storeconfig
update doc
2016-07-22 15:20:47 +02:00
Vincent Demeester
c170ddc7ae
Upgrade libkermit and dependencies
...
And use ContainerAPIClient where needed 👼
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
2016-07-21 17:43:05 +02:00
Martin
b153e90ec5
add createStore() funcs and skip consul TLS test
2016-07-21 09:22:35 +02:00
Martin
b83fb525a8
Add TLS support for etcd and consul
2016-07-21 09:22:35 +02:00
Martin
e26e0955b3
add struct ClientTLS : supports either a paths to a file or directly the certificate
2016-07-21 09:22:35 +02:00
Martin
7ada80b619
Certificate can contain path or file contents
...
Signed-off-by: Martin <martin.piegay@zenika.com>
2016-07-21 09:22:35 +02:00
Martin
056e0fe2d9
Use KvStores as global config source
2016-07-21 09:22:35 +02:00
Anders Betnér
664bc9cae0
Added tests for client certificate authentication
2016-07-20 14:41:38 +02:00
julien
5afcf17706
add mesos provider inspired by mesos-dns & marathon provider
2016-07-20 11:56:14 +02:00
Vincent Demeester
b80479f9ef
Option to disable expose of all docker containers
...
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
2016-07-14 11:32:15 +02:00
Ed Robinson
c719aa3db8
Fix default etcd port
...
Fixes #508
2016-07-11 13:14:43 +01:00
Emile Vauge
cc4fb64b34
Add routes priorities in integration tests
...
Signed-off-by: Emile Vauge <emile@vauge.com>
2016-06-07 09:18:37 +02:00
Emile Vauge
3f08bb4cdf
Fix panic on help, Better version
...
Signed-off-by: Emile Vauge <emile@vauge.com>
2016-06-02 15:17:04 +02:00
Samuel BERTHE
1de5434e1a
refacto(constraints): Migration to Flaeg cli library
2016-06-01 10:30:34 +02:00
Samuel BERTHE
f46accc74d
test(constraint): unit tests + integration tests + make validate
2016-06-01 10:30:34 +02:00
Martin
7f6b2b80f8
rm useless TestNoOrInexistentConfigShouldNotFail
...
Signed-off-by: Martin <martin.piegay@zenika.com>
2016-05-27 10:06:19 +02:00