Skip to content

Introduce MicroMamba#167

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

Introduce MicroMamba#167
nettle wants to merge 5 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
Collaborator Author

Choose a reason for hiding this comment

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

Sure, I'll make it the same as workflow for mise

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"

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Oh! Thanks @furtib!

@nettle
Copy link
Collaborator Author

nettle commented Feb 6, 2026

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.

Totally agree. Micromamba, Mise and anything else should be convenient tools, mostly for CI but should work locally too.
Ideally we should choose one which will work for all use-cases. I'm not a fan of multiple tools, but unfortunately we have different CI environments (GitHub, Jenkins, later will be GitLab, potentially AWS).
So far, I would move all of these tools and configs under .ci directory.

@nettle
Copy link
Collaborator Author

nettle commented Feb 6, 2026

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

Yes, you are right! But it is possible to automate

@nettle nettle force-pushed the micromamba-environments branch from 6a04046 to 9a13be5 Compare February 8, 2026 02:45
Szelethus pushed a commit that referenced this pull request Feb 12, 2026
Why:
Better organize CI-related tooling by consolidating
mise configuration and scripts under the .ci directory structure.

What:
- Moved .mise/ directory to .ci/mise/ using git mv
- Updated all path references in .ci/mise/README.md
- Updated print-env.sh path in .ci/mise/config.toml
- Updated script paths in .github/workflows/mise.yaml

Addresses:
Related to #163, #164 and #167
Why:
Better organize CI-related tooling by consolidating micromamba configuration
and scripts under the .ci directory structure.

What:
- Moved .micromamba/ directory to .ci/micromamba/ using git mv
- Updated init.sh path in .github/workflows/micromamba.yaml
- Updated MICROMAMBA path in .ci/micromamba/uninstall.sh
@nettle nettle force-pushed the micromamba-environments branch from 9a13be5 to 0b086c3 Compare February 14, 2026 01:57
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