Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: fix doc publish creds #11019

Merged
merged 1 commit into from
Oct 23, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions internal/kokoro/publish_docs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ go install -buildvcs=false
cd -

# Use the google-cloud-go service account to store godocfx state.
export GOOGLE_APPLICATION_CREDENTIALS=$KOKORO_KEYSTORE_DIR/72523_go_integration_service_account
export GOOGLE_APPLICATION_CREDENTIALS="${KOKORO_GFILE_DIR}/secret_manager/go-cloud-integration-service-account"
# Keep GCLOUD_TESTS_GOLANG_PROJECT_ID in sync with continuous.sh.
export GCLOUD_TESTS_GOLANG_PROJECT_ID=dulcet-port-762

Expand All @@ -43,7 +43,7 @@ gcloud auth activate-service-account --key-file "$KOKORO_KEYSTORE_DIR/73713_docu

for f in $(find obj/api -name docs.metadata); do
# Extract the module name and version from the docs.metadata file.
module=$(cat $f | grep name | sed 's/.*"\(.*\)"/\1/')
module=$(cat $f | grep name | sed 's/.*"\(.*\)"/\1/')
version=$(cat $f | grep version | sed 's/.*"\(.*\)"/\1/')
name="docfx-go-$module-$version.tar.gz"
tar_dir=$(dirname $name)
Expand Down