Abacn commented on code in PR #33245:
URL: https://github.com/apache/beam/pull/33245#discussion_r1864309806
##########
.github/workflows/beam_PostCommit_Java_ValidatesDistrolessContainer_Dataflow.yml:
##########
@@ -88,10 +88,17 @@ jobs:
gcloud auth configure-docker us.gcr.io --quiet
gcloud auth configure-docker gcr.io --quiet
gcloud auth configure-docker us-central1-docker.pkg.dev --quiet
- - name: run validatesDistrolessContainer script
+ - name: run validatesDistrolessContainer script (Java 17)
uses: ./.github/actions/gradle-command-self-hosted-action
with:
gradle-command:
:runners:google-cloud-dataflow-java:examplesJavaRunnerV2IntegrationTestDistroless
+ arguments: '-PtestJavaVersion=java17 -PdockerTag=$(date +%s)'
Review Comment:
`-PtestJavaVersion=java17` usually needs to be used along with
`-Pjava17Home=...`. Otherwise the pipeline is still compiled and submitted in
default Java (java 11) but run on java17 worker
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]