There are a handful of special environment variables that affect the behavior of the Valohai execution agent.
You can add a new environment variable to an execution when you create it. The environment variables mentioned below define which cache to clean (data, docker, or all)
VH_NO_DATA_CACHE
Setting this to a true value (1
, yes
, true
) will have the execution agent ignore any pre-existing cached data. This is useful if you have reused the same URL for a given datum (which, for reproducibility reasons, you should not generally do). The
datum will still be written to the agent machine’s local cache.
VH_NO_IMAGE_CACHE
Setting this to a true value (1
, yes
, true
) will have the execution agent ignore existing Docker images and force pulling them anew from the source.
VH_CLEAN
Setting this to a true value (1
, yes
, true
) will have the execution agent forcibly clean all Docker images and cached data off the agent machine before and after the execution. This will take additional time.
Comments
0 comments
Please sign in to leave a comment.