Skip to content

add support for installing with bwrap#5130

Open
smoors wants to merge 19 commits intoeasybuilders:developfrom
smoors:bubblewrap
Open

add support for installing with bwrap#5130
smoors wants to merge 19 commits intoeasybuilders:developfrom
smoors:bubblewrap

Conversation

@smoors
Copy link
Contributor

@smoors smoors commented Feb 20, 2026

cfr. #4110

UPDATE 2026-02-27

done:

  • add --bwrap-installpath option to specify the temporary install path.
  • add --bwrap option: if set, EB will gather all info needed to run with bwrap.
  • add rerun_with_bwrap() function in main.py which reruns EB with bwrap if --bwrap is set (and disables --bwrap for a real installation).
  • require --experimental flag
  • add end-to-end CI test
  • also run the interactive debug shell with bwrap
  • make sure it also works with easystack files

still to do (in follow-up PR):

  • add deployment step: moving the installation to the final destination
  • add metadata to the bwrap installation, so we can more easily know where to deploy

requires the following easyblock PRs to work for all software:

@boegel boegel added this to the next release (5.2.2?) milestone Feb 20, 2026
@boegel
Copy link
Member

boegel commented Feb 20, 2026

@smoors I only took a very quick look at this, but do we really need eb.py, or can we just update easybuild/main.py instead?

@smoors
Copy link
Contributor Author

smoors commented Feb 21, 2026

@smoors I only took a very quick look at this, but do we really need eb.py, or can we just update easybuild/main.py instead?

oh cool, i didn't think this was possible but you're right!

EDIT: done in 5595842

@boegel
Copy link
Member

boegel commented Feb 21, 2026

@smoors We should cover the use of --bwrap in a CI workflow...

Maybe an extra step can be added at the end of .github/workflows/end2end.yml ?

@smoors
Copy link
Contributor Author

smoors commented Feb 26, 2026

@smoors We should cover the use of --bwrap in a CI workflow...

Maybe an extra step can be added at the end of .github/workflows/end2end.yml ?

done in ab03bb8

successful test in https://github.com/easybuilders/easybuild-framework/actions/runs/22448778136/job/65010878984?pr=5130

it runs in a separate workflow, directly in the VM instead of a container because i couldn't get bwrap to work in a container in a github workflow.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants