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

Commit

Permalink
chore: remove docLava v2 doc generation (#298)
Browse files Browse the repository at this point in the history
* chore: remove docLava v2 doc generation

Not using this anymore and it is causing some issues in pubsublite

* chore: removing v2 doclava bucket config

Source-Author: Emily Ball <emilyball@google.com>
Source-Date: Tue Mar 2 10:13:11 2021 -0800
Source-Repo: googleapis/synthtool
Source-Sha: 21da7d9fa02f6916d9f87cf4072b3547b5c72eb5
Source-Link: googleapis/synthtool@21da7d9
  • Loading branch information
yoshi-automation committed Mar 3, 2021
1 parent 91a3123 commit 9fbb98d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 28 deletions.
8 changes: 1 addition & 7 deletions .kokoro/release/publish_javadoc.cfg
Original file line number Diff line number Diff line change
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/java-shared-dependencies/.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
Original file line number Diff line number Diff line change
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}
4 changes: 2 additions & 2 deletions synth.metadata
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,14 @@
"git": {
"name": ".",
"remote": "https://github.com/googleapis/java-shared-dependencies.git",
"sha": "ccd56de7480fd18bac17bd57e180806913bfbb38"
"sha": "af83b901be0c03d507189999215d35345602fad7"
}
},
{
"git": {
"name": "synthtool",
"remote": "https://github.com/googleapis/synthtool.git",
"sha": "6946fd71ae9215b0e7ae188f5057df765ee6d7d2"
"sha": "21da7d9fa02f6916d9f87cf4072b3547b5c72eb5"
}
}
],
Expand Down

0 comments on commit 9fbb98d

Please sign in to comment.