Skip to content

Conversation

@furtib
Copy link
Contributor

@furtib furtib commented Jan 21, 2026

Why:
Bazel should not be run by a root user.
This has not created problems so far, but during the Bazel 8 migration, we noticed that certain tools (rules_python), fail when run by a non-root user.
The changes only affect RHEL machines, since those are running inside a minimal Docker image.

What:

  • Created a test user
  • Used testuser with runuser (available on minimal RHEL docker)
  • Removed `bazel version˙ from setup action, different CI uses different bazel versions, no point in initialising here.

Addresses:
#108

@furtib furtib requested a review from Szelethus January 21, 2026 07:55
@furtib furtib self-assigned this Jan 21, 2026
@furtib furtib added the CI 📦 label Jan 21, 2026
…n different runners, and matrix is unavailable here
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.

LGTM, a standalone issue wouldn't hurt, but both the PR summary and the inline comments are very thorough.

@furtib furtib merged commit ddcd387 into Ericsson:main Jan 21, 2026
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants