bazel: add Bazel equivalent of make codebeamer-pem - #617
Open
NikitaJangidBMW wants to merge 2 commits into
Open
Conversation
Add generate_certs Starlark rule to generate SSL certs via system openssl, with codebeamer_pem target wired into test data.
NikitaJangidBMW
force-pushed
the
internal/replace-make-with-bazel-target-in-lobster
branch
from
July 24, 2026 05:20
6b0c642 to
9556625
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Bazel equivalent of
make codebeamer-pem. Adds a customgenerate_certsrule that generates self-signed SSL certificates for the codebeamer mock
server, following the existing repo pattern (ctx.actions.run_shell).
Files changed
bazel/private/generate_certs.bzl— new custom Starlark rule using system openssltests_system/lobster_codebeamer/data/BUILD.bazel—codebeamer_pemtargettests_system/lobster_codebeamer/mock_server.py— fix cert path resolution for Bazel runfileslobster.bzl— exportgenerate_certsdocumentation/manual-lobster_codebeamer.md— document make and Bazel commands for SSL cert generation.bazelrc— replace deprecated--experimental_enable_bzlmodwith--enable_bzlmodtests_system/README.md— fix typo: Pyton → PythonHow to test
bazel test //tests_system/lobster_codebeamer:test_lobster_codebeamer