Commit 2e41a4b2 authored by Jonas Waeber's avatar Jonas Waeber
Browse files

Add record set id to helm name

parent 25a48d8a
Pipeline #25175 passed with stages
in 2 minutes and 47 seconds
......@@ -9,7 +9,7 @@ from import_api_app.helpers.Error import ImportApiError
def start(process_id, job_name, job_parameters):
helm_client = helm.Helm()
helm_name = generate_helm_name(process_id, job_name)
helm_name = generate_helm_name(process_id, job_parameters['recordSetId'], job_name)
try:
output = helm_client.install(
......
from datetime import timezone
def generate_helm_name(process_id, job_name):
return process_id + '-' + job_name
def generate_helm_name(process_id, record_set_id, job_name):
return record_set_id + '-' + process_id + '-' + job_name
def get_job_info(job):
......
Markdown is supported
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