Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Generate script with the release for quick loading of the running environment for DAQ application #167

Open
dingp opened this issue May 16, 2022 · 1 comment

Comments

@dingp
Copy link
Contributor

dingp commented May 16, 2022

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 through setup_dbt and dbt-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) and declare -f (for all the bash functions) found after dbt-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.

@dingp
Copy link
Contributor Author

dingp commented May 16, 2022

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant