Open dingp opened 2 years ago
https://github.com/DUNE-DAQ/pocket/blob/thea/kind-1.20.0/images/daq_application/common/make_env_script.sh contains a list of ENVs needed by running daq-application
.
In stead of capturing the whole bash environment after dbt-setup-release
, capturing the ENVs as in make_env_script.sh
might be good enough.
This script is intended to be sourced in docker containers. It will have all the necessary ENV and bash functions (if any is needed) so that
daq_application
can be started without going throughsetup_dbt
anddbt-setup-release
, which may takes minutes in some case.The first version of this script has been generated and deployed to cvmfs. However, it might be an overkill. It currently contains the outputs of
declare -x
(for all the exported ENVs) anddeclare -f
(for all the bash functions) found afterdbt-setup-release
. The file is located at:<cvmfs_release_dir>/<release_name>/dbt-setup-release-env.sh
.The lines in the nightly CI workflow for generating the script is around here.