Skip to content

Introduce MicroMamba#167

Open
nettle wants to merge 3 commits intoEricsson:mainfrom
nettle:micromamba-environments
Open

Introduce MicroMamba#167
nettle wants to merge 3 commits intoEricsson:mainfrom
nettle:micromamba-environments

Conversation

@nettle
Copy link
Collaborator

@nettle nettle commented Jan 25, 2026

Why:
We should run all tests for different configurations:

  • Bazel versions 6, 7 and 8
  • CodeChecker versions 6.25, 6.26, 6.27
  • probably different Python versions
  • might be different Clang and Clang-Tidy versions
  • It would be also good to install and use
  • dev tools like pylint, pycodestyle, buildifier

What:

  • Introduce MicroMamba to support multiple configurations
  • Add example environment (dev) for Bazel and CodeChecker
  • Add scripts which install, create "dev" environment and also uninstall

Addresses:
Part of environment tools evaluation for #163

@Szelethus
Copy link
Contributor

What are your intentions with this patch now that Mise landed? Do you want another one of these in or is the issue solved?

@nettle
Copy link
Collaborator Author

nettle commented Feb 3, 2026

What are your intentions with this patch now that Mise landed? Do you want another one of these in or is the issue solved?

Mise is good and convenient when working locally.
However, just recently I have failed to use in our Jenkins setup :(
MicroMamba might be an alternative...

@Szelethus Szelethus requested review from Szelethus and furtib February 3, 2026 09:07
@Szelethus Szelethus added the test ☑️ Adding or refactoring tests label Feb 3, 2026
Copy link
Contributor

@Szelethus Szelethus left a comment

Choose a reason for hiding this comment

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

I'm not opposed to merging a few of these, as long as we make it clear that its not expected of contributors to test with and maintain all of these tools, not until we actually make a decision on which one we want to keep, and get rid of the others.

Comment on lines +17 to +18
# Triggers the workflow on push or pull request events.
on: [push, pull_request]
Copy link
Contributor

Choose a reason for hiding this comment

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

@furtib and I are gettin little anxious about our CI budget. Are we sure about this? Can't we make it manual?

Copy link
Contributor

@furtib furtib left a comment

Choose a reason for hiding this comment

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

LGTM.
The biggest issue is the need to create a new yaml file for each environment.


MICROMAMBA=".micromamba"
if [[ "$(basename $THIS_DIR)" == "$MICROMAMBA" ]]; then
PROCESSES="bazel java python3 CodeChecke"
Copy link
Contributor

Choose a reason for hiding this comment

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

Typo:

Suggested change
PROCESSES="bazel java python3 CodeChecke"
PROCESSES="bazel java python3 CodeChecker"

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

Labels

test ☑️ Adding or refactoring tests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants