From 9f09767d9f739ee73aa9d2ede85019b4d257caaa Mon Sep 17 00:00:00 2001 From: Oleksandr Porunov Date: Sat, 12 Oct 2024 18:22:18 +0100 Subject: [PATCH] Allow skipping Docker build from main build process Signed-off-by: Oleksandr Porunov --- docs/storage-backend/scylladb.md | 4 +++- janusgraph-dist/pom.xml | 10 ++++++++++ 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/docs/storage-backend/scylladb.md b/docs/storage-backend/scylladb.md index 1acc5c4e6c..f5b1137b47 100644 --- a/docs/storage-backend/scylladb.md +++ b/docs/storage-backend/scylladb.md @@ -95,7 +95,9 @@ mvn clean install -Pjanusgraph-release -Puse-scylla -DskipTests=true --batch-mod /// This command will generate distribution builds (both normal and full distribution build) in the -following directory: `janusgraph-dist/target/`. +following directory: `janusgraph-dist/target/` as well as build local JanusGraph Docker image. +If you don't have Docker installed or wish to avoid Docker image build process you can pass `-Pskip-docker` +(notice, all tests are automatically disabled when this flag is used). Otherwise, if you can't build distribution on your own, you can use the JanusGraph provided distribution and replace the following libraries in `lib` directory (all libraries can be downloaded via Maven Central Repository). diff --git a/janusgraph-dist/pom.xml b/janusgraph-dist/pom.xml index 2f4ce6d41f..7c1de7fee2 100644 --- a/janusgraph-dist/pom.xml +++ b/janusgraph-dist/pom.xml @@ -38,6 +38,7 @@ ${it.skip} ${project.parent.basedir}/docs + false janusgraph-cql cassandra-hadoop-util @@ -363,6 +364,13 @@ scylla-hadoop-util + + skip-docker + + true + true + + janusgraph-release @@ -636,6 +644,7 @@ exec + ${docker.build.skip} ./docker/build-and-push-image.sh ${project.basedir} @@ -669,6 +678,7 @@ exec + ${docker.build.skip} ./docker/build-and-push-image.sh ${project.basedir}