Skip to content

Skip cloning software-layer-scripts when debugging builds interactively - #1832

Open
casparvl wants to merge 2 commits into
EESSI:mainfrom
casparvl:skip_reclone_on_interactive_build
Open

casparvl wants to merge 2 commits into
EESSI:mainfrom
casparvl:skip_reclone_on_interactive_build

Conversation

@casparvl

Copy link
Copy Markdown
Collaborator

EESSI/software-layer-scripts#321 introduces the ability to debug our builds interactively, in a way that is virtually identical to how the bot does it. Essentially, this is done by running:

EESSI_INTERACTIVE_BUILD=<mode> eessi-bot-software-layer/scripts/bot-build.slurm

in the job directory left behind by the build bot.

One issue with that approach is that bot-build.slurm calls bot/build.sh from software-layer. This tries to (re)clone software-layer-scripts, which fails (and exits, because of set -e) when this is done in an existing staged job directory left behind by the build bot.

This PR solves that by making bot/build.sh skip cloning of software-layer-scripts for interactive builds (i.e. if EESSI_INTERACTIVE_BUILD is non-empty).

@casparvl
casparvl requested a review from Neves-P October 21, 2026 10:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant