Skip to content

Commit 21da7d9

Browse files
authored
chore: remove docLava v2 doc generation (#964)
* chore: remove docLava v2 doc generation Not using this anymore and it is causing some issues in pubsublite * chore: removing v2 doclava bucket config
1 parent 8c5628b commit 21da7d9

File tree

2 files changed

+1
-26
lines changed

2 files changed

+1
-26
lines changed

synthtool/gcp/templates/java_library/.kokoro/release/publish_javadoc.cfg

+1-7
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,6 @@ env_vars: {
77
value: "docs-staging"
88
}
99

10-
# cloud-rad staging
11-
env_vars: {
12-
key: "STAGING_BUCKET_V2"
13-
value: "docs-staging-v2-staging"
14-
}
15-
1610
env_vars: {
1711
key: "TRAMPOLINE_BUILD_FILE"
1812
value: "github/{{ metadata['repo']['repo_short'] }}/.kokoro/release/publish_javadoc.sh"
@@ -26,4 +20,4 @@ before_action {
2620
keyname: "docuploader_service_account"
2721
}
2822
}
29-
}
23+
}

synthtool/gcp/templates/java_library/.kokoro/release/publish_javadoc.sh

-19
Original file line numberDiff line numberDiff line change
@@ -56,22 +56,3 @@ python3 -m docuploader create-metadata \
5656
python3 -m docuploader upload . \
5757
--credentials ${CREDENTIALS} \
5858
--staging-bucket ${STAGING_BUCKET}
59-
60-
popd
61-
62-
# V2 due to problems w/ the released javadoc plugin doclava, Java 8 is required. Beware of accidental updates.
63-
64-
mvn clean site -B -q -Ddevsite.template="${KOKORO_GFILE_DIR}/java/"
65-
66-
pushd target/devsite/reference
67-
68-
# create metadata
69-
python3 -m docuploader create-metadata \
70-
--name ${NAME} \
71-
--version ${VERSION} \
72-
--language java
73-
74-
# upload docs to staging bucket
75-
python3 -m docuploader upload . \
76-
--credentials ${CREDENTIALS} \
77-
--staging-bucket ${STAGING_BUCKET_V2}

0 commit comments

Comments
 (0)