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
Hello! I Am Using Clearml Enterprise, And Want To Pass Env Vars With Environment Section In Configuration Vault So, In Logs Of Remote Task (Config Parsing Part) I Can See My Env Vars (Pics Related), But I Can'T Get Them Via

Hello!
I am using clearml enterprise, and want to pass env vars with environment section in configuration vault

So, in logs of remote task (config parsing part) I can see my env vars (pics related), but I can't get them via os.getenv()

So how can I get env vars within the remote task?
image
image

  
  
Posted 7 months ago
Votes Newest

Answers 7


Some additional logs
image
image

  
  
Posted 7 months ago

Nevermind, I've found the solution:
image

  
  
Posted 7 months ago

Hi @<1569496075083976704:profile|SweetShells3>
These environment variable are injected into the new process, are you passing them on the vault?
None

  
  
Posted 7 months ago

Hi @<1523701205467926528:profile|AgitatedDove14>
Yes, We use configuration vault for that

  
  
Posted 7 months ago

Nice! So out of curiosity why didn't it work this time and you had to do it manually?

  
  
Posted 7 months ago

What do you mean?
We added env vars to configuration vault and expected them to use in remote task with os.getenv

But it didn't work

  
  
Posted 7 months ago

I checked env vars in remote task python env and there were no vars mentioned in vault

  
  
Posted 7 months ago
526 Views
7 Answers
7 months ago
7 months ago
Tags