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
Is It Possible To Do Additional Setup (The

Is it possible to do additional setup (the extra_bash_init_script , container_bash_script etc per task? Say a task requires a system package, install it before running the task but just for that task alone. Especially relevant in docker / k8s modes

  
  
Posted 3 years ago
Votes Newest

Answers 8


You can set a specific bash script in the task itself - in the task information panel, see Execution -> Container -> Setup Shell Script

  
  
Posted 3 years ago

It’s a bit difficult to figure out the exact key. Will try this to see if it works

  
  
Posted 3 years ago

SuccessfulKoala55 what’s the right way to do this using the SDK. I use Task.init but the option is there only in Task.create? (I have always been indecisive on when to use init vs create as well). Pointers?

  
  
Posted 3 years ago

Awesome, thanks! Sorry missed it

  
  
Posted 3 years ago

Ah is it, didn’t know about that. Let me check it out.

  
  
Posted 3 years ago

See Task.set_base_docker()

  
  
Posted 3 years ago

One more help - is this something I can pass as task_overrides when creating a pipeline in add_step?

  
  
Posted 3 years ago

I think so, using {'container.setup_shell_script': '...'}

  
  
Posted 3 years ago
949 Views
8 Answers
3 years ago
one year ago
Tags