You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Feb 27, 2025. It is now read-only.
Repository navigation
This repository was archived by the owner on Feb 27, 2025. It is now read-only.
Understand best way to pass DB environmental parameters to containers in workflow #14
set DB environment variables similar to simtools by source set_DB_environ.sh
run cwltool with cwltool ... --preserve-environment DB_API_PORT --preserve-environment DB_SERVER --preserve-environment DB_API_USER --preserve-environment DB_API_PW --preserve-environment DB_API_AUTHENTICATION_DATABASE ...
This is not ideal and an easier way should be found.
cwtools prints a warning, which we probably can ignore:
WARNING You have specified '--preserve-environment={DB_API_PORT, DB_SERVER, DB_API_USER, DB_API_PW, DB_API_AUTHENTICATION_DATABASE}' while running a container which will override variables set in the container. This may break the container, be non-portable, and/or affect reproducibility.
The current somewhat cumbersome way is:
source set_DB_environ.shcwltool ... --preserve-environment DB_API_PORT --preserve-environment DB_SERVER --preserve-environment DB_API_USER --preserve-environment DB_API_PW --preserve-environment DB_API_AUTHENTICATION_DATABASE ...This is not ideal and an easier way should be found.
cwtools prints a warning, which we probably can ignore: