Skip to content

Commit fd4f018

Browse files
authored
Merge pull request #508 from gtroitsk/reduce-log-size
Reduce log size in CI runs by suppressing download transfer progress
2 parents 9780d96 + 477c182 commit fd4f018

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

.github/workflows/daily.yaml

+5-5
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
java-version: ${{ matrix.java }}
3030
- name: Build Quarkus main
3131
run: |
32-
git clone https://github.com/quarkusio/quarkus.git && cd quarkus && ./mvnw -B -s .github/mvn-settings.xml clean install -Dquickly -Prelocations -Dno-test-modules
32+
git clone https://github.com/quarkusio/quarkus.git && cd quarkus && ./mvnw -B --no-transfer-progress -s .github/mvn-settings.xml clean install -Dquickly -Prelocations -Dno-test-modules
3333
- name: Tar Maven Repo
3434
shell: bash
3535
run: tar -I 'pigz -9' -cf maven-repo.tgz -C ~ .m2/repository
@@ -71,7 +71,7 @@ jobs:
7171
run: tar -xzf maven-repo.tgz -C ~
7272
- name: Test in JVM mode
7373
run: |
74-
mvn -fae -V -B -s .github/mvn-settings.xml -fae clean verify
74+
mvn -fae -V -B --no-transfer-progress -s .github/mvn-settings.xml -fae clean verify
7575
- name: Zip Artifacts
7676
if: failure()
7777
run: |
@@ -115,7 +115,7 @@ jobs:
115115
run: tar -xzf maven-repo.tgz -C ~
116116
- name: Test in Native mode
117117
run: |
118-
mvn -fae -V -B -s .github/mvn-settings.xml -fae clean verify -Dnative \
118+
mvn -fae -V -B --no-transfer-progress -s .github/mvn-settings.xml -fae clean verify -Dnative \
119119
-Dquarkus.native.container-build=true -Dquarkus.native.native-image-xmx=4g \
120120
-Dquarkus.native.builder-image=quay.io/quarkus/${{ matrix.image }}
121121
- name: Zip Artifacts
@@ -159,7 +159,7 @@ jobs:
159159
- name: Test in JVM mode
160160
shell: bash
161161
run: |
162-
mvn -fae -V -B -s .github/mvn-settings.xml clean test
162+
mvn -fae -V -B --no-transfer-progress -s .github/mvn-settings.xml clean test
163163
- name: Zip Artifacts
164164
shell: bash
165165
if: failure()
@@ -217,7 +217,7 @@ jobs:
217217
shell: bash
218218
run: |
219219
# Build on Native requires a lot of disk space, for now, we'll run only one module.
220-
mvn -V -B -s .github/mvn-settings.xml -fae clean verify -Dnative -Dquarkus.native.native-image-xmx=6g -pl '003-quarkus-many-extensions'
220+
mvn -V -B --no-transfer-progress -s .github/mvn-settings.xml -fae clean verify -Dnative -Dquarkus.native.native-image-xmx=6g -pl '003-quarkus-many-extensions'
221221
- name: Zip Artifacts
222222
shell: bash
223223
if: failure()

.github/workflows/pr.yaml

+5-5
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
java-version: ${{ matrix.java }}
2828
- name: Build Quarkus main
2929
run: |
30-
git clone https://github.com/quarkusio/quarkus.git && cd quarkus && ./mvnw -B -s .github/mvn-settings.xml clean install -Dquickly -Prelocations -Dno-test-modules
30+
git clone https://github.com/quarkusio/quarkus.git && cd quarkus && ./mvnw -B --no-transfer-progress -s .github/mvn-settings.xml clean install -Dquickly -Prelocations -Dno-test-modules
3131
- name: Tar Maven Repo
3232
shell: bash
3333
run: tar -I 'pigz -9' -cf maven-repo.tgz -C ~ .m2/repository
@@ -69,7 +69,7 @@ jobs:
6969
run: tar -xzf maven-repo.tgz -C ~
7070
- name: Test in JVM mode
7171
run: |
72-
mvn -fae -V -B -s .github/mvn-settings.xml -Dvalidate-format clean test
72+
mvn -fae -V -B --no-transfer-progress -s .github/mvn-settings.xml -Dvalidate-format clean test
7373
- name: Zip Artifacts
7474
if: failure()
7575
run: |
@@ -129,7 +129,7 @@ jobs:
129129
done
130130
131131
MODULES_ARG="${CHANGED// /,}"
132-
mvn -am -fae -V -B -s .github/mvn-settings.xml -fae -pl $MODULES_ARG clean verify -Dnative \
132+
mvn -am -fae -V -B --no-transfer-progress -s .github/mvn-settings.xml -fae -pl $MODULES_ARG clean verify -Dnative \
133133
-Dquarkus.native.container-build=true -Dquarkus.native.native-image-xmx=4g \
134134
-Dquarkus.native.builder-image=quay.io/quarkus/${{ matrix.image }}
135135
- name: Zip Artifacts
@@ -175,7 +175,7 @@ jobs:
175175
- name: Test in JVM mode
176176
shell: bash
177177
run: |
178-
mvn -fae -V -B -s .github/mvn-settings.xml clean test
178+
mvn -fae -V -B --no-transfer-progress -s .github/mvn-settings.xml clean test
179179
- name: Setup GraalVM
180180
id: setup-graalvm
181181
uses: graalvm/setup-graalvm@v1
@@ -190,7 +190,7 @@ jobs:
190190
- name: Smoke Test in Native mode
191191
shell: bash
192192
run: |
193-
mvn -V -B -s .github/mvn-settings.xml -fae clean verify -Dnative \
193+
mvn -V -B --no-transfer-progress -s .github/mvn-settings.xml -fae clean verify -Dnative \
194194
-Dquarkus.native.native-image-xmx=6g \
195195
-pl '003-quarkus-many-extensions'
196196
- name: Zip Artifacts

0 commit comments

Comments
 (0)