This repository was archived by the owner on Sep 19, 2023. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree 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 44 "git": {
55 "name": ".",
66 "remote": "https://github.com/googleapis/java-orgpolicy.git",
7- "sha": "0f78828378abd02670722f51e406cd3d724ca4b2 "
7+ "sha": "fc8bf81304b4be71765ff45678c372060d41179d "
88 }
99 },
1010 {
1919 "git": {
2020 "name": "synthtool",
2121 "remote": "https://github.com/googleapis/synthtool.git",
22- "sha": "2414b817065726eae0bc525346c7e874f969369d "
22+ "sha": "6946fd71ae9215b0e7ae188f5057df765ee6d7d2 "
2323 }
2424 }
2525 ],
You can’t perform that action at this time.
0 commit comments