a009dfc425
make smoke was the bisector for "is the bug in :quic or in the runner
environment?" while we were debugging the initial close-path / PTO /
padding issues. Now that the runner reliably runs the matrix end-to-end
(handshake + chacha20 green vs aioquic), smoke's only job — running
picoquic outside the runner — is unneeded, and the picoquic image
keeps changing its entrypoint / required args in ways that make smoke
finicky to maintain.
Removes:
- make smoke / smoke-down targets
- SMOKE_NET / SMOKE_PICOQUIC / SMOKE_CLIENT vars
- SMOKE_MODE handling in run_endpoint.sh (just always tolerates
/setup.sh failure now — same effect, less ceremony)
- Plan doc note about make smoke updated to reflect removal.
If we ever need a non-runner bisector again, it's two `docker run`
commands; not worth permanent maintenance.
https://claude.ai/code/session_01HcvfQq1ttPV9PkRoJb4nyT
29 lines
907 B
Makefile
29 lines
907 B
Makefile
# Local iteration loop for the quic-interop-runner endpoint image.
|
|
#
|
|
# make build # compile JVM dist + build Docker image
|
|
# make image-name # print the image tag (for use in implementations_quic.json)
|
|
# make clean # nuke the dist + image
|
|
#
|
|
# Real testing happens via the runner: clone quic-interop-runner separately
|
|
# and drive it with `quic/interop/run-matrix.sh -s <peer> -t <tests>`.
|
|
IMAGE ?= amethyst-quic-interop:latest
|
|
REPO_ROOT := $(shell git rev-parse --show-toplevel)
|
|
DIST_DIR := build/install/quic-interop
|
|
|
|
.PHONY: build dist docker image-name clean
|
|
|
|
build: docker
|
|
|
|
dist:
|
|
cd $(REPO_ROOT) && ./gradlew :quic-interop:installDist
|
|
|
|
docker: dist
|
|
cd $(REPO_ROOT) && docker build -t $(IMAGE) -f quic/interop/Dockerfile .
|
|
|
|
image-name:
|
|
@echo $(IMAGE)
|
|
|
|
clean:
|
|
cd $(REPO_ROOT) && ./gradlew :quic-interop:clean
|
|
docker image rm -f $(IMAGE) 2>/dev/null || true
|