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

fix: skip basic auth for rhc+satellite #138

Merged
merged 1 commit into from
Sep 24, 2024

Conversation

zhangqianqian
Copy link

No description provided.

Copy link

@Archana-PandeyM Archana-PandeyM left a comment

Choose a reason for hiding this comment

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

please fix lint issue.

@@ -25,6 +25,8 @@ def test_connect(external_candlepin, rhc, test_config, auth):
"""Test if RHC can connect to CRC using basic auth and activation key,
Also verify that yggdrasil service is in active state afterward.
"""
if "satellite" in test_config.environment and auth == "basic":
Copy link

@Archana-PandeyM Archana-PandeyM Aug 14, 2024

Choose a reason for hiding this comment

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

please add a ref to bug/Jira crad for the issue as a comment here and in commit message

Choose a reason for hiding this comment

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

please add some description of change and reference bug in commit message as well

@zhangqianqian zhangqianqian force-pushed the rhc_satellite_support_activationkey branch from ec524e8 to 375045b Compare August 14, 2024 06:49
@zhangqianqian zhangqianqian force-pushed the rhc_satellite_support_activationkey branch from 861c949 to e396228 Compare August 14, 2024 07:58
Copy link
Contributor

@jirihnidek jirihnidek left a comment

Choose a reason for hiding this comment

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

Thanks for the PR, Unfortunately, this PR does not satisfy general requirements on PRs and commits. Each commit has to include description of a change. The PR itself has to include description of provided changes. Lint errors are also not acceptable.

Please, don't do any changes in Go code.

I also don't understand why should we skip basic auth for satellite?

I'm considering closing this PR.

@zhangqianqian zhangqianqian force-pushed the rhc_satellite_support_activationkey branch from 83c2e80 to e396228 Compare August 14, 2024 08:35
@jirihnidek
Copy link
Contributor

@zhangqianqian do you aware of this PR: #121 ?

@Archana-PandeyM
Copy link

@jirihnidek just FYI- https://issues.redhat.com/browse/RHEL-53436
@zhangqianqian will be adding the description to commit message against my review request above, no need to close the PR

@jirihnidek
Copy link
Contributor

@jirihnidek just FYI- https://issues.redhat.com/browse/RHEL-53436 @zhangqianqian will be adding the description to commit message against my review request above, no need to close the PR

I mean, is this change really necessary, when PR #121 exists and it will be merged in the future?

@zhangqianqian
Copy link
Author

zhangqianqian commented Aug 15, 2024

Thanks for your review and suggestion, @Archana-PandeyM .

Hi, @jirihnidek , I did not change any Go code, and I don’t know why the lint errors happened in my PR. I will not do any changes in Go code.

Of course I know #121 which is listed in bug https://issues.redhat.com/browse/RHEL-53436.

As per Christian’s statement in bug https://issues.redhat.com/browse/RHEL-53436, supporting basic auth for satellite is not the goal of the first milestone on supporting Satellite. As the QE who executes the rhc testing with satellite, I would like to keep the test cases updated with the current testing goal(only activation key is supported for satellite for now). When we start the next milestone on supporting satellite when basic auth is supported, I will modify the test cases again. All my actions on the test code are just making sure the test cases reflects the testing goals. If #121 is merged now, we also have the reason to close this PR. If we can not make sure #121 can be merged before next test cycle, I prefer merge this PR first.

Copy link
Contributor

@jirihnidek jirihnidek left a comment

Choose a reason for hiding this comment

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

ACK

@jirihnidek jirihnidek merged commit 0a21801 into main Sep 24, 2024
25 of 28 checks passed
@jirihnidek jirihnidek deleted the rhc_satellite_support_activationkey branch September 24, 2024 15:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants