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
Unanswered
Is It Possible To Make A Callback To When A Task Is Grabbed By A Trains-Agent Worker So I Could Edit Its Configuration Before The Creation Of The Tasks Starts? (I Want To Change The Base Docker Path Depending On The Worker That Grabbed The Task)


Hi SmarmySeaurchin8 ,

You can configure each trains-agent to run with a different image. In your trains.conf file, under agent.default_docker.image section, specify the image you want the trains-agent to run with. When you have a value in this section, and with empty BASE DOCKER IMAGE, you can avoid changing it manually.

Can this do the trick?

  
  
Posted 4 years ago
181 Views
0 Answers
4 years ago
one year ago