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

Support for multiple Go builds #63

Open
laurentsimon opened this issue Mar 25, 2022 · 4 comments
Open

Support for multiple Go builds #63

laurentsimon opened this issue Mar 25, 2022 · 4 comments
Labels
area:go Issue related to the Go ecosystem type:feature New feature or request

Comments

@laurentsimon
Copy link
Collaborator

Our current config file is inspired by goreleaser's config file but was simplified to show feasibility of the approach. We need to enhance the config file to support multiple builds.

One question to answer is how we will isolate each builds from one another. Note that the strategy.matrix field is not supported by the user workflow when calling a reusable workflow.

We can then include multiple Subject Digests inside provenance. See from https://github.com/gossts/slsa-go/issues/40

@laurentsimon
Copy link
Collaborator Author

Will need to support some level of parallelism/caching

@laurentsimon
Copy link
Collaborator Author

See slsa-framework/slsa-github-generator-go#51 as well.

@laurentsimon
Copy link
Collaborator Author

We need to decide the format of the output of the trusted builder: JSON or a zip files containing everything

Hopefully most users will use the auto-publish option slsa-framework/slsa-github-generator-go#58

@laurentsimon
Copy link
Collaborator Author

Note that goreleaser supports the following entries in their config file:

  • binary:
  • main:
  • top-level env
  • multiple ldflags
  • ignore
  • replacements

Support for these would greatly help teams adopt our SLSA builders, as it'd simplify migration

@ianlewis ianlewis transferred this issue from slsa-framework/slsa-github-generator-go May 18, 2022
@ianlewis ianlewis added type:feature New feature or request area:go Issue related to the Go ecosystem labels May 18, 2022
@ianlewis ianlewis changed the title Feature: support for multiple builds Support for multiple builds May 18, 2022
@laurentsimon laurentsimon changed the title Support for multiple builds Support for multiple Go builds Jul 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:go Issue related to the Go ecosystem type:feature New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants