You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by if...@apache.org on 2020/12/11 13:28:41 UTC

[cassandra-harry] 04/10: Tweaked Dockerfile and run.sh to use the new HarryRunnerJvm class.

This is an automated email from the ASF dual-hosted git repository.

ifesdjeen pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/cassandra-harry.git

commit 3ca3bd09c87d9ac147b0b2393d6ec758b6dd04a0
Author: Gianluca Righetto <gi...@menttis.com>
AuthorDate: Tue Dec 8 10:07:09 2020 -0300

    Tweaked Dockerfile and run.sh to use the new HarryRunnerJvm class.
---
 docker/Dockerfile.local | 4 +++-
 docker/run.sh           | 4 ++--
 2 files changed, 5 insertions(+), 3 deletions(-)

diff --git a/docker/Dockerfile.local b/docker/Dockerfile.local
index 20e0454..caaa551 100644
--- a/docker/Dockerfile.local
+++ b/docker/Dockerfile.local
@@ -26,7 +26,9 @@ RUN mkdir -p /cassandra/harry
 COPY ./harry-core/target/lib/* /opt/harry/lib/
 COPY ./harry-core/target/*.jar /opt/harry/lib/
 COPY ./harry-runner/target/lib/* /opt/harry/lib/
-COPY ./harry-runner/target/*.jar /opt/harry/
+COPY ./harry-runner/target/*.jar /opt/harry/lib/
+COPY ./harry-integration/target/lib/ /opt/harry/lib/
+COPY ./harry-integration/target/*.jar /opt/harry/
 COPY ./test/conf/logback-dtest.xml /opt/harry/test/conf/logback-dtest.xml
 COPY ./docker/run.sh /opt/harry/
 
diff --git a/docker/run.sh b/docker/run.sh
index 25a8296..cde13f4 100755
--- a/docker/run.sh
+++ b/docker/run.sh
@@ -72,9 +72,9 @@ while true; do
        --add-opens java.base/jdk.internal.util.jar=ALL-UNNAMED \
        --add-opens jdk.management/com.sun.management.internal=ALL-UNNAMED \
        -Dorg.apache.cassandra.test.logback.configurationFile=file:///opt/harry/test/conf/logback-dtest.xml \
-       -cp /opt/harry/lib/*:/opt/harry/harry-runner-0.0.1-SNAPSHOT.jar \
+       -cp /opt/harry/lib/*:/opt/harry/harry-integration-0.0.1-SNAPSHOT.jar \
        -Dharry.root=${HARRY_DIR} \
-       harry.runner.HarryRunner
+       harry.runner.HarryRunnerJvm
 
    if [ $? -ne 0 ]; then
       if [ -e "failure.dump" ]; then


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org