Ludovic Fernandez
a09dfa3ce1
Dynamic Configuration Refactoring
2018-11-14 10:18:03 +01:00
Jean-Baptiste Doumenjou
f0589b310f
Fix multiple frontends with docker-compose --scale
2018-04-16 18:14:04 +02:00
Fernandez Ludovic
21e28ae848
Merge branch 'v1.5' into master
2018-02-21 16:55:57 +01:00
Michael
31550fd2c9
Replace nginx by whoami in integration tests
2018-02-21 16:28:03 +01:00
Ludovic Fernandez
750878d668
homogenization of templates: Docker
2018-01-09 16:26:03 +01:00
Fernandez Ludovic
ae2ae85070
refactor(docker): rewrite configuration system.
2017-12-05 19:40:04 +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
Ludovic Fernandez
05a9350e57
Use contants from http package.
2017-11-20 09:40:03 +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
Ludovic Fernandez
bdeb7bfb9f
Display Traefik logs in integration test
2017-09-13 10:34:04 +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
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
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
Vincent Demeester
061107b65f
Update docker dependencies to fix issues
...
Update engine-api, libcompose and related dependencies (including
libkermit), to fix issues with docker v1.9.1 and lower.
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
2016-05-12 17:10:42 +02:00
Vincent Demeester
e1448eb238
A small update of libkermit
...
Using compose/check package (and less code)
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
2016-04-02 12:40:21 +02:00
Emile Vauge
8737530a7d
Refactor frontends rules
...
Signed-off-by: Emile Vauge <emile@vauge.com>
2016-03-31 13:11:07 +02:00
Vincent Demeester
87bad71bec
Use libkermit for integration test
...
Using the compose package for starting and stopping project.
2016-03-27 19:58:08 +02:00
emile
35070f7c1c
Use of Viper and cobra
2016-01-27 13:56:46 +01:00
Vincent Demeester
15318c4631
Fix docker labels (frontend.*)
...
Using Docker provider, you can specify `traefik.frontend.rule` and
`traefik.frontend.value` labels. If they are not both provided, there is
a default behavior. On the current master, if they are not defined, the
container is filtered (and thus the default behavior is broken).
Fixes that.
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
2015-11-05 15:14:25 +01:00
emile
5a979b3dd6
Changed sleep to 500ms in tests
2015-10-08 22:11:34 +02:00
Vincent Demeester
ecbfbd4de0
Make fixtures files template-able :)
...
So it can adapt to certain env (like tcp vs unix socket for docker suite)
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
2015-09-28 22:46:45 +02:00
Vincent Demeester
ad60b301b7
Add initial test-integration suites
...
Uses go-check in order to separate integration tests into suites, and
have Setup and TearDown operations (on Suites and Tests) ; and use
libcompose to start the external dependencies to test on (like consul,
marathon, etcd, some http images, etc..).
- Update Godeps to get dependencies needed for the use of libcompose
- Setup initial suites and go-check + libcompose mini-framework
- Add some hacks related to libcompose, will be fixed later (when fixed
upstream)
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
2015-09-28 20:29:35 +02:00