Commit 1f0efa5
committed
feat(attestation): opt-in CAS-only attestation storage
Add a controlplane config flag attestations.skip_db_storage that, when
enabled and the workflow run's CAS backend is non-inline, uploads the
attestation bundle to CAS synchronously and records only the digest on
the workflow run, skipping the attestation table row. Inline backends
and the flag-off case keep the existing async upload and DB persistence
behaviour.
Refs #2126
Assisted-by: Claude Code
Signed-off-by: Miguel Martinez Trivino <miguel@chainloop.dev>1 parent baea2db commit 1f0efa5
9 files changed
Lines changed: 410 additions & 168 deletions
File tree
- app/controlplane
- configs
- samples
- internal
- conf/controlplane/config/v1
- service
- pkg
- biz
- mocks
- data
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
120 | 120 | | |
121 | 121 | | |
122 | 122 | | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
101 | 101 | | |
102 | 102 | | |
103 | 103 | | |
104 | | - | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
0 commit comments