Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Continue to add tools to the CLI #254

Open
plaird opened this issue Dec 23, 2024 · 0 comments
Open

Continue to add tools to the CLI #254

plaird opened this issue Dec 23, 2024 · 0 comments

Comments

@plaird
Copy link
Contributor

plaird commented Dec 23, 2024

I started the CLI project but then forgot about it.
https://github.com/salesforce/rules_spring/blob/main/springboot/cli.md

There is a debate how much should be added to the CLI, versus built directly into the build. Some tasks that could be done in the CLI:

  • generate SBOM
  • verify the internals of the springboot jar (essentially, packaging tests)
  • extract OCI layers

The advantage of putting it in the CLI is that it keeps the rule/macro simpler. It also allows us to use the CLI tools with non-Bazel built springboot jars, which are also common in our company.

The advantags of putting it in the Bazel build is that they can be run in CI.

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

No branches or pull requests

1 participant