diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index a1e3bc1..fc287ca 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -33,7 +33,7 @@ jobs: if: ${{ matrix.scope == 'Petstore' }} working-directory: ./sut-petstore run: | - mvn package -DskipTests=true -ntp + mvn package -q -DskipTests=true docker build -t swagger-petstore . docker run -d -p 8081:8080 --name swagger-petstore swagger-petstore chmod u+x ../setup/wait-container-ready.sh @@ -53,7 +53,7 @@ jobs: if: ${{ matrix.scope == 'GestaoHospital' }} working-directory: ./sut-gestaoHospital run: | - mvn package -DskipTests=true -ntp + mvn package -q -DskipTests=true docker-compose up -d --force-recreate --build chmod u+x ../setup/wait-container-ready.sh ../setup/wait-container-ready.sh mongodb "HospitalDB.product_collection" diff --git a/sut-market/Dockerfile b/sut-market/Dockerfile index a8184b4..0a76867 100644 --- a/sut-market/Dockerfile +++ b/sut-market/Dockerfile @@ -6,7 +6,7 @@ COPY market-rest/pom.xml market-rest/pom.xml COPY market-web/pom.xml market-web/pom.xml COPY market-coverage/pom.xml market-coverage/pom.xml COPY pom.xml . -RUN mvn -B -e -C org.apache.maven.plugins:maven-dependency-plugin:3.1.2:go-offline +RUN mvn -q -B -e -C org.apache.maven.plugins:maven-dependency-plugin:3.1.2:go-offline # build the project FROM maven:3.6.3-jdk-11-slim@sha256:68ce1cd457891f48d1e137c7d6a4493f60843e84c9e2634e3df1d3d5b381d36c as build @@ -16,7 +16,7 @@ COPY --from=dependencies /app/ /app COPY market-core/src /app/market-core/src COPY market-rest/src /app/market-rest/src COPY market-web/src /app/market-web/src -RUN mvn -B -e clean install -DskipTests=true +RUN mvn -q -B -e clean install -DskipTests=true # create an image with the specified application FROM adoptopenjdk/openjdk11:alpine-jre@sha256:89d70c41f6642605c5a7c655969e386815f2f4c0cf923bc1d87e2eadf8669330