Commit 36acc2a2 authored by Lionel Walter's avatar Lionel Walter
Browse files

Log sent parameters for debugging purpose

parent 6ba29490
Pipeline #10487 passed with stages
in 10 minutes
......@@ -24,6 +24,9 @@ class JobStart(Resource):
helm_client = helm.Helm()
helm_name = generate_helm_name(process_id, job_name)
# to debug parameters sent by drupal
current_app.logger.debug(job_parameters)
try:
output = helm_client.install(
chart=os.path.join(current_app.root_path, "charts", job_name),
......
......@@ -14,6 +14,10 @@ class JobStop(Resource):
helm_name = generate_helm_name(process_id, job_name)
# to debug parameters sent by drupal
current_app.logger.debug("process_id : " + process_id)
current_app.logger.debug("job_name : " + job_name)
try:
output = helm_client.uninstall(
name=helm_name,
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment