As we begin to remove event-based metrics telemetry, the `record` bench
test becomes an obstacle that needs to be updated at every step.
Given that we have already removed the event channel and plan to remove
the `Record` type entirely, it's suitable to remove the bench test
entirely.
While this is done, the `test-benches` Make target and rust-nightly
travis stage are obsoleted.
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.
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.