Commit Graph

2 Commits

Author SHA1 Message Date
Oliver Gould 8db765c7bc
dev: Add a Dockerfile for development (#3)
When working on the proxy, it's important to be able to build a Docker
image that can be tested in the context of the existing linkerd2
project.

This change adds a `make docker` target that produces a docker image,
optionally tagged via the `DOCKER_TAG` environment variable.

This is intended to be used for development--especially on non-Linux
OSes.
2018-07-11 15:27:33 -07:00
Oliver Gould 02a64e980f
ci: Publish artifacts to build.l5d.io
In order to setup continuous integration, proxy artifacts need to be
published somewhere predictable and discoverable. This change configures
Travis CI to publish proxy artifacts built from master to:

    build.l5d.io/linkerd2-proxy/linkerd2-proxy-${ref}.tar.gz
    build.l5d.io/linkerd2-proxy/linkerd2-proxy-${ref}.txt

The tarball includes an optimized proxy binary and metadata (right now, just
the LICENSE file, but later this should include additional version/build
metadata that can be used for runtime diagnostics).

The text file includes the sha256 sum of the tarball.

A `Makefile` is introduced to encapsulate build logic so that it can both
drive CI and be used manually.

Travis CI is configured to run debug-mode tests against PRs and to run a full
release package-test-publish for commits to
master.
2018-07-08 14:24:25 -07:00