Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(STONEINTG-613): remove status report from PLR controller #359

Merged
merged 1 commit into from
Oct 23, 2023

Conversation

hongweiliu17
Copy link
Contributor

@hongweiliu17 hongweiliu17 commented Oct 11, 2023

  • remove status report from integrationPLR controller
  • create comment to PR in statusreport controller for github webhook
  • add test result to report of statusreport
  • update comment if there is one existing comment of snapshot and scenario test status
  • update controller diagram

checkRun example: https://github.com/hongliuorg/devfile-sample-go-basic/pull/4/checks?check_run_id=16776195643
commitStatus/comment example: https://github.com/hongweiliu17/devfile-sample-go-basic/pull/2

Maintainers will complete the following section

  • Commit messages are descriptive enough (hints)
  • Code coverage from testing does not decrease and new code is covered
  • Controllers diagrams are updated when PR changes controllers code (if applicable)

status/reporters.go Outdated Show resolved Hide resolved
Copy link
Collaborator

@dirgim dirgim left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM aside the tiny nit!

Copy link
Member

@dheerajodha dheerajodha left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

small comment about function names

* remove status report from integrationPLR controller
* create comment in statusreport controller for github webhook
* add test result to report of statusreport
* update comment when one comment exists for the snapshot and scenario
* update controller diagram

Signed-off-by: Hongwei Liu <hongliu@redhat.com>
Copy link
Collaborator

@MartinBasti MartinBasti left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good!

Given the size of PR, please do careful testing before merging.

@hongweiliu17
Copy link
Contributor Author

Tested it again in my personal cluster, it works, no error. Will merge it next Monday. Thanks all for the review!

@hongweiliu17 hongweiliu17 merged commit e85e2e6 into konflux-ci:main Oct 23, 2023
11 checks passed
@hongweiliu17 hongweiliu17 deleted the STONEINTG-613 branch December 14, 2023 03:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants