Skip to content

Commit

Permalink
chore: remove docLava v2 doc generation (#1306)
Browse files Browse the repository at this point in the history
This PR was generated using Autosynth. 🌈

Synth log will be available here:
https://source.cloud.google.com/results/invocations/dd48a04e-1b79-4cf2-bbe1-c31ca37cdd54/targets

- [ ] To automatically regenerate this PR, check this box.

Source-Link: googleapis/synthtool@21da7d9
  • Loading branch information
yoshi-automation committed Mar 2, 2021
1 parent f4d07f4 commit 62818cf
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 29 deletions.
8 changes: 1 addition & 7 deletions .kokoro/release/publish_javadoc.cfg
Expand Up @@ -7,12 +7,6 @@ env_vars: {
value: "docs-staging"
}

# cloud-rad staging
env_vars: {
key: "STAGING_BUCKET_V2"
value: "docs-staging-v2-staging"
}

env_vars: {
key: "TRAMPOLINE_BUILD_FILE"
value: "github/google-http-java-client/.kokoro/release/publish_javadoc.sh"
Expand All @@ -26,4 +20,4 @@ before_action {
keyname: "docuploader_service_account"
}
}
}
}
19 changes: 0 additions & 19 deletions .kokoro/release/publish_javadoc.sh
Expand Up @@ -56,22 +56,3 @@ python3 -m docuploader create-metadata \
python3 -m docuploader upload . \
--credentials ${CREDENTIALS} \
--staging-bucket ${STAGING_BUCKET}

popd

# V2 due to problems w/ the released javadoc plugin doclava, Java 8 is required. Beware of accidental updates.

mvn clean site -B -q -Ddevsite.template="${KOKORO_GFILE_DIR}/java/"

pushd target/devsite/reference

# create metadata
python3 -m docuploader create-metadata \
--name ${NAME} \
--version ${VERSION} \
--language java

# upload docs to staging bucket
python3 -m docuploader upload . \
--credentials ${CREDENTIALS} \
--staging-bucket ${STAGING_BUCKET_V2}
6 changes: 3 additions & 3 deletions synth.metadata
Expand Up @@ -4,14 +4,14 @@
"git": {
"name": ".",
"remote": "https://github.com/googleapis/google-http-java-client.git",
"sha": "213726a0b65f35fdc65713027833d22b553bbc20"
"sha": "f4d07f43903aad681e790d9c335b56d514e2f898"
}
},
{
"git": {
"name": "synthtool",
"remote": "https://github.com/googleapis/synthtool.git",
"sha": "6946fd71ae9215b0e7ae188f5057df765ee6d7d2"
"sha": "21da7d9fa02f6916d9f87cf4072b3547b5c72eb5"
}
}
],
Expand All @@ -30,7 +30,6 @@
".github/workflows/approve-readme.yaml",
".github/workflows/auto-release.yaml",
".github/workflows/ci.yaml",
".github/workflows/samples.yaml",
".kokoro/build.bat",
".kokoro/build.sh",
".kokoro/coerce_logs.sh",
Expand Down Expand Up @@ -82,6 +81,7 @@
"CONTRIBUTING.md",
"LICENSE",
"codecov.yaml",
"renovate.json",
"samples/install-without-bom/pom.xml",
"samples/pom.xml",
"samples/snapshot/pom.xml",
Expand Down

0 comments on commit 62818cf

Please sign in to comment.