aw-was-here commented on code in PR #5:
URL: https://github.com/apache/hbase-kustomize/pull/5#discussion_r1240573639
##########
dev-support/jenkins/jenkins_precommit_github_yetus.sh:
##########
@@ -54,23 +51,33 @@ if [ ${missing_env} -gt 0 ]; then
exit 1
fi
-# TODO (HBASE-23900): cannot assume test-patch runs directly from sources
-TESTPATCHBIN="${YETUSDIR}/precommit/src/main/shell/test-patch.sh"
+declare -a DOCKER_ARGS
+DOCKER_ARGS+=('container' 'run')
+DOCKER_ARGS+=('--entrypoint' '/bin/bash')
+DOCKER_ARGS+=('--mount' "type=bind,source=$(pwd),target=/workdir")
+DOCKER_ARGS+=('--platform' 'linux/amd64')
+DOCKER_ARGS+=('--pull' 'always')
+DOCKER_ARGS+=('--quiet')
+DOCKER_ARGS+=('--rm')
+DOCKER_ARGS+=('--workdir' '/workdir')
+
+# path to test-patch in the container image
+TESTPATCHBIN="/usr/bin/test-patch.sh"
Review Comment:
In the container image, exec should be /usr/bin/test-patch
--
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]