adoroszlai commented on code in PR #12070:
URL: https://github.com/apache/ozone/pull/12070#discussion_r4603083755
##########
.github/workflows/build-ratis.yml:
##########
@@ -126,9 +126,9 @@ jobs:
- name: Get component versions
id: versions
run: |
- echo "grpc=$(mvn help:evaluate -N -q -DforceStdout -Dscan=false
-Dexpression=shaded.grpc.version)" >> $GITHUB_OUTPUT
- echo "netty=$(mvn help:evaluate -N -q -DforceStdout -Dscan=false
-Dexpression=shaded.netty.version)" >> $GITHUB_OUTPUT
- echo "protobuf=$(mvn help:evaluate -N -q -DforceStdout -Dscan=false
-Dexpression=shaded.protobuf.version)" >> $GITHUB_OUTPUT
+ echo "grpc=$(./mvnw help:evaluate -N -q -DforceStdout -Dscan=false
-Dexpression=shaded.grpc.version)" >> $GITHUB_OUTPUT
+ echo "netty=$(./mvnw help:evaluate -N -q -DforceStdout -Dscan=false
-Dexpression=shaded.netty.version)" >> $GITHUB_OUTPUT
+ echo "protobuf=$(./mvnw help:evaluate -N -q -DforceStdout
-Dscan=false -Dexpression=shaded.protobuf.version)" >> $GITHUB_OUTPUT
Review Comment:
> Looks like this runs in the `ratis-thirdparty` checkout.
Correct.
> Should we keep `mvn` here, or every ratis-thirdparty we check out here
have `mvnw`?
`ratis-thirdparty` had `mvnw` for few months, since 1.1.0. In practice, I
think past versions are unlikely to be built here (although the workflow is not
"smart", it re-builds releases as well).
Yes, keeping `mvn` would be safer, I can restore it.
##########
hadoop-ozone/dev-support/checks/acceptance.sh:
##########
@@ -26,21 +26,21 @@ OZONE_ROOT=$(pwd -P)
: ${OZONE_ACCEPTANCE_TEST_TYPE:="robot"}
: ${OZONE_WITH_COVERAGE:="false"}
+source "${DIR}/_lib.sh"
+
if [[ "${OZONE_TEST_SELECTOR}" == "xcompat/test-old.sh" ]]; then
: ${OZONE_OLD_VERSIONS:="${2:-}"}
export OZONE_OLD_VERSIONS
# use JDK8 image for Rebot in compat-old, to avoid pulling JDK25 image just
for generating reports
# TODO after HDDS-17509 this can be moved to env: of compat-old job
- export OZONE_RUNNER_VERSION=$(mvn help:evaluate -pl :ozone-dist
-Dexpression="docker.ozone-runner.client.version" -q -DforceStdout -Dscan=false)
+ export OZONE_RUNNER_VERSION=$(get_version "docker.ozone-runner.client" -pl
:ozone-dist)
Review Comment:
Thanks for spotting this.
--
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]