Skip to content

Rework environment setup#78

Merged
nshadskiy merged 60 commits intomainfrom
sandboxing_newenv
May 4, 2026
Merged

Rework environment setup#78
nshadskiy merged 60 commits intomainfrom
sandboxing_newenv

Conversation

@tvoigtlaender
Copy link
Copy Markdown
Contributor

This PR improves on the environment procurement in the following ways:

  • Updates environment to utilize conda over LCG stacks.
  • Implements sandboxing for local compile tasks.
  • Add CROWN as a Kingmaker submodule.

This approach allows for a single container image to be usable for all x64 architectures instead of the current setup that only works with specific distros and versions.
Also allows for greater flexibility for future changes in the environment past the software available through LCG stacks.
As a result, the split setup through the kingmaker-images submodule can be retired after sufficient testing of the new environment.
The final goal is to then also deploy the production container image via cern cvmfs unpacked.

CROWN was originally kept as an "at setuptime" clone of the repo, but as the software becomes more stable, submoduling makes more sense.
See CROWN PR for further changes.
Various changes were necessary to allow for consistent behaviour both remote and local. Therefore, the new CROWN branch will be incompatible with older versions of Kingmaker and vice versa.

@tvoigtlaender
Copy link
Copy Markdown
Contributor Author

tvoigtlaender commented Feb 14, 2026

Related tasks that are not part of this PR:

  • Switch to singularity style HTCondor containers and source them from /cvmfs
  • Remove kingmake-images from repository and replace with a fixed (singularity) image
  • Adapt CROWN CI pipeline to new setup

@tvoigtlaender
Copy link
Copy Markdown
Contributor Author

tvoigtlaender commented Feb 25, 2026

Additional goals for the PR have been reached.
Final step:

  • move back to /cvmfs/unpacked image when available

@tvoigtlaender tvoigtlaender requested a review from nshadskiy March 4, 2026 09:37
@tvoigtlaender tvoigtlaender self-assigned this Mar 24, 2026
Comment thread setup.sh Outdated

```python
re.match(r"^root:\/\/[^\/]\/+(.*)$", file)
re.match(r"^root:\\/\\/[^\\/]\\/+(.*)$", file)
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's just documentation, but I guess this should match the actual code down below?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The escaping of the \ is kind of necessary for the comment as it is not interpreted as a raw string in a printout (due to the ```).
Not sure if there is a better way.

Comment thread README.md Outdated
Comment thread containers/README.md
Comment thread containers/README.md Outdated
Comment thread setup.sh Outdated
@nshadskiy nshadskiy merged commit f653872 into main May 4, 2026
1 check passed
@nshadskiy nshadskiy deleted the sandboxing_newenv branch May 4, 2026 14:30
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.

2 participants