This repository was archived by the owner on Sep 16, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 13 files changed +20
-25
lines changed Expand file tree Collapse file tree 13 files changed +20
-25
lines changed Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ name: auto-release
44jobs :
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 :
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 }
Original file line number Diff line number Diff 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 :
Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ echo ${JOB_TYPE}
2929
3030# attempt to install 3 times with exponential backoff (starting with 10 seconds)
3131retry_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 ;;
6161integration)
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 \
Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ export MAVEN_OPTS="-Xmx1024m -XX:MaxPermSize=128m"
3131
3232# this should run maven enforcer
3333retry_with_backoff 3 10 \
34- mvn install -B -V \
34+ mvn install -B -V -ntp \
3535 -DskipTests=true \
3636 -Dclirr.skip=true
3737
8686else
8787 msg " Errors found. See log statements above."
8888 exit 1
89- fi
89+ fi
Original file line number Diff line number Diff line change @@ -7,10 +7,10 @@ env_vars: {
77 value: " docs-staging"
88}
99
10+ # cloud-rad staging
1011env_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
1616env_vars: {
Original file line number Diff line number Diff 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
7575python3 -m docuploader upload . \
7676 --credentials ${CREDENTIALS} \
7777 --staging-bucket ${STAGING_BUCKET_V2}
Original file line number Diff line number Diff line change 11# Format: //devtools/kokoro/config/proto/build.proto
22
3+ # cloud-rad production
34env_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
Original file line number Diff line number Diff 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
5252python3 -m docuploader upload . \
5353 --credentials ${CREDENTIALS} \
5454 --staging-bucket ${STAGING_BUCKET_V2} \
Original file line number Diff line number Diff line change 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 >
Original file line number Diff line number Diff line change 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 >
You can’t perform that action at this time.
0 commit comments