diff options
author | Naoto Ono <[email protected]> | 2025-06-04 20:59:40 +0900 |
---|---|---|
committer | GitHub <[email protected]> | 2025-06-04 11:59:40 +0000 |
commit | a4dc778a5e700a16705ab11a1311d5172adf83ed (patch) | |
tree | a6e89dd6a5cc163479c154854d383564387803a7 | |
parent | a87b089349cdf710cf743adafa6f73c3adbba260 (diff) |
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
Notes
Notes:
Merged-By: ono-max <[email protected]>
-rwxr-xr-x | .github/actions/compilers/entrypoint.sh | 1 | ||||
-rw-r--r-- | .github/actions/launchable/setup/action.yml | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/.github/actions/compilers/entrypoint.sh b/.github/actions/compilers/entrypoint.sh index be10ed9c61..cd9705275a 100755 --- a/.github/actions/compilers/entrypoint.sh +++ b/.github/actions/compilers/entrypoint.sh @@ -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} diff --git a/.github/actions/launchable/setup/action.yml b/.github/actions/launchable/setup/action.yml index 8ea8f61414..cdcd14d59a 100644 --- a/.github/actions/launchable/setup/action.yml +++ b/.github/actions/launchable/setup/action.yml @@ -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 |