-
Notifications
You must be signed in to change notification settings - Fork 115
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
use server deploy args #16921
base: master
Are you sure you want to change the base?
use server deploy args #16921
Conversation
trigger: test-robottelo |
1 similar comment
trigger: test-robottelo |
PRT Result
|
@rmynar Could you look into the failures ? |
f78a6fe
to
b4e8587
Compare
if isinstance(param, list): | ||
return [_remove_raw_keys(item) for item in param] | ||
if isinstance(param, dict): | ||
return {k: (_remove_raw_keys(param[k])) for k in param if not k.startswith("raw_")} |
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.
Isn't this a bit easier to read?
return {k: (_remove_raw_keys(param[k])) for k in param if not k.startswith("raw_")} | |
return {k: _remove_raw_keys(v) for k, v in param.items() if not k.startswith("raw_")} |
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.
yeah, looks better. thanks
34610cb
to
3a13006
Compare
trigger: test-robottelo |
PRT Result
|
3a13006
to
64088f2
Compare
@rmynar Should this PR be in Draft state still? |
More fixes were needed to fix deployment and installation in Interop testing pipelines. New PR was created #17489 and this one can be closed |
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 quick sugggestion that may need larger updates.
@@ -292,10 +301,10 @@ def parametrized_enrolled_sat( | |||
Broker(hosts=[new_sat]).checkin() | |||
|
|||
|
|||
def get_deploy_args(request): | |||
"""Get deploy arguments for Satellite base OS deployment. Should not be used for Capsule.""" | |||
def get_sat_deploy_args(request): |
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.
How if we move these to their own classes in robottelo/hosts.py
module as class methods?
Once moved, We/Anywhere these arguments could be used.
return _remove_raw_keys(deploy_args) | ||
|
||
|
||
def get_cap_deploy_args(): |
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.
And this to capsule class as a class method?
We were wrongly using content host (client) deploy arguments to deploy rhel which acts as a host for server.