diff --git a/docker-compose.next.yml b/docker-compose.next.yml index c9b77f97e6e..0794fa4fa5d 100644 --- a/docker-compose.next.yml +++ b/docker-compose.next.yml @@ -5,3 +5,4 @@ services: FAKE_DNS: 10.77.77.77 BOULDER_CONFIG_DIR: &boulder_config_dir test/config-next GOFLAGS: -mod=vendor + GOCACHE: /boulder/.gocache/go-build-next diff --git a/docker-compose.yml b/docker-compose.yml index 2483a6a3bbb..e54d185a272 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -9,6 +9,7 @@ services: # FAKE_DNS: 172.17.0.1 FAKE_DNS: 10.77.77.77 BOULDER_CONFIG_DIR: test/config + GOCACHE: /boulder/.gocache/go-build GOFLAGS: -mod=vendor # Forward the parent env's GOEXPERIMENT value into the container. GOEXPERIMENT: ${GOEXPERIMENT} diff --git a/test.sh b/test.sh index 3acbaf26e05..b69d5ec1799 100755 --- a/test.sh +++ b/test.sh @@ -191,6 +191,7 @@ trap "print_outcome" EXIT settings="$(cat -- <<-EOM RUN: ${RUN[@]} BOULDER_CONFIG_DIR: $BOULDER_CONFIG_DIR + GOCACHE: $(go env GOCACHE) UNIT_PACKAGES: ${UNIT_PACKAGES[@]} UNIT_FLAGS: ${UNIT_FLAGS[@]} FILTER: ${FILTER[@]}