Skip to content

Commit

Permalink
chore: remove docLava v2 doc generation (#964)
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
  • Loading branch information
eaball35 committed Mar 2, 2021
1 parent 8c5628b commit 21da7d9
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 26 deletions.
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/{{ metadata['repo']['repo_short'] }}/.kokoro/release/publish_javadoc.sh"
Expand All @@ -26,4 +20,4 @@ before_action {
keyname: "docuploader_service_account"
}
}
}
}
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}

0 comments on commit 21da7d9

Please sign in to comment.