File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1616
1717if [ -f " ${KOKORO_GFILE_DIR} /secret_manager/releasetool-publish-reporter-app" ]; then
1818 export APP_ID_PATH=" ${KOKORO_GFILE_DIR} /secret_manager/releasetool-publish-reporter-app"
19- export INSTALLATION_ID_PATH=" ${KOKORO_GFILE_DIR} /secret_manager/releasetool-publish-reporter-googleapis-installation"
19+ if [ -f " ${KOKORO_GFILE_DIR} /secret_manager/releasetool-publish-reporter-googleapis-installation" ]; then
20+ export INSTALLATION_ID_PATH=" ${KOKORO_GFILE_DIR} /secret_manager/releasetool-publish-reporter-googleapis-installation"
21+ elif [ -f " ${KOKORO_GFILE_DIR} /secret_manager/releasetool-publish-reporter-googlecloudplatform-installation" ]; then
22+ export INSTALLATION_ID_PATH=" ${KOKORO_GFILE_DIR} /secret_manager/releasetool-publish-reporter-googlecloudplatform-installation"
23+ else
24+ echo ' could not load GitHub installation id'
25+ fi
2026 export GITHUB_PRIVATE_KEY_PATH=" ${KOKORO_GFILE_DIR} /secret_manager/releasetool-publish-reporter-pem"
2127else
2228 echo ' could not load GitHub installation credentials'
You can’t perform that action at this time.
0 commit comments