Skip to content

Commit f2eb2fa

Browse files
authored
Merge branch 'googleapis:main' into eef
2 parents e3af9f9 + 55c9857 commit f2eb2fa

File tree

1,970 files changed

+22239
-6992
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,970 files changed

+22239
-6992
lines changed

.github/release-please.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ primaryBranch: main
22
releaseType: java-yoshi
33
manifest: true
44
handleGHRelease: true
5+
onDemand: true
56
branches:
67
- branch: 1.0.x
78
releaseType: java-backport

.github/workflows/ci.yaml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -187,13 +187,9 @@ jobs:
187187
run: |
188188
mvn test \
189189
-B -ntp \
190+
-Pquick-build \
190191
-Dorg.slf4j.simpleLogger.showDateTime=true \
191192
-Dorg.slf4j.simpleLogger.dateTimeFormat=HH:mm:ss:SSS \
192-
-Dclirr.skip=true \
193-
-Denforcer.skip=true \
194-
-Dcheckstyle.skip=true \
195-
-Dflatten.skip=true \
196-
-Danimal.sniffer.skip=true \
197193
-Dmaven.wagon.http.retryHandler.count=5 \
198194
--also-make \
199195
-T 1C

.github/workflows/generated_files_sync.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ on:
1717
pull_request:
1818
name: generation diff
1919
env:
20-
library_generation_image_tag: 2.68.1-SNAPSHOT # {x-version-update:gapic-generator-java:current}
20+
library_generation_image_tag: 2.69.0 # {x-version-update:gapic-generator-java:current}
2121
jobs:
2222
root-pom:
2323
# root pom.xml does not have diff from generated one

.github/workflows/hermetic_library_generation.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,4 +44,4 @@ jobs:
4444
head_ref: ${{ github.head_ref }}
4545
token: ${{ secrets.CLOUD_JAVA_BOT_GITHUB_TOKEN }}
4646
force_regenerate_all: ${{ github.event.pull_request.head.ref == 'generate-libraries-main' }}
47-
image_tag: 2.68.1-SNAPSHOT # {x-version-update:gapic-generator-java:current}
47+
image_tag: 2.69.0 # {x-version-update:gapic-generator-java:current}

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

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,8 @@ jobs:
4141
# The `envVarTest` profile runs tests that require an environment variable
4242
- name: Env Var Tests
4343
run: |
44-
mvn test --batch-mode --no-transfer-progress -Dcheckstyle.skip \
45-
-Dfmt.skip -DenableTestCoverage -PenvVarTest
44+
mvn test --batch-mode --no-transfer-progress -Pquick-build \
45+
-DenableTestCoverage -PenvVarTest
4646
# Set the Env Var for this step only
4747
env:
4848
GOOGLE_CLOUD_UNIVERSE_DOMAIN: random.com
@@ -191,8 +191,7 @@ jobs:
191191
export PATH=${JAVA_HOME}/bin:$PATH
192192
# Maven surefire plugin lets us to specify the JVM when running tests via
193193
# the "jvm" system property.
194-
mvn verify --batch-mode --no-transfer-progress -Dcheckstyle.skip \
195-
-Dfmt.skip \
194+
mvn verify --batch-mode --no-transfer-progress -Pquick-build \
196195
-Djvm="${JAVA8_HOME}/bin/java"
197196
working-directory: sdk-platform-java
198197
# The `envVarTest` profile runs tests that require an environment variable
@@ -205,8 +204,8 @@ jobs:
205204
# Maven surefire plugin lets us to specify the JVM when running tests via
206205
# the "jvm" system property.
207206
export GOOGLE_CLOUD_UNIVERSE_DOMAIN=random.com
208-
mvn test --batch-mode --no-transfer-progress -Dcheckstyle.skip \
209-
-Dfmt.skip -DenableTestCoverage -Dsurefire.failIfNoSpecifiedTests=false \
207+
mvn test --batch-mode --no-transfer-progress -Pquick-build \
208+
-DenableTestCoverage -Dsurefire.failIfNoSpecifiedTests=false \
210209
-PenvVarTest
211210
# Set the Env Var for this step only
212211
env:

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
BUILD_SUBDIR: sdk-platform-java
3131
JOB_TYPE: install
3232
- name: Install
33-
run: mvn install --errors --batch-mode --no-transfer-progress -Dcheckstyle.skip -Dfmt.skip
33+
run: mvn install --errors --batch-mode --no-transfer-progress -Pquick-build
3434
working-directory: sdk-platform-java
3535
- name: Create issue if previous step fails
3636
if: ${{ failure() }}

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737
- run: java -version
3838
- name: Install maven modules
3939
run: |
40-
mvn install -B -ntp -DskipTests -Dclirr.skip -Dcheckstyle.skip
40+
mvn install -B -ntp -DskipTests -Pquick-build
4141
- name: Check the BOM content satisfies the upper-bound-check test case
42-
run: mvn -B -V -ntp verify -Dcheckstyle.skip
42+
run: mvn -B -V -ntp verify -Pquick-build
4343
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
@@ -72,7 +72,7 @@ jobs:
7272
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information, if any
7373
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
7474
run: |
75-
mvn -B verify -Dcheckstyle.skip \
75+
mvn -B verify -Pquick-build \
7676
-DenableFullTestCoverage \
7777
-Penable-integration-tests \
7878
org.sonarsource.scanner.maven:sonar-maven-plugin:sonar \
@@ -84,7 +84,7 @@ jobs:
8484
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information, if any
8585
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
8686
run: |
87-
mvn -B clean verify -Dcheckstyle.skip \
87+
mvn -B clean verify -Pquick-build \
8888
-DskipUnitTests \
8989
-Penable-integration-tests \
9090
-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 -Dclirr.skip -Dcheckstyle.skip -Denforcer.skip
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:

.kokoro/build.sh

Lines changed: 5 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -52,13 +52,9 @@ case ${JOB_TYPE} in
5252
retry_with_backoff 3 10 \
5353
mvn install \
5454
-B -ntp \
55+
-Pquick-build \
5556
-Dorg.slf4j.simpleLogger.showDateTime=true \
5657
-Dorg.slf4j.simpleLogger.dateTimeFormat=HH:mm:ss:SSS \
57-
-Dclirr.skip=true \
58-
-Denforcer.skip=true \
59-
-Dcheckstyle.skip=true \
60-
-Dflatten.skip=true \
61-
-Danimal.sniffer.skip=true \
6258
-Dmaven.wagon.http.retryHandler.count=5 \
6359
--also-make \
6460
${SUREFIRE_JVM_OPT} "${EXTRA_PROFILE_OPTS[@]}"
@@ -80,13 +76,9 @@ case ${JOB_TYPE} in
8076
install_modules "sdk-platform-java"
8177
mvn install \
8278
-B -ntp \
79+
-Pquick-build \
8380
-Dorg.slf4j.simpleLogger.showDateTime=true \
8481
-Dorg.slf4j.simpleLogger.dateTimeFormat=HH:mm:ss:SSS \
85-
-Dclirr.skip=true \
86-
-Denforcer.skip=true \
87-
-Dcheckstyle.skip=true \
88-
-Dflatten.skip=true \
89-
-Danimal.sniffer.skip=true \
9082
-Dmaven.wagon.http.retryHandler.count=5 \
9183
-DskipTests=true \
9284
--also-make \
@@ -143,19 +135,13 @@ case ${JOB_TYPE} in
143135

144136
echo "SUREFIRE_JVM_OPT: ${SUREFIRE_JVM_OPT}"
145137
echo "INTEGRATION_TEST_ARGS: ${INTEGRATION_TEST_ARGS}"
146-
mvn verify -Penable-integration-tests \
138+
mvn verify -Penable-integration-tests -Pquick-build \
147139
--also-make \
148140
${INTEGRATION_TEST_ARGS} \
149141
-B -ntp -fae \
150142
-DtrimStackTrace=false \
151-
-Dclirr.skip=true \
152-
-Denforcer.skip=true \
153143
-Dorg.slf4j.simpleLogger.showDateTime=true \
154144
-Dorg.slf4j.simpleLogger.dateTimeFormat=HH:mm:ss:SSS \
155-
-Dcheckstyle.skip=true \
156-
-Dflatten.skip=true \
157-
-Danimal.sniffer.skip=true \
158-
-Djacoco.skip=true \
159145
-DskipUnitTests=true \
160146
-Dmaven.wagon.http.retryHandler.count=5 \
161147
${SUREFIRE_JVM_OPT}
@@ -202,18 +188,13 @@ case ${JOB_TYPE} in
202188
echo "Running in subdir: ${BUILD_SUBDIR}"
203189
pushd "${BUILD_SUBDIR}"
204190
echo "INTEGRATION_TEST_ARGS: ${INTEGRATION_TEST_ARGS}"
205-
mvn test -Pnative \
191+
mvn test -Pnative -Pquick-build \
206192
--also-make \
207193
${INTEGRATION_TEST_ARGS} \
208194
-B -ntp -fae \
209195
-DtrimStackTrace=false \
210-
-Dclirr.skip=true \
211-
-Denforcer.skip=true \
212196
-Dorg.slf4j.simpleLogger.showDateTime=true \
213-
-Dorg.slf4j.simpleLogger.dateTimeFormat=HH:mm:ss:SSS \
214-
-Dcheckstyle.skip=true \
215-
-Dflatten.skip=true \
216-
-Danimal.sniffer.skip=true
197+
-Dorg.slf4j.simpleLogger.dateTimeFormat=HH:mm:ss:SSS
217198

218199
RETURN_CODE=$?
219200
popd

0 commit comments

Comments
 (0)