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
We Have Configured The Aws Credentials In The Remote Worker'S

We have configured the AWS credentials in the remote worker's clearml.conf , but they are not available to third parties that use e.g. AWS_ACCESS_KEY . Is there any simple way to export them to the environment?

  
  
Posted 2 years ago
Votes Newest

Answers 10


I'm aware, but it would be much cleaner to define them in the worker's clearml.conf and let ClearML expose them locally to running tasks.

EDIT: Also the above is specifically about serving, which is not the target here 🤔 At least not yet 😄

  
  
Posted 2 years ago

nevermind! Found and answered (solution in the issue linked above)

  
  
Posted 2 years ago

UnevenDolphin73 the agent will not expose these to the environment automatically

  
  
Posted 2 years ago

Thanks SuccessfulKoala55 , I made https://github.com/allegroai/clearml-agent/issues/126 as a suggestion.

Do you have any thoughts on how to expose these... manually?
It does so already for environment variables that prefixed with CLEARML_ , so it would be nice to have some control over that.

  
  
Posted 2 years ago

In your clearml.conf file, just add (top-level, not under any section):
environment { name: value }

  
  
Posted 2 years ago

Maybe AgitatedDove14 ? 🙃

  
  
Posted 2 years ago

Thanks SuccessfulKoala55 ! Is this listed anywhere in the documentation?
Could I set an environment variable there and then refer to it internally in the config with the ${...} notation?

I see https://github.com/allegroai/clearml-agent/blob/d2f3614ab06be763ca145bd6e4ba50d4799a1bb2/clearml_agent/backend_config/utils.py#L23 but not where it's called 🤔

  
  
Posted 2 years ago

Well, the agent does support setting environment variables, you just have to tell it what to put there

  
  
Posted 2 years ago

I mean, I see these are defined here https://github.com/allegroai/clearml-agent/blob/master/clearml_agent/definitions.py

But I do not see where an EnvironmentConfig.set() is called...

  
  
Posted 2 years ago