Launchable: Set env variables to prevent CI slowdowns (#13513)

When Launchable in unstable, the round trip time takes a long time, which slows down CI execution. In this PR I configured the environment variable `LAUNCHABLE_COMMIT_TIMEOUT` to configure the timeout.

https://github.com/launchableinc/cli/pull/1015
This commit is contained in:
Naoto Ono 2025-06-04 20:59:40 +09:00 committed by GitHub
parent a87b089349
commit a4dc778a5e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
Notes: git 2025-06-04 11:59:52 +00:00
Merged-By: ono-max <onoto1998@gmail.com>
2 changed files with 2 additions and 0 deletions

View File

@ -79,6 +79,7 @@ setup_launchable() {
pushd ${srcdir}
# To prevent a slowdown in CI, disable request retries when the Launchable server is unstable.
export LAUNCHABLE_SKIP_TIMEOUT_RETRY=1
export LAUNCHABLE_COMMIT_TIMEOUT=1
# Launchable creates .launchable file in the current directory, but cannot a file to ${srcdir} directory.
# As a workaround, we set LAUNCHABLE_SESSION_DIR to ${builddir}.
export LAUNCHABLE_SESSION_DIR=${builddir}

View File

@ -123,6 +123,7 @@ runs:
echo "LAUNCHABLE_TOKEN=${{ inputs.launchable-token }}" >> $GITHUB_ENV
: # To prevent a slowdown in CI, disable request retries when the Launchable server is unstable.
echo "LAUNCHABLE_SKIP_TIMEOUT_RETRY=1" >> $GITHUB_ENV
echo "LAUNCHABLE_COMMIT_TIMEOUT=1" >> $GITHUB_ENV
if: steps.enable-launchable.outputs.enable-launchable
- name: Set up path