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

Commit

Permalink
chore: re-generated to pick up changes from synthtool. (#757)
Browse files Browse the repository at this point in the history
* chore: cleanup cloud RAD generation

Updating cloud rad generation to support [java-shared-config/pull/344](googleapis/java-shared-config#344) updates and removing inclusion of README as we're not currently supporting this feature yet

Source-Author: Emily Ball <[email protected]>
Source-Date: Mon Nov 8 13:23:34 2021 -0800
Source-Repo: googleapis/synthtool
Source-Sha: 99ea92a109dbcd4e2b8c179e337848ba6a25fe16
Source-Link: googleapis/synthtool@99ea92a

* chore: update jre to 11 for linter

java-format requires JRE v11+ to run linter. It still check older code, just jre has to be 11+: google/google-java-format#529

Updating ci.yaml template since it is applicable for all the libraries.

Source-Author: Timur Sadykov <[email protected]>
Source-Date: Tue Nov 9 01:52:34 2021 +0000
Source-Repo: googleapis/synthtool
Source-Sha: 42a3786737c17ece39924d7025f3be481812da53
Source-Link: googleapis/synthtool@42a3786
  • Loading branch information
yoshi-automation authored Nov 15, 2021
1 parent 327dca9 commit 0d8ed01
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ jobs:
- uses: actions/setup-java@v2
with:
distribution: zulu
java-version: 8
java-version: 11
- run: java -version
- run: .kokoro/build.sh
env:
Expand Down
10 changes: 3 additions & 7 deletions .kokoro/release/publish_javadoc11.sh
Original file line number Diff line number Diff line change
Expand Up @@ -36,13 +36,9 @@ mvn clean install -B -q -DskipTests=true
export NAME=google-cloud-containeranalysis
export VERSION=$(grep ${NAME}: versions.txt | cut -d: -f3)

# V3 generates docfx yml from javadoc
# generate yml
mvn clean site -B -q -P docFX

# copy README to docfx-yml dir and rename index.md
cp README.md target/docfx-yml/index.md
# copy CHANGELOG to docfx-yml dir and rename history.md
# cloud RAD generation
mvn clean javadoc:aggregate -B -q -P docFX
# include CHANGELOG
cp CHANGELOG.md target/docfx-yml/history.md

pushd target/docfx-yml
Expand Down
4 changes: 2 additions & 2 deletions synth.metadata
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"git": {
"name": ".",
"remote": "https://github.com/googleapis/java-containeranalysis.git",
"sha": "9e4c9789167892529cd60fd6dc731e654d47167d"
"sha": "6879348f400b676ca6683a3abf2a7ebfce52dc7d"
}
},
{
Expand All @@ -19,7 +19,7 @@
"git": {
"name": "synthtool",
"remote": "https://github.com/googleapis/synthtool.git",
"sha": "717a6a1fe247df095092de1321eadc9da887a06c"
"sha": "42a3786737c17ece39924d7025f3be481812da53"
}
}
],
Expand Down

0 comments on commit 0d8ed01

Please sign in to comment.