Skip to content
This repository has been archived by the owner on Apr 9, 2024. It is now read-only.

Remove builder #223

Merged
merged 3 commits into from
Apr 19, 2023
Merged

Remove builder #223

merged 3 commits into from
Apr 19, 2023

Conversation

rbehjati
Copy link
Contributor

@rbehjati rbehjati commented Apr 19, 2023

Ref #145

Removing the builder, now that it is migrated to the SLSA Framework repo.

It's a good idea to open an issue first for discussion.

  • Tests pass
  • Appropriate changes to README are included in PR

Copy link
Contributor

@mariaschett mariaschett left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! Nice PR! :)

README.md Outdated
binary is SHA256. For details about the format of the provenance statement please refer to
[the SLSA provenance documentation](https://slsa.dev/provenance/v0.2).
[the container-based SLSA3 builder workflow](https://github.com/slsa-framework/slsa-github-generator/blob/f14d71f7a0f58a45b6105c0b6d97c414328ceda0/internal/builders/docker/README.md),
from the SLSA Framework, builds a binary and a corresponding SLSA v1.0 provenance statement. The
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: builds a binary and "generates"

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks. Done.


The [`verifier`](/internal/verifier/) package provides functionality for verifying an input
provenance file. The provenance file should follow the
[Amber provenance](./../pkg/amber/schema/v1/provenance.json) format and provide a list of materials
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How about Amber? Maybe add a reference to #224?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done.


To verify a SLSA provenance of the Amber build type run:

```bash

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The snippet below is not valid bash, because of the $. Either remove the $, or change the type to console (in which case you can also interleave $-prefixed commands with the corresponding output, if you like).

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice. I did not know about the console style.

Copy link
Contributor Author

@rbehjati rbehjati left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the reviews.

README.md Outdated
binary is SHA256. For details about the format of the provenance statement please refer to
[the SLSA provenance documentation](https://slsa.dev/provenance/v0.2).
[the container-based SLSA3 builder workflow](https://github.com/slsa-framework/slsa-github-generator/blob/f14d71f7a0f58a45b6105c0b6d97c414328ceda0/internal/builders/docker/README.md),
from the SLSA Framework, builds a binary and a corresponding SLSA v1.0 provenance statement. The
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks. Done.


The [`verifier`](/internal/verifier/) package provides functionality for verifying an input
provenance file. The provenance file should follow the
[Amber provenance](./../pkg/amber/schema/v1/provenance.json) format and provide a list of materials
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done.


To verify a SLSA provenance of the Amber build type run:

```bash
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice. I did not know about the console style.

@rbehjati rbehjati merged commit acbfb5e into project-oak:main Apr 19, 2023
@rbehjati rbehjati deleted the remove-builder branch April 19, 2023 13:13
@rbehjati rbehjati mentioned this pull request Apr 20, 2023
2 tasks
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants