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
Question About Pipelines - So The Default For Pipeline Tasks That Are Executed Remotely Is To Execute On The

Question about pipelines - so the default for pipeline tasks that are executed remotely is to execute on the services queue. Assuming I want only ONE agent listening to the services queue, and since I'm not the one launching this agent (it is launched by default) how can I give this agent git access?

  
  
Posted 2 years ago
Votes Newest

Answers 8


thx martin

  
  
Posted 2 years ago

It's relatively new and it is great as from the usage aspect it is exactly like a user/pass only the pass is the PAT , really makes life easier

  
  
Posted 2 years ago

Hi WackyRabbit7
the services (or the agent running there) is spinning multiple Tasks (as opposed to regular agent where it is one task at a time).

how can I give this agent git access?

in the docker-compose you can configure the git credentials (user/pass or user/key it is the same).
https://github.com/allegroai/clearml-server/blob/d0e2313a24eb1248ebf0ddf31bf589de0d675562/docker/docker-compose.yml#L137

  
  
Posted 2 years ago

what if i want it to use ssh creds?

  
  
Posted 2 years ago

AgitatedDove14

  
  
Posted 2 years ago

iwhat if

  
  
Posted 2 years ago

Hmm, this is a good question, I "think" the easiest is to mount the .ssh folder form the host to the container itself. Then also mount clearml.conf into the container with force_git_ssh_protocol: true see here
https://github.com/allegroai/clearml-agent/blob/6c5087e425bcc9911c78751e2a6ae3e1c0640180/docs/clearml.conf#L25

btw: ssh credentials even though sound more secure are usually less (since they easily contain too broad credentials and other access rights), just my 2 cents 🙂 I would use user + access-token (which is the same as password only you can have multiple of those with limited access, see github personal access tokens https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/creating-a-personal-access-token )

  
  
Posted 2 years ago

cool, didn't know about the PAT

  
  
Posted 2 years ago