Skip to content

Attestations refactoring#3073

Merged
tonistiigi merged 7 commits intomoby:masterfrom
jedevc:attestations-refactor
Sep 21, 2022
Merged

Attestations refactoring#3073
tonistiigi merged 7 commits intomoby:masterfrom
jedevc:attestations-refactor

Conversation

@jedevc
Copy link
Copy Markdown
Member

@jedevc jedevc commented Aug 31, 2022

This PR follows-up #2935:

  • Tidies up the AddAttestation function to be less hacky
  • Flatten the Attestation interface into a single struct - this also flattens the gateway protobuf.
  • Enable the attestations cap (can drop this one if there's still some further refactors to the gateway protobuf required).

@jedevc jedevc mentioned this pull request Aug 31, 2022
3 tasks
@jedevc jedevc requested a review from tonistiigi August 31, 2022 11:07
@jedevc jedevc force-pushed the attestations-refactor branch 2 times, most recently from 30c2bd5 to 66701f5 Compare September 1, 2022 16:22
jedevc referenced this pull request in tonistiigi/buildkit Sep 5, 2022
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
Comment thread solver/result/attestation.go Outdated
Comment thread solver/result/attestation.go Outdated
Comment thread solver/result/attestation.go Outdated
Comment thread exporter/containerimage/writer.go Outdated
@jedevc jedevc force-pushed the attestations-refactor branch from 66701f5 to 4035a67 Compare September 7, 2022 11:41
Signed-off-by: Justin Chadwell <me@jedevc.com>
Signed-off-by: Justin Chadwell <me@jedevc.com>
Signed-off-by: Justin Chadwell <me@jedevc.com>
Signed-off-by: Justin Chadwell <me@jedevc.com>
Signed-off-by: Justin Chadwell <me@jedevc.com>
Signed-off-by: Justin Chadwell <me@jedevc.com>
Signed-off-by: Justin Chadwell <me@jedevc.com>
Comment thread client/client_test.go
Path: "/attestation.json",
InToto: result.InTotoAttestation{
PredicateType: "https://example.com/attestations/v1.0",
Subjects: []result.InTotoSubject{{
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

This isn't needed anymore iiuc

@tonistiigi tonistiigi merged commit 3fab389 into moby:master Sep 21, 2022
emmanuelguerin pushed a commit to emmanuelguerin/buildkit that referenced this pull request Mar 31, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants