Skip to content

Commit cc3994e

Browse files
committed
Rename quickBuild profile to quick-build project-wide
1 parent 7f0458a commit cc3994e

File tree

10 files changed

+31
-31
lines changed

10 files changed

+31
-31
lines changed

.github/workflows/ci.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ jobs:
158158
run: |
159159
mvn test \
160160
-B -ntp \
161-
-PquickBuild \
161+
-Pquick-build \
162162
-Dorg.slf4j.simpleLogger.showDateTime=true \
163163
-Dorg.slf4j.simpleLogger.dateTimeFormat=HH:mm:ss:SSS \
164164
-Dmaven.wagon.http.retryHandler.count=5 \
@@ -216,7 +216,7 @@ jobs:
216216
- run: java -version
217217
- name: Install Maven modules to local Maven repository
218218
run: |
219-
mvn install -B -ntp -T 1C -PquickBuild -DskipTests
219+
mvn install -B -ntp -T 1C -Pquick-build -DskipTests
220220
- run: java -version
221221
- run: mvn -B -ntp enforcer:enforce@enforce -T 1C
222222
gapic-libraries-bom:
@@ -230,7 +230,7 @@ jobs:
230230
cache: maven
231231
- name: Install Maven modules to local Maven repository
232232
run: |
233-
mvn install -B -ntp -T 1C -PquickBuild -DskipTests
233+
mvn install -B -ntp -T 1C -Pquick-build -DskipTests
234234
- name: Validate gapic-libraries-bom
235235
uses: googleapis/java-cloud-bom/tests/validate-bom@v26.54.0
236236
with:

.github/workflows/sdk-platform-java-ci.yaml

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -34,13 +34,13 @@ jobs:
3434
- run: java -version
3535
- name: Unit Tests
3636
run: |
37-
mvn test --batch-mode --no-transfer-progress -PquickBuild \
37+
mvn test --batch-mode --no-transfer-progress -Pquick-build \
3838
-DenableTestCoverage
3939
working-directory: sdk-platform-java
4040
# The `envVarTest` profile runs tests that require an environment variable
4141
- name: Env Var Tests
4242
run: |
43-
mvn test --batch-mode --no-transfer-progress -PquickBuild \
43+
mvn test --batch-mode --no-transfer-progress -Pquick-build \
4444
-DenableTestCoverage -PenvVarTest
4545
# Set the Env Var for this step only
4646
env:
@@ -51,7 +51,7 @@ jobs:
5151
- run: bazelisk version
5252
- name: Install Maven modules
5353
run: |
54-
mvn install -B -ntp -PquickBuild -DskipTests
54+
mvn install -B -ntp -Pquick-build -DskipTests
5555
working-directory: sdk-platform-java
5656
- name: Integration Tests
5757
run: |
@@ -90,13 +90,13 @@ jobs:
9090
- run: java -version
9191
- name: Unit Tests
9292
run: |
93-
mvn test --batch-mode --no-transfer-progress -PquickBuild \
93+
mvn test --batch-mode --no-transfer-progress -Pquick-build \
9494
-DenableTestCoverage
9595
working-directory: sdk-platform-java
9696
# The `envVarTest` profile runs tests that require an environment variable
9797
- name: Env Var Tests
9898
run: |
99-
mvn test --batch-mode --no-transfer-progress -PquickBuild \
99+
mvn test --batch-mode --no-transfer-progress -Pquick-build \
100100
-DenableTestCoverage -PenvVarTest
101101
# Set the Env Var for this step only
102102
env:
@@ -107,7 +107,7 @@ jobs:
107107
- run: bazelisk version
108108
- name: Install Maven modules
109109
run: |
110-
mvn install -B -ntp -PquickBuild -DskipTests
110+
mvn install -B -ntp -Pquick-build -DskipTests
111111
working-directory: sdk-platform-java
112112
- name: Integration Tests
113113
run: |
@@ -128,13 +128,13 @@ jobs:
128128
- run: java -version
129129
- name: Unit Tests
130130
run: |
131-
mvn test --batch-mode --no-transfer-progress -PquickBuild \
131+
mvn test --batch-mode --no-transfer-progress -Pquick-build \
132132
-DenableTestCoverage
133133
working-directory: sdk-platform-java
134134
# The `envVarTest` profile runs tests that require an environment variable
135135
- name: Env Var Tests
136136
run: |
137-
mvn test --batch-mode --no-transfer-progress -PquickBuild \
137+
mvn test --batch-mode --no-transfer-progress -Pquick-build \
138138
-DenableTestCoverage -PenvVarTest
139139
# Set the Env Var for this step only
140140
env:
@@ -145,7 +145,7 @@ jobs:
145145
- run: bazelisk version
146146
- name: Install Maven modules
147147
run: |
148-
mvn install -B -ntp -PquickBuild -DskipTests
148+
mvn install -B -ntp -Pquick-build -DskipTests
149149
working-directory: sdk-platform-java
150150
- name: Integration Tests
151151
# note need to set shouldInstallTestSecurityManager=false due to https://github.com/bazelbuild/bazel/issues/24354
@@ -177,7 +177,7 @@ jobs:
177177
export PATH=${JAVA_HOME}/bin:$PATH
178178
# Maven surefire plugin lets us to specify the JVM when running tests via
179179
# the "jvm" system property.
180-
mvn verify --batch-mode --no-transfer-progress -PquickBuild \
180+
mvn verify --batch-mode --no-transfer-progress -Pquick-build \
181181
-Djvm="${JAVA8_HOME}/bin/java"
182182
working-directory: sdk-platform-java
183183
# The `envVarTest` profile runs tests that require an environment variable
@@ -190,7 +190,7 @@ jobs:
190190
# Maven surefire plugin lets us to specify the JVM when running tests via
191191
# the "jvm" system property.
192192
export GOOGLE_CLOUD_UNIVERSE_DOMAIN=random.com
193-
mvn test --batch-mode --no-transfer-progress -PquickBuild \
193+
mvn test --batch-mode --no-transfer-progress -Pquick-build \
194194
-DenableTestCoverage -Dsurefire.failIfNoSpecifiedTests=false \
195195
-PenvVarTest
196196
# Set the Env Var for this step only
@@ -215,7 +215,7 @@ jobs:
215215
- name: Install all modules using Java 11
216216
shell: bash
217217
run: |
218-
mvn -V -B -ntp clean install -PquickBuild -DskipTests
218+
mvn -V -B -ntp clean install -Pquick-build -DskipTests
219219
working-directory: sdk-platform-java
220220
- uses: actions/setup-java@v3
221221
with:
@@ -265,7 +265,7 @@ jobs:
265265
- name: Install all modules using Java 11
266266
shell: bash
267267
run: |
268-
mvn install -B -ntp -PquickBuild -DskipTests
268+
mvn install -B -ntp -Pquick-build -DskipTests
269269
working-directory: sdk-platform-java
270270
- uses: actions/setup-java@v3
271271
with:
@@ -339,7 +339,7 @@ jobs:
339339
- run: mvn -version
340340
- name: Install Maven modules
341341
run: |
342-
mvn install -B -ntp -PquickBuild -DskipTests
342+
mvn install -B -ntp -Pquick-build -DskipTests
343343
working-directory: sdk-platform-java
344344
- name: Showcase golden tests
345345
working-directory: sdk-platform-java/java-showcase
@@ -418,7 +418,7 @@ jobs:
418418
cache: maven
419419
- name: Install Maven modules
420420
run: |
421-
mvn install -B -ntp -PquickBuild -DskipTests
421+
mvn install -B -ntp -Pquick-build -DskipTests
422422
working-directory: sdk-platform-java
423423
- name: Install showcase to local maven repository
424424
run: |
@@ -456,7 +456,7 @@ jobs:
456456
run: |
457457
mvn install \
458458
-B -ntp \
459-
-PquickBuild \
459+
-Pquick-build \
460460
-Dorg.slf4j.simpleLogger.showDateTime=true \
461461
-Dorg.slf4j.simpleLogger.dateTimeFormat=HH:mm:ss:SSS \
462462
-DskipTests \
@@ -487,7 +487,7 @@ jobs:
487487
working-directory: sdk-platform-java/java-shared-dependencies/unmanaged-dependency-check
488488
- name: Install Maven modules
489489
run: |
490-
mvn install -B -ntp -PquickBuild -DskipTests
490+
mvn install -B -ntp -Pquick-build -DskipTests
491491
working-directory: sdk-platform-java
492492
- name: Unmanaged dependency check
493493
uses: ./sdk-platform-java/java-shared-dependencies/unmanaged-dependency-check

.github/workflows/sdk-platform-java-dependency_compatibility_test.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ jobs:
6464
# Install the modules for showcase (Shared-Deps is required to run showcase)
6565
- name: Install sdk-platform-java's modules
6666
# gapic-generator-java requires Java 8 and is irrelevant for this CI
67-
run: mvn -q -B -ntp install --projects '!gapic-generator-java' -PquickBuild -DskipTests -T 1C
67+
run: mvn -q -B -ntp install --projects '!gapic-generator-java' -Pquick-build -DskipTests -T 1C
6868
working-directory: sdk-platform-java
6969

7070
# Set up local showcase server to run the showcase ITs

.github/workflows/sdk-platform-java-java_compatibility_check.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ jobs:
4444
cache: maven
4545
- name: Install sdk-platform-modules to local Maven repository
4646
run: |
47-
mvn install -B -ntp -T 1C -DskipTests -PquickBuild
47+
mvn install -B -ntp -T 1C -DskipTests -Pquick-build
4848
working-directory: sdk-platform-java
4949
- name: Check Java 8 compatibility for class files
5050
shell: bash

.github/workflows/sdk-platform-java-nightly.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ jobs:
4040
cache: maven
4141
- run: mvn -version
4242
- name: Install
43-
run: mvn install --errors --batch-mode --no-transfer-progress -PquickBuild
43+
run: mvn install --errors --batch-mode --no-transfer-progress -Pquick-build
4444
- name: Create issue if previous step fails
4545
if: ${{ failure() }}
4646
env:
@@ -67,7 +67,7 @@ jobs:
6767
cache: maven
6868
- run: mvn -version
6969
- name: Install with Java 11
70-
run: mvn install --errors --batch-mode --no-transfer-progress -PquickBuild -DskipTests
70+
run: mvn install --errors --batch-mode --no-transfer-progress -Pquick-build -DskipTests
7171

7272
- uses: actions/setup-java@v5
7373
with:

.github/workflows/sdk-platform-java-shared_dependencies.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ jobs:
3838
- run: java -version
3939
- name: Install maven modules
4040
run: |
41-
mvn install -B -ntp -DskipTests -PquickBuild
41+
mvn install -B -ntp -DskipTests -Pquick-build
4242
- name: Check the BOM content satisfies the upper-bound-check test case
43-
run: mvn -B -V -ntp verify -PquickBuild
43+
run: mvn -B -V -ntp verify -Pquick-build
4444
working-directory: sdk-plaform-java/java-shared-dependencies/upper-bound-check

.github/workflows/sdk-platform-java-sonar.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ jobs:
7373
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information, if any
7474
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
7575
run: |
76-
mvn -B verify -PquickBuild \
76+
mvn -B verify -Pquick-build \
7777
-DenableFullTestCoverage \
7878
-Penable-integration-tests \
7979
org.sonarsource.scanner.maven:sonar-maven-plugin:sonar \
@@ -85,7 +85,7 @@ jobs:
8585
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information, if any
8686
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
8787
run: |
88-
mvn -B clean verify -PquickBuild \
88+
mvn -B clean verify -Pquick-build \
8989
-DskipUnitTests \
9090
-Penable-integration-tests \
9191
-DenableShowcaseTestCoverage \

.github/workflows/unmanaged_dependency_check.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
java-version: 11
1313
- name: Install modules
1414
shell: bash
15-
run: mvn install -B -ntp -T 1C -DskipTests -PquickBuild
15+
run: mvn install -B -ntp -T 1C -DskipTests -Pquick-build
1616
- name: Unmanaged dependency check
1717
uses: ./sdk-platform-java/java-shared-dependencies/unmanaged-dependency-check
1818
with:

google-cloud-pom-parent/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@
5959

6060
<profiles>
6161
<profile>
62-
<id>quickBuild</id>
62+
<id>quick-build</id>
6363
<properties>
6464
<checkstyle.skip>true</checkstyle.skip>
6565
<enforcer.skip>true</enforcer.skip>

sdk-platform-java/gapic-generator-java-pom-parent/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@
7878

7979
<profiles>
8080
<profile>
81-
<id>quickBuild</id>
81+
<id>quick-build</id>
8282
<properties>
8383
<checkstyle.skip>true</checkstyle.skip>
8484
<enforcer.skip>true</enforcer.skip>

0 commit comments

Comments
 (0)