Add enterprise-contract pipeline definition to cli/pipelines - #3435
Add enterprise-contract pipeline definition to cli/pipelines#3435jsmid1 wants to merge 1 commit into
Conversation
PR Summary by QodoAdd Enterprise Contract Tekton pipeline to cli catalog
AI Description
Diagram
High-Level Assessment
Files changed (1)
|
|
🤖 Finished Review · ✅ Success · Started 1:09 PM UTC · Completed 1:27 PM UTC |
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (1)
🚧 Files skipped from review as they are similar to previous changes (1)
📝 WalkthroughWalkthroughAdds a Tekton ChangesEnterprise contract pipeline
Estimated code review effort: 2 (Simple) | ~10 minutes Suggested reviewers: Sequence Diagram(s)sequenceDiagram
participant Pipeline
participant CollectKeylessParams
participant VerifyEnterpriseContract
Pipeline->>CollectKeylessParams: Collect keyless verification parameters
CollectKeylessParams->>VerifyEnterpriseContract: Pass OIDC, identity, TUF, and Rekor values
Pipeline->>VerifyEnterpriseContract: Pass verification parameters
VerifyEnterpriseContract-->>Pipeline: Return TEST_OUTPUT
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Code Review by Qodo
Context used✅ Compliance rules (platform):
27 rules 1.
|
There was a problem hiding this comment.
Actionable comments posted: 2
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In `@pipelines/enterprise-contract/0.1/enterprise-contract.yaml`:
- Around line 1-8: Add the repository-standard license header at the very
beginning of the enterprise-contract Pipeline YAML, before the existing purpose
comments and apiVersion declaration. Match the exact header convention used by
neighboring files under pipelines/ and tasks/.
- Around line 92-131: Update the verify task parameters to pass the
collect-keyless-params buildIdentityRegexp result as
CERTIFICATE_IDENTITY_REGEXP. Keep the existing CERTIFICATE_IDENTITY mapping to
tektonChainsIdentity unchanged, so verify receives both exact and regex-based
keyless identity configuration.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Organization UI
Review profile: CHILL
Plan: Pro Plus
Run ID: 288f9467-ccdf-4bb2-8b79-6ba6845ff769
📒 Files selected for processing (1)
pipelines/enterprise-contract/0.1/enterprise-contract.yaml
Codecov Report✅ All modified and coverable lines are covered by tests.
Flags with carried forward coverage won't be shown. Click here to find out more. 🚀 New features to boost your workflow:
|
ReviewFindingsMedium
Low
Previous runReviewFindingsHigh
Low
Labels: PR adds a Tekton Pipeline definition for CI verification workflows Previous run (2)ReviewFindingsMedium
Low
|
|
🤖 Finished Review · ✅ Success · Started 1:31 PM UTC · Completed 1:48 PM UTC |
Move the enterprise-contract integration pipeline source of truth from build-definitions to cli/pipelines/, consistent with how task definitions are already maintained in cli/tasks/. This enables publishing to conforma/tekton-catalog alongside existing tasks. Ref: https://issues.redhat.com/browse/EC-1942
|
🤖 Finished Review · ✅ Success · Started 8:30 AM UTC · Completed 8:48 AM UTC |
Superseded by updated review
Move the enterprise-contract integration pipeline source of truth from build-definitions to cli/pipelines/, consistent with how task definitions are already maintained in cli/tasks/. This enables publishing to conforma/tekton-catalog alongside existing tasks.
Ref: https://issues.redhat.com/browse/EC-1942