Skip to content

Commit

Permalink
Reduce SUT launch verbosity
Browse files Browse the repository at this point in the history
  • Loading branch information
javiertuya committed Jul 17, 2024
1 parent 4dd17af commit fcfc2a1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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"
Expand Down
4 changes: 2 additions & 2 deletions sut-market/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit fcfc2a1

Please sign in to comment.