- fixed dependencies order and renamed Makefile target
- extracted docker run params into DOCKER_RUN_OPTS
- crossbinary-default contains 64bit Linux, Win and Darwin
- crossbinary-others contains 32bit Linux, Win, Darwin and 32/64bit *bsd
- added dependencies to crossbinary-default and crossbinary-others targets
- Add helper script to simplify glide usage.
- Add validation script for unwanted changes to vendoring.
- Relax/tighten up .{git,docker}ignore to cover vendored files properly.
- .validate: Protect from unbound variable in case of nounset setting.
- Install more recent hg version in the build container.
- Remove glide installation steps from Dockerfile.
- Update documentation.
git rev-parse --abbrev-ref HEAD can return results in a couple different ways:
1) tag v1.1.0-rc3 exists and branch==v1.1.0-rc3
result: heads/v1.1.0-rc3
2) tag v1.1.0-rc3 doesn't exist and branch==v1.1.0-rc3
result: v1.1.0-rc3
Strip it off GIT_BRANCH regardless as it will break the build. e.g.
$ make binary
docker build -t "traefik-dev:heads/v1.1.0-rc3" -f build.Dockerfile .
invalid value "traefik-dev:heads/v1.1.0-rc3" for flag -t: Error parsing reference: "traefik-dev:heads/v1.1.0-rc3" is not a valid repository/tag
See 'docker build --help'.
Makefile:51: recipe for target 'build' failed
make: *** [build] Error 125
Using the VERBOSE environment variable, tests and binary compilation are
ran in verbose mode (using -v), but by default there are more quiet O:).
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
- target generate-webui depends on build-webui
- generate-webui will run only if the folder static does not exists
- create compose project before starting it >_<'', otherwise it does
nothing :'D
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
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>
… for integration tests.
- Update circle.yml to start the docker daemon listening on TCP (to be
able to talk to it from the container running test-integration)
- Update script/test-integration to prepare the use of go-check
- Update Makefile in order to run less "binary" target and setting up
the right environment variable for the builds
Signed-off-by: Vincent Demeester <vincent@sbr.pm>