-
Notifications
You must be signed in to change notification settings - Fork 111
Complete infrastructure testing #828
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
c624325 to
51e8c2d
Compare
e30ec27 to
22f721e
Compare
54cedc8 to
95ffef6
Compare
cccfa78 to
c4c8e05
Compare
jormundur00
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! Didn't test every possible combination of commands locally, but what I did worked (and I see that all the changed-build-logic tests passed in the CI, so we should be good).
| registerPerCoordinateTask(coordinates, javaTest, "javaTest", JavaTestInvocationTask, true) | ||
| registerPerCoordinateTask(coordinates, nativeTestCompile, "nativeTestCompile", NativeTestCompileInvocationTask, true) | ||
| // No aggregate wiring for per-coordinate docker pulls; they are invoked by dedicated workflows. | ||
| registerPerCoordinateTask(coordinates, null, "pullAllowedDockerImages", DockerTask.class, false) { t -> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
With the addition of ComputeAndPullAllowedDockerImagesTask, I don't think DockerTask is used anywhere (you removed it here, but it's still an unused import). I think we can consider deleting it from the repository, but we can do that in a follow-up PR to avoid rerunning all tests for this change.
| protected String resolveSingleCoordinate() { | ||
| List<String> coords = resolveCoordinates() | ||
| if (coords.isEmpty()) { | ||
| throw new GradleException("No matching coordinates found. Provide a concrete coordinate via -Pcoordinates=group:artifact:version") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Small nit: in the root build.gradle, when throwing the GradleException, the message states to use -Pcoordinate (or -Pcoordinates in brackets), but here we ask for -Pcoordinates explicitly. If we intend to have -Pcoordinate as a valid property, maybe we should add and use it here as well (as a fallback at least). We can also do this in a follow-up, or just ignore it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I will fix this up later, as this PR runs for a long long time.
No description provided.