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
What Is The Correct Way Of Setting Environment Variables For Agents Which Don'T Run In Docker Mode? Do They Simply Inherit From The Environment They Were Executed From? Is There Somewhere Explicit To Set These Vars?

What is the correct way of setting environment variables for agents which DON'T RUN in docker mode?
Do they simply inherit from the environment they were executed from? Is there somewhere explicit to set these vars?

  
  
Posted 3 years ago
Votes Newest

Answers 11


Depending on where the agent is, the value of DATA_DIR might change

  
  
Posted 3 years ago

yep

  
  
Posted 3 years ago

I guess what I want is a way to define environment variables in agents

  
  
Posted 3 years ago

Okay, so the agent automatically inherits the launching environment's variables?

  
  
Posted 3 years ago

yep

  
  
Posted 3 years ago

CostlyOstrich36 ?

  
  
Posted 3 years ago

For example I have a DATA_DIR environment variable which points to the directory where disk-data is stored

  
  
Posted 3 years ago

so in my code, I'll use this environment variable to read from disk

  
  
Posted 3 years ago

What exactly are you looking to set up?

  
  
Posted 3 years ago

you can just running with the env var at the beginning:

YOUR_ENV_VAR_NAME=/path/to/my/data clearml-agent …

  
  
Posted 3 years ago

Hi WackyRabbit7 , how do you run the agent? manually command?

  
  
Posted 3 years ago
1K Views
11 Answers
3 years ago
one year ago
Tags