fix(CLOUDDST-30777): log improvements for deploy-fbc-operator - #300
Conversation
|
@nmars can you please check whether this makes sense? |
|
@nmars @yashvardhannanavati I also updated the |
nmars
left a comment
There was a problem hiding this comment.
Also tagging @asergienk for her opinion.
|
Could you please update the README file to add new tasks: https://github.com/JAVGan/tekton-integration-catalog/blob/5a7cc1e805d7b4af3a1542e1d7e214e6062d90f9/pipelines/deploy-fbc-operator/0.2/README.MD |
Code Review by Qodo
1.
|
|
@nmars @asergienk can you please check again? |
|
Code review by qodo was updated up to the latest commit 0daa657 |
0b2516d to
b746351
Compare
|
Code review by qodo was updated up to the latest commit b746351 |
|
Code review by qodo was updated up to the latest commit b746351 |
|
Code review by qodo was updated up to the latest commit 938ce20 |
|
@JAVGan just small comments, otherwise lgtm! Was this PR tested on a cluster? |
|
🤖 Finished Review · ❌ Failure · Started 5:30 PM UTC · Completed 5:37 PM UTC |
This commit introduces a new task named `validate-parameters` which will be executed first in the pipeline. This newly added task will raise errors when required secrets/parameters are not set as well as emit warnings for the ones which are missing so the end user can properly debug. The goal of this change is to prevent a scenario which the pipeline gets stuck without any error messages due to missing secrets, as well as early failing/warning for missing fields. Refers to CLOUDDST-30777 Signed-off-by: Jonathan Gangi <jgangi@redhat.com>
This commit enhances the logging for `deploy-fbc-operator` by informing which tasks are going to be skipped for non "push" events, such as "pull_request" or "retest-all-comment". Refers to CLOUDDST-30777 Signed-off-by: Jonathan Gangi <jgangi@redhat.com>
Bump konflux-test image to `quay.io/konflux-ci/konflux-test:1.5.2@sha256:c370a7bc6e172cdbab001f1a19f37ebc95f47c3d8fe2d915fa4641132490ead7` as for review request Signed-off-by: Jonathan Gangi <jgangi@redhat.com>
Rephrase the warnings for `PACKAGE_NAME` and `CHANNEL_NAME` to not print `WARNING` since these are working as intended, just letting the user know the properties will be obtained from the FBC fragment. Signed-off-by: Jonathan Gangi <jgangi@redhat.com>
Change the order of the task `log-non-push-tasks` to run after `parse-metadata` Signed-off-by: Jonathan Gangi <jgangi@redhat.com>
Update the `README.MD` files for `deploy-fbc-operator` in order to include the new implemented tasks. Signed-off-by: Jonathan Gangi <jgangi@redhat.com>
…dering Restore provision-eaas-space runAfter to parse-metadata instead of log-non-push-tasks to avoid cascade-skip risk on non-default Tekton configurations. Remove dead SNAPSHOT validation (Tekton enforces at admission) and unreachable SLACK_KEY_NAME warning (param has a non-empty default). Assisted-by: Claude
Update the README for `deploy-fbc-operator` to have a better formatting Signed-off-by: Jonathan Gangi <jgangi@redhat.com>
|
Code review by qodo was updated up to the latest commit c5780fe |
Co-Authored-By: Ashwini Kumar <ashwkuma@redhat.com> Signed-off-by: Jonathan Gangi <jgangi@redhat.com>
|
🤖 Finished Review · ✅ Success · Started 5:28 PM UTC · Completed 5:47 PM UTC Commit: |
Code Review by Qodo
1.
|
ReviewFindingsLow
Labels: PR adds new pipeline tasks and bumps image versions in the deploy-fbc-operator pipeline |
|
@asergienk here's the passing test cases -
Do let me know if you need anything else before we can merge it. |
Injection Issues -
Edge Case for Snapshot Validation
Error-message-format
Intent-category-mismatch
|
|
@maneeshmehra I have provided comments for the reviews by fullsend, please have a look and let me know if we need any further improvement for this MR. |
|
Approved. |
|
@konflux-ci/konflux-devprod-team could you please have a look on this MR please? |
This PR contains the following changes:
Validate parameters for deploy-fbc-operator
This commit introduces a new task named
validate-parameterswhich will be executed first in the pipeline.This newly added task will raise errors when required secrets/parameters are not set as well as emit warnings for the ones which are missing so the end user can properly debug.
The goal of this change is to prevent a scenario which the pipeline gets stuck without any error messages due to missing secrets, as well as early failing/warning for missing fields.
Log skipped tasks for deploy-fbc-operator
This commit enhances the logging for
deploy-fbc-operatorby informing which tasks are going to be skipped for non "push" events, such as "pull_request" or "retest-all-comment".JIRA
Refers to CLOUDDST-30777