Examples: query, "exact match", wildcard*, wild?ard, wild*rd
Fuzzy search: cake~ (finds cakes, bake)
Term boost: "red velvet"^4, chocolate^2
Field grouping: tags:(+work -"fun-stuff")
Escaping: Escape characters +-&|!(){}[]^"~*?:\ with \, e.g. \+
Range search: properties.timestamp:[1587729413488 TO *] (inclusive), properties.title:{A TO Z}(excluding A and Z)
Combinations: chocolate AND vanilla, chocolate OR vanilla, (chocolate OR vanilla) NOT "vanilla pudding"
Field search: properties.title:"The Title" AND text
Answered
Hi All, I Have Python File Build_Pipeline, That Contain Pipelinecontroller With One Step Only. When I Try To Run The File I Get 'Build_Pipline.Py': [Errno 2] No Such File Or Directory' On The Webui. What I Do Wrong? Thanks!

Hi all,
I have python file build_pipeline, that contain PipelineController with one step only.
When I try to run the file I get 'build_pipline.py': [Errno 2] No such file or directory' on the webUI.

What I do wrong?

Thanks!

  
  
Posted one year ago
Votes Newest

Answers 17


SparklingElephant70 then use task_overrides argument, like this
task_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

  
  
Posted one year ago

SparklingElephant70 Try specifying full path to the script (relative to working dir)

  
  
Posted one year ago

MelancholyElk85 So I need to change the paths each time?

  
  
Posted one year ago

MelancholyElk85 Thanks,
I will try!

  
  
Posted one year ago

CostlyOstrich36

  
  
Posted one year ago

SparklingElephant70 in WebUI Execution/SCRIPT PATH

  
  
Posted one year ago

MelancholyElk85 This is the only way?

  
  
Posted one year ago

Also from python client

  
  
Posted one year ago

How are you trying to 'target' the file in the code?

  
  
Posted one year ago

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

  
  
Posted one year ago

Please try like Kirill mentioned. Also please note that there is no file target in the snippet you provided 🙂

  
  
Posted one year ago

SparklingElephant70 , can you please provide the full log of the run? You can download it through the webapp 🙂

  
  
Posted one year ago

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 ?

  
  
Posted one year ago

SparklingElephant70 , Hi
Can you please provide a screenshot of the error?

  
  
Posted one year ago

MelancholyElk85 How do I change the SCRIPT PATH/SCRIPT PATH

  
  
Posted one year ago

Hi CostlyOstrich36 ,

  
  
Posted one year ago

AgitatedDove14 Yes,
I use add step

  
  
Posted one year ago