[PATCH 2 of 2] Skip tests in docker build
Wald Commits
scm-commit at wald.intevation.org
Fri Jul 22 13:58:17 CEST 2022
# HG changeset patch
# User Tom Gottfried <tom at intevation.de>
# Date 1658488027 -7200
# Fri Jul 22 13:07:07 2022 +0200
# Branch 3.2.x
# Node ID 93b9034613bca49c5c5ea92684c5acb25bb47ffd
# Parent a6c6bba0fc4ba086b01eaed4fde7afc43b1f2fd8
Skip tests in docker build
diff -r a6c6bba0fc4b -r 93b9034613bc docker/Dockerfile.artifacts
--- a/docker/Dockerfile.artifacts Fri Jul 22 12:57:11 2022 +0200
+++ b/docker/Dockerfile.artifacts Fri Jul 22 13:07:07 2022 +0200
@@ -24,12 +24,12 @@
RUN hg clone -b $BRANCH $REPO_URL/framework
RUN hg clone -b $BRANCH $REPO_URL/http-client
-RUN mvn -q -f framework/pom.xml install
-RUN mvn -q -f http-client/pom.xml install
+RUN mvn -q -DskipTests -f framework/pom.xml install
+RUN mvn -q -DskipTests -f http-client/pom.xml install
ADD . river
-RUN mvn -q -f river/backend/pom.xml install
+RUN mvn -q -DskipTests -f river/backend/pom.xml install
WORKDIR river/artifacts
@@ -41,7 +41,7 @@
RUN ../../framework/artifact-database/bin/createArtifacts.sh
RUN ./bin/createDatacage.sh
-RUN mvn -q package assembly:single
+RUN mvn -q -DskipTests package assembly:single
EXPOSE 8181
More information about the Dive4Elements-commits
mailing list