SparklingElephant70 then use task_overrides
argument, like thistask_overrides={'script.branch': 'main', 'script.version_num': '', 'script.diff': '', 'project': Task.get_project_id(project_name=cfg[name]['base_project']), 'name': 'task-name', 'container.image': 'registry.gitlab.com/image:tag'}
there must be some schema to change script name as well
How are you trying to 'target' the file in the code?
MelancholyElk85 So I need to change the paths each time?
Please try like Kirill mentioned. Also please note that there is no file target in the snippet you provided 🙂
SparklingElephant70 , let me make sure I understand, the idea is to make sure the pipeline will launch a specific commit/branch, and that you can control it? Also are you using the pipeline add_step
function or are you decorating a function with PipelineDecorator ?
pipe = PipelineController( name='grab2train_tf', project='main pipeline', version='0.0.1', abort_on_failure=True, # any failed step will cause the pipeline to immediately abort, stop all running steps, and mark the pipeline as failed. )
I'm missing something? CostlyOstrich36
SparklingElephant70 , Hi
Can you please provide a screenshot of the error?
MelancholyElk85 How do I change the SCRIPT PATH/SCRIPT PATH
SparklingElephant70 in WebUI Execution/SCRIPT PATH
SparklingElephant70 , can you please provide the full log of the run? You can download it through the webapp 🙂
SparklingElephant70 Try specifying full path to the script (relative to working dir)
MelancholyElk85 This is the only way?