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:
parent
a87b089349
commit
a4dc778a5e
Notes:
git
2025-06-04 11:59:52 +00:00
Merged-By: ono-max <onoto1998@gmail.com>
1
.github/actions/compilers/entrypoint.sh
vendored
1
.github/actions/compilers/entrypoint.sh
vendored
@ -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}
|
||||
|
1
.github/actions/launchable/setup/action.yml
vendored
1
.github/actions/launchable/setup/action.yml
vendored
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user