feat(ISV-6717): Add a new task to read keyless signing config#2042
feat(ISV-6717): Add a new task to read keyless signing config#2042gbenhaim merged 1 commit intokonflux-ci:developmentfrom
Conversation
Review Summary by QodoAdd collect-signing-params task for keyless signing configuration
WalkthroughsDescription• Add new Tekton task to collect keyless signing configuration • Task reads Konflux cluster-config ConfigMap from konflux-info namespace • Extracts signing parameters (OIDC issuer, Rekor, Fulcio, TUF URLs) • Returns empty values when ConfigMap is missing, allowing pipeline continuation • Includes comprehensive test for missing ConfigMap scenario Diagramflowchart LR
A["Tekton Task<br/>collect-signing-params"] -->|reads| B["cluster-config<br/>ConfigMap"]
B -->|extracts| C["Signing Parameters<br/>OIDC, Rekor, Fulcio, TUF"]
A -->|fallback| D["Empty Values<br/>if ConfigMap missing"]
C --> E["Task Results"]
D --> E
File Changes1. tasks/managed/collect-signing-params/collect-signing-params.yaml
|
Code Review by Qodo
1. Missing EOF newline in hook
|
✅ Snyk checks have passed. No issues have been found so far.
💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse. |
0588e49 to
ae98b1d
Compare
Review Summary by QodoAdd collect-signing-params task for keyless signing configuration
WalkthroughsDescription• Add new Tekton task to collect keyless signing configuration • Task reads Konflux cluster-config ConfigMap from konflux-info namespace • Returns empty values when ConfigMap is missing, allowing pipeline continuation • Includes comprehensive test coverage for both success and missing ConfigMap scenarios Diagramflowchart LR
A["Tekton Pipeline"] -->|"reads cluster-config ConfigMap"| B["collect-signing-params Task"]
B -->|"ConfigMap found"| C["Extract signing parameters"]
B -->|"ConfigMap missing"| D["Return empty values"]
C -->|"outputs"| E["OIDC Issuer, Rekor, Fulcio, TUF URLs"]
D -->|"outputs"| E
File Changes1. tasks/managed/collect-signing-params/README.md
|
Code Review by Qodo
1. Test creates namespace
|
|
Persistent review updated to latest commit b595bd5 |
1 similar comment
|
Persistent review updated to latest commit b595bd5 |
|
Persistent review updated to latest commit c806bca |
|
Persistent review updated to latest commit c806bca |
|
Persistent review updated to latest commit da81013 |
|
/test |
|
PR-Agent: Missing component name in ✨ Test tool usage guide:The where 'component_name' is the name of a specific component in the PR. To get a list of the components that changed in the PR, use the Configuration options:
See more information about the test tool in the docs. |
|
/retest |
2 similar comments
|
/retest |
|
/retest |
|
Is there an issue with the e2e tests? |
Apparently yes, the attempt to fix it is here #2063 |
|
/retest |
|
@johnbieren was the collector fixed? If so, how to update tests to use the fix? |
The collectors are fixed, but the collector test won't work until |
johnbieren
left a comment
There was a problem hiding this comment.
I'll respond here when a rebase should result in passing e2e. Hopefully early tomorrow
@Allda tests should pass with a rebase now |
A new task reads Konflux configuration and expose the values for keyless signing. In case the config map is not present on a cluster, the task returns empty values which indicates the keyless signing should be skipped. Signed-off-by: Ales Raszka <araszka@redhat.com> feat(ISV-6717): add collect-signing-params to rh-advisory pipeline A rh-advisory pipeline will sign sboms using keyless method and this commit prepares the configuration. Signed-off-by: Ales Raszka <araszka@redhat.com> feat(ISV-6717): update mobster tasks in push-rpms-to-pulp A latest version of Mobster git revision. It doesn't have any affect on the pipeline since there are no changes. It just allows deprecate older version. Signed-off-by: Ales Raszka <araszka@redhat.com> feat(ISV-6717): add collect-signing-params to push-to-external-registry A task reads a configuration for keyless signing. The output of the task will be used in other PR implementing a SBOM singature. Signed-off-by: Ales Raszka <araszka@redhat.com> fix: readme format Signed-off-by: Ales Raszka <araszka@redhat.com> fix: apply Qodo code review suggestions Signed-off-by: Ales Raszka <araszka@redhat.com> fix: address code review comments Signed-off-by: Ales Raszka <araszka@redhat.com> fix: remove trusted artifact from task Signed-off-by: Ales Raszka <araszka@redhat.com>
|
@johnbieren test passed. Ready to merge? |
I marked my approval, but you need @davidmogar @ach912 and a codeowner like @gbenhaim to approve before we can merge |
|
@davidmogar @ach912 Could you please approve this PR? It is blocking several other PRs and it was just wating till the CI is fixed. |
|
For context: this change blocks work that is necessary for completing TSF work, which has a deadline by the end of March. 2-3 other PRs need to be based on this. |
A new task reads Konflux configuration and expose the values for keyless signing. In case the config map is not present on a cluster, the task returns empty values which indicates the keyless signing should be skipped.
Describe your changes
Relevant Jira
Checklist before requesting a review
do not mergelabel if there's a dependency PRrelease-service-maintainershandle if you are unsure who to tagSigned-off-by: My name <email>.github/scripts/readme_generator.shand verified the results using.github/scripts/check_readme.sh