-
Notifications
You must be signed in to change notification settings - Fork 19
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
Place all the OpenShift related logic at one place #56
Conversation
Build failed.
|
02721d6
to
b3e106a
Compare
b3e106a
to
e338662
Compare
Build succeeded.
|
e338662
to
321dec1
Compare
Build succeeded.
|
321dec1
to
73bd2aa
Compare
Build succeeded.
|
Build failed.
|
thoth/common/openshift.py
Outdated
|
||
def _oc_process(self, namespace: str, template: dict) -> dict: | ||
"""Process the given template in OpenShift.""" | ||
# This does not work - see issue reported upstream: |
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.
could you put some @todo here and lets see what happends?!
'value': str(parameter_value) | ||
}) | ||
|
||
def run_sync(self, force_analysis_results_sync: bool = False, force_solver_results_sync: bool = False) -> str: |
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 whole section of preparing the pod/job template looks complicated, why is that?
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.
It runs job and reuses all the configuration of cronjob.
17ca073
to
4a94d92
Compare
rewrite to OpenShift rest client once it will support it.common/thoth/common/openshift.py Lines 147 to 152 in 4a94d92
This comment was generated by todo based on a
|
@goern I would like to proceed with this one, but it looks like CI does not report status anymore. Could you take a look? |
recheck |
recheck |
Merge Failed. This change or one of its cross-repo dependencies was unable to be automatically merged with the current state of its repository. Please rebase the change and upload a new patchset. |
2198d6b
to
d46cd55
Compare
I will merge this to continue with work. If there are any issues/objections/suggestions I will incorporate them :) |
Build failed.
|
recheck |
Build succeeded.
|
No description provided.