-
-
Notifications
You must be signed in to change notification settings - Fork 9
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
Introduced flag for keeping VMs alive #110
base: master
Are you sure you want to change the base?
Conversation
alts/worker/tasks.py
Outdated
@@ -174,6 +174,7 @@ def set_artifacts_when_stage_has_unexpected_exception( | |||
module_name = task_params.get('module_name') | |||
module_stream = task_params.get('module_stream') | |||
module_version = task_params.get('module_version') | |||
vm_alive = task_params.get('vm_alive') |
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.
let's pass it as a keyword argument as we do above and adjust OpennebulaRunner.teardown
method to not kill VMs
because right now, if that value is True we won't kill docker containers as well
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.
I made adjustment but as I understand we need also to pass this flag to DockerRunner in order to avoid an exception during initialization.
alts/worker/runners/opennebula.py
Outdated
@@ -62,6 +63,7 @@ def __init__( | |||
package_channel=package_channel, | |||
test_configuration=test_configuration, | |||
test_flavor=test_flavor, | |||
vm_alive= vm_alive, |
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.
please remove whitespace before vm_alive
Resolves: https://cloudlinux.atlassian.net/browse/AL-5654
Fronend and backend: https://gerrit.cloudlinux.com/c/build-system/+/181258