Repository navigation
feat(vex): add VEX lifecycle - #218
Merged
Merged
Conversation
nervgh
force-pushed
the
feat/sbom/vex-lifecycle
branch
2 times, most recently
from
July 31, 2026 18:06
051676b to
9cdb56e
Compare
nervgh
marked this pull request as ready for review
August 3, 2026 17:33
nervgh
force-pushed
the
feat/sbom/vex-lifecycle
branch
2 times, most recently
from
August 4, 2026 14:47
13630b7 to
14f90f9
Compare
reyreavman
requested changes
Aug 6, 2026
added 8 commits
August 9, 2026 18:15
Signed-off-by: Alexandr Zaytsev <alexandr.zaytsev@flant.com>
Define contracts, data model, plan, quickstart, and research for VEX document handling in werf.yaml. These documents establish the architecture before implementation, mirroring the existing SBOM pattern for OCI artifact storage and retrieval. Signed-off-by: Alexandr Zaytsev <alexandr.zaytsev@flant.com>
Signed-off-by: Alexandr Zaytsev <alexandr.zaytsev@flant.com>
Add a `vex` option to Dockerfile and Stapel image definitions in werf.yaml. During build, wrap the OpenVEX document in an in-toto statement and DSSE envelope and attach it to the image manifest as an OCI artifact. Rebuilds skip publishing when the VEX document and image digest are unchanged, and cleanup removes VEX artifacts orphaned with their stages. Signed-off-by: Alexandr Zaytsev <alexandr.zaytsev@flant.com>
Add tasks T026-T029 for git-tracking validation of VEX files and cleanup of a duplicate VEX validation call. Signed-off-by: Alexandr Zaytsev <alexandr.zaytsev@flant.com>
Add ReadVEXFile to FileReader and InspectConfigVexFilePath to Inspector interfaces. Update convergeImageVex in build_phase.go to use these methods instead of direct os.ReadFile, ensuring VEX files are validated as Git-tracked. Signed-off-by: Alexandr Zaytsev <alexandr.zaytsev@flant.com>
Signed-off-by: Alexandr Zaytsev <alexandr.zaytsev@flant.com>
Signed-off-by: Alexandr Zaytsev <alexandr.zaytsev@flant.com>
nervgh
force-pushed
the
feat/sbom/vex-lifecycle
branch
from
August 9, 2026 15:20
14f90f9 to
e96a4be
Compare
added 4 commits
August 9, 2026 18:42
Record the post-review findings from PR #218 in the VEX lifecycle spec: use the DSSE media type for VEX artifacts, validate config at parsing time, add config.vex.allowUncommitted, use a separate VEX file cache, remove PullVEX and the unused stagesStorage field, and error on empty vex config. Add Phase 8 cleanup tasks and a shared verification checklist. Signed-off-by: Alexandr Zaytsev <alexandr.zaytsev@flant.com>
Update plan, spec, and tasks documents to: - Reflect removal of PullVEX as dead code per PR #218 - Change test commands to use task paths and --focus instead of -run - Add cross-references and new coverage tasks (T041-T043) - Update dependency descriptions for US2 Signed-off-by: Alexandr Zaytsev <alexandr.zaytsev@flant.com>
Extract the publish-check logic into a proper production function instead of being duplicated in tests. Move VEX file validation from runtime to config parsing time. Add the config.vex.allowUncommitted giterminism directive. Fix a cache collision where the Dockerfile cache was reused for VEX files. Remove unused stagesStorage field from vexStep. Add validation errors for empty vex config and improve error messaging for registries lacking OCI subject reference support. Signed-off-by: Alexandr Zaytsev <alexandr.zaytsev@flant.com>
PullVEX is never called; VEX retrieval is covered by `werf attest get --type openvex`. Rename the PullVEX test block to AttestationRoundTrip and record the completed convergence tasks in the VEX lifecycle spec. Signed-off-by: Alexandr Zaytsev <alexandr.zaytsev@flant.com>
reyreavman
requested changes
Aug 11, 2026
nervgh
marked this pull request as draft
August 11, 2026 12:41
added 2 commits
August 11, 2026 22:33
Signed-off-by: Alexandr Zaytsev <alexandr.zaytsev@flant.com>
Signed-off-by: Alexandr Zaytsev <alexandr.zaytsev@flant.com>
nervgh
marked this pull request as ready for review
August 12, 2026 08:02
reyreavman
approved these changes
Aug 13, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.