-
Notifications
You must be signed in to change notification settings - Fork 87
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
[RHELC-1164] Update RHSM custom facts during analysis #1043
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #1043 +/- ##
==========================================
- Coverage 95.30% 95.28% -0.02%
==========================================
Files 51 51
Lines 4645 4649 +4
Branches 822 824 +2
==========================================
+ Hits 4427 4430 +3
Misses 139 139
- Partials 79 80 +1
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A few suggestions to improve the comments, otherwise looks good
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
ecf3514
to
51567ea
Compare
51567ea
to
d59cadf
Compare
/packit test --labels tier0 |
a5c85de
to
4f4f2e1
Compare
/packit test --labels tier0 |
/packit test --labels tier0 |
/packit test --labels tier0 |
a01b849
to
ca9ad24
Compare
/packit test --labels tier0 |
1 similar comment
/packit test --labels tier0 |
ca9ad24
to
86b8df6
Compare
Enable the RHSM custom facts update during analysis mode. The update will only happen if the system was registered before, otherwise, we won't do nothing Signed-off-by: Rodolfo Olivieri <rolivier@redhat.com>
Signed-off-by: Rodolfo Olivieri <rolivier@redhat.com>
Signed-off-by: Rodolfo Olivieri <rolivier@redhat.com>
Co-authored-by: Adam Hosek <hosek.adam@outlook.com>
86b8df6
to
00f3bbd
Compare
/packit test --labels tier0 |
00f3bbd
to
ed58914
Compare
/packit test --labels tier0 |
1 similar comment
/packit test --labels tier0 |
ed58914
to
7e8a982
Compare
/packit test --labels tier0 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good @r0x0d, thanks!
Just a couple of tweaks I would not block the merge with.
summary+: | | ||
RHSM facts update after analysis | ||
description+: | | ||
This test verifies that the RHSM facts are uploaded when running | ||
convert2rhel with analysis option. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is just duplicating the summary and description from the root of the path in the file.
Could be consolidated, I wouldn't block the merge on this though.
pytest -svv -m test_rhsm_facts_called_in_analysis | ||
adjust+: | ||
- enabled: false | ||
when: distro == oracle-7, oracle-8 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
when: distro == oracle-7, oracle-8 | |
when: distro == oracle |
The filtering calls the startswith() method, I believe, so no need to include both.
Again not a blocker, will fix in a different PR.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Alright, thanks!
* Update RHSM custom facts during analysis Enable the RHSM custom facts update during analysis mode. The update will only happen if the system was registered before, otherwise, we won't do nothing Signed-off-by: Rodolfo Olivieri <rolivier@redhat.com> * Fix failling main test Signed-off-by: Rodolfo Olivieri <rolivier@redhat.com> * Add integration tests Signed-off-by: Rodolfo Olivieri <rolivier@redhat.com> * Apply suggestions from code review Co-authored-by: Adam Hosek <hosek.adam@outlook.com> * Update integration tests --------- Signed-off-by: Rodolfo Olivieri <rolivier@redhat.com> Co-authored-by: Adam Hosek <hosek.adam@outlook.com>
Enable the RHSM custom facts update during analysis mode.
The update will only happen if the system was registered before, otherwise, we won't do nothing
Jira Issues: RHELC-1164
Checklist
[RHELC-]
is part of the PR titleRelease Pending
if relevant