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, In Our Use Case, We Use Multiple Github Repo From Our Organization As Dependent Package. The Issue Is That Github Allow Only One Uniq Ssh

Hi, in our use case, we use multiple github repo from our organization as dependent package.
The issue is that github allow only one uniq ssh deploy key per repo. (eg: The same ssh key cannot be use as ssh deploy key across multiple repo.)
How do we get our clearml-agent to clone all the required repo ?
Is the only work around is to use User account level ssh key (with all the permission that associate with it) ??

  
  
Posted 10 months ago
Votes Newest

Answers 5


So we have 3 python package, store in github.com
On the dev machine, the datascientist (DS) will add the local ssh key to his github account as authorized ssh keys, account level.
With the DS can run git clone git@github.com:org/repo1 then install that python package via pip install -e .
Do that for all 3 python packages, each in its own repo1 , repo2 and repo3 . All 3 can be clone using the same key that the DS added to his account.
The DS run a training, clearml log the "Installed package" as:

[...]
-e 
...
-e 
...
-e 
...

Now we want to reproduce the run inside another dedicated PC, running clearml-agent
This dedicated PC is not own by a single person. We don't want to put the DS personal ssh key in there. Especially, with that key, you can mess-up all repos that the DS have access to.
Ideally, we want to use a SSH Deploy Key that have readonly permission and accessibilty to restricted number of repo. Problem: ssh deploy only allow 1 single repo. We have 3 repos ... which mean that we would need 3 ssh keys ... but so far, I can only see clearml-agent "supporting" single ssh key, which is the default ssh key ...

Or is there a better way to handle this use case ?

  
  
Posted 10 months ago

@<1576381444509405184:profile|ManiacalLizard2> can you perhaps use user/PAT in that agent's setup? All users can still use their SSH keys, but only the agent will use user/PAT to check out these?

  
  
Posted 10 months ago

Hi @<1576381444509405184:profile|ManiacalLizard2> , can you please elaborate more on your specific use case? And yes, ClearML supports working only with a specific user currently. What do you have in mind to expand this?

  
  
Posted 10 months ago

@<1523701070390366208:profile|CostlyOstrich36>

  
  
Posted 10 months ago

Yes. I am investigating that route now.

  
  
Posted 10 months ago