Commit Graph

7 Commits

Author SHA1 Message Date
Eric Anderson eee38e35dd tools/dockerfile: Run Java build twice to reduce flakiness
Downloads fail from time to time because Gradle does not retry certain
types of network failures
(https://github.com/gradle/gradle/issues/8264).

Retrying twice should reduce the flake rate below noticeable without
increasing the size of the interop image created for each new release
for historical testing.

Fixes #18892
2020-05-11 11:37:49 -07:00
Chengyuan Zhang d659ad23ef Skip building Android-dependent modules for Java interop test. 2020-01-10 10:45:49 -08:00
Eric Anderson 05c603729e Disable Gradle daemon for Java interop test building
We have seen an issue where `rm -r "$HOME/.gradle"` fails because
"Directory not empty". It seems likely this is due the fact Gradle is
still running in daemon form. The build script doesn't get any advantage
by running the daemon, so we just disable it.

Fixes #20423
2019-10-02 15:17:07 -07:00
Eric Anderson 977e4b1450 grpc_interop_java: Remove unnecessary cruft from container
This reduces the container size from 1.4 GB to 640 MB. 129 MB is
jessie, 489 MB jdk, and 22 MB grpc-java. When we swap from jessie to
stretch, we could swap to openjdk:8-jdk-slim-stretch which would make
the entire image 265 MB.

Python was never needed; it was added by mistake in 0589e533.
Pre-downloading gradle artifacts isn't helpful these days, because we
build on a clean machine. Git isn't needed as cp is sufficient. libapr1
has not been required by tcnative for a long time, and we even use
tcnative-boringssl-static since at least 1.0, which also doesn't need
it. The final cleanup is to remove source and downloaded artifacts when
done compiling.
2019-04-04 18:23:00 -07:00
Alex Polcyn e52d87b53d Add a grpclb-in-DNS interop test suite 2018-10-23 00:00:08 -07:00
Jan Tattermusch 7e91ebb41d license fixes 2017-06-08 11:22:41 +02:00
Yong Ni b92813b18b Created a Java Oracle8 Dockerfile directory and moved all build_interop.sh to under template/. Added java_oracle8 to the client matrix. 2017-05-31 12:31:20 -07:00