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

[feature] Support for non-hermetic Bazel builds on SLSA3 Bazel Builder #2627

Open
enteraga6 opened this issue Aug 10, 2023 · 0 comments
Open
Labels
area:bazel Issue with the bazel builder. type:feature New feature or request

Comments

@enteraga6
Copy link
Collaborator

Non hermetic Bazel builds that call installs before build process are not supported currently. A proposed fix to this, is to include an input for a path to a Github Action that contains pre-build steps to take, including installs. This action would run within in the internal side of the Bazel builder before the build script gets called. This would allow for the Github Runner that completes the build to have the appropriate effects from the pre-build action steps. This would also work for an image input, as the image gets mounted on the directory on the GH Runner for building.

A lot of the bigger repositories on Github which utilize GH workflows that use Bazel do so non-hermetically. Adding this feature would allow the Bazel Builder to get into more repos to have a greater supply chain security impact.

@enteraga6 enteraga6 added type:feature New feature or request area:bazel Issue with the bazel builder. labels Aug 10, 2023
@enteraga6 enteraga6 added this to the Bazel builder GA milestone Aug 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:bazel Issue with the bazel builder. type:feature New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant