From 5f50d61c34693d0233c0ce21991edc6ce60a6d0e Mon Sep 17 00:00:00 2001 From: Wyclif Luyima Date: Mon, 3 Jun 2024 09:22:22 -0500 Subject: [PATCH] OZ-68: ozone-flink-jobs to be cleaned / refactored / normalized (#27) OZ-68: Skip tests for deployment steps in github workflows --- Dockerfile | 4 ++-- Dockerfile_batch | 2 +- Dockerfile_parquet_export | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index e7d3699..9a02324 100644 --- a/Dockerfile +++ b/Dockerfile @@ -4,7 +4,7 @@ ADD ./pom.xml pom.xml #cache dependencies RUN mvn dependency:go-offline ADD ./src src/ -RUN mvn clean package +RUN mvn clean package -DskipTests --batch-mode FROM eclipse-temurin:11-jre ARG JAR_VERSION=2.2.0-SNAPSHOT @@ -13,4 +13,4 @@ WORKDIR /app COPY --from=builder target/flink-jobs-${JAR_VERSION}-etl-streaming.jar streaming-etl-job.jar COPY streamimg-etl.sh streamimg-etl.sh RUN chmod +x streamimg-etl.sh -ENTRYPOINT ["/app/streamimg-etl.sh"] \ No newline at end of file +ENTRYPOINT ["/app/streamimg-etl.sh"] diff --git a/Dockerfile_batch b/Dockerfile_batch index dd26fb9..7363827 100644 --- a/Dockerfile_batch +++ b/Dockerfile_batch @@ -6,7 +6,7 @@ ENV MAVEN_OPTS="-Xmx2g" COPY ./pom.xml pom.xml COPY ./src src/ -RUN mvn clean install -Pbatch +RUN mvn clean install -Pbatch -DskipTests --batch-mode FROM eclipse-temurin:11-jre ARG JAR_VERSION=2.2.0-SNAPSHOT diff --git a/Dockerfile_parquet_export b/Dockerfile_parquet_export index 1fb2bb4..affa0b8 100644 --- a/Dockerfile_parquet_export +++ b/Dockerfile_parquet_export @@ -3,7 +3,7 @@ FROM maven:3.8.6-eclipse-temurin-11 as builder ADD ./pom.xml pom.xml RUN mvn dependency:go-offline ADD ./src src/ -RUN mvn clean install -Pbatch +RUN mvn clean install -Pbatch -DskipTests --batch-mode FROM eclipse-temurin:11-jre ARG JAR_VERSION=2.2.0-SNAPSHOT