Skip to content
This repository was archived by the owner on Sep 16, 2023. It is now read-only.

Commit 175233f

Browse files
authored
Merge branch 'master' into autosynth-googleapis
2 parents 1091c37 + 04a842a commit 175233f

File tree

13 files changed

+20
-25
lines changed

13 files changed

+20
-25
lines changed

.github/workflows/auto-release.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ name: auto-release
44
jobs:
55
approve:
66
runs-on: ubuntu-latest
7-
if: contains(github.head_ref, 'release-v')
7+
if: contains(github.head_ref, 'release-please')
88
steps:
99
- uses: actions/github-script@v3
1010
with:
@@ -16,7 +16,7 @@ jobs:
1616
return;
1717
}
1818
19-
// only approve PRs like "chore: release <release version>"
19+
// only approve PRs like "chore(master): release <release version>"
2020
if ( !context.payload.pull_request.title.startsWith("chore(master): release") ) {
2121
return;
2222
}

.github/workflows/ci.yaml

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -55,17 +55,10 @@ jobs:
5555
java-version: 8
5656
- run: java -version
5757
- name: Install artifacts to local Maven repository
58-
run: |
59-
source .kokoro/common.sh
60-
retry_with_backoff 3 10 \
61-
mvn install -B -V \
62-
-Dmaven.test.skip -DskipTests=true \
63-
-Dclirr.skip=true \
64-
-Denforcer.skip=true \
65-
-Dmaven.javadoc.skip=true \
66-
-Dgcloud.download.skip=true
58+
run: .kokoro/build.sh
6759
shell: bash
68-
- uses: GoogleCloudPlatform/cloud-opensource-java/linkage-monitor@v1-linkagemonitor
60+
- name: Validate any conflicts with regard to com.google.cloud:libraries-bom (latest release)
61+
uses: GoogleCloudPlatform/cloud-opensource-java/linkage-monitor@v1-linkagemonitor
6962
lint:
7063
runs-on: ubuntu-latest
7164
steps:

.kokoro/build.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ echo ${JOB_TYPE}
2929

3030
# attempt to install 3 times with exponential backoff (starting with 10 seconds)
3131
retry_with_backoff 3 10 \
32-
mvn install -B -V \
32+
mvn install -B -V -ntp \
3333
-DskipTests=true \
3434
-Dclirr.skip=true \
3535
-Denforcer.skip=true \
@@ -60,6 +60,7 @@ javadoc)
6060
;;
6161
integration)
6262
mvn -B ${INTEGRATION_TEST_ARGS} \
63+
-ntp \
6364
-Penable-integration-tests \
6465
-DtrimStackTrace=false \
6566
-Dclirr.skip=true \
@@ -81,6 +82,7 @@ samples)
8182
pushd ${SAMPLES_DIR}
8283
mvn -B \
8384
-Penable-samples \
85+
-ntp \
8486
-DtrimStackTrace=false \
8587
-Dclirr.skip=true \
8688
-Denforcer.skip=true \

.kokoro/dependencies.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ export MAVEN_OPTS="-Xmx1024m -XX:MaxPermSize=128m"
3131

3232
# this should run maven enforcer
3333
retry_with_backoff 3 10 \
34-
mvn install -B -V \
34+
mvn install -B -V -ntp \
3535
-DskipTests=true \
3636
-Dclirr.skip=true
3737

@@ -86,4 +86,4 @@ then
8686
else
8787
msg "Errors found. See log statements above."
8888
exit 1
89-
fi
89+
fi

.kokoro/release/publish_javadoc.cfg

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,10 @@ env_vars: {
77
value: "docs-staging"
88
}
99

10+
# cloud-rad staging
1011
env_vars: {
1112
key: "STAGING_BUCKET_V2"
12-
value: "docs-staging-v2"
13-
# Production will be at: docs-staging-v2
13+
value: "docs-staging-v2-staging"
1414
}
1515

1616
env_vars: {

.kokoro/release/publish_javadoc.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ python3 -m docuploader create-metadata \
7171
--version ${VERSION} \
7272
--language java
7373

74-
# upload docs
74+
# upload docs to staging bucket
7575
python3 -m docuploader upload . \
7676
--credentials ${CREDENTIALS} \
7777
--staging-bucket ${STAGING_BUCKET_V2}

.kokoro/release/publish_javadoc11.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
# Format: //devtools/kokoro/config/proto/build.proto
22

3+
# cloud-rad production
34
env_vars: {
45
key: "STAGING_BUCKET_V2"
56
value: "docs-staging-v2"
6-
# Production will be at: docs-staging-v2
77
}
88

99
# Configure the docker image for kokoro-trampoline

.kokoro/release/publish_javadoc11.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ python3 -m docuploader create-metadata \
4848
--version ${VERSION} \
4949
--language java
5050

51-
# upload yml
51+
# upload yml to production bucket
5252
python3 -m docuploader upload . \
5353
--credentials ${CREDENTIALS} \
5454
--staging-bucket ${STAGING_BUCKET_V2} \

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@
9090
<dependency>
9191
<groupId>junit</groupId>
9292
<artifactId>junit</artifactId>
93-
<version>4.13.1</version>
93+
<version>4.13.2</version>
9494
<scope>test</scope>
9595
</dependency>
9696
</dependencies>

samples/install-without-bom/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
<dependency>
3737
<groupId>junit</groupId>
3838
<artifactId>junit</artifactId>
39-
<version>4.13.1</version>
39+
<version>4.13.2</version>
4040
<scope>test</scope>
4141
</dependency>
4242
<dependency>

0 commit comments

Comments
 (0)