Skip to content
Snippets Groups Projects
Commit 66b1e349 authored by Domenico Giordano's avatar Domenico Giordano
Browse files

Merge branch 'improve_doc_1' into 'qa'

Improve doc 1

See merge request !107
parents 28edc4f8 7a25c5e2
No related branches found
No related tags found
4 merge requests!146Merge qa into master and fix conflicts,!144version to master before major changes in naming cnvention,!131merging Qa into master,!107Improve doc 1
...@@ -133,6 +133,19 @@ build-docker-standalone-cms-gen-sim: ...@@ -133,6 +133,19 @@ build-docker-standalone-cms-gen-sim:
- cms/gen-sim/*/* - cms/gen-sim/*/*
<<: *build-docker-anchor <<: *build-docker-anchor
build-docker-standalone-cms-digi:
variables:
HEP_WL_SPEC_FILE: $CI_PROJECT_DIR/cms/digi/cms-digi.spec
only:
refs:
- qa
changes:
- cms/digi/*
- cms/digi/*/*
<<: *build-docker-anchor
### ###
### LHCb ### LHCb
### ###
......
...@@ -66,6 +66,11 @@ In order to execute all those steps in an isolate environment, Docker containers ...@@ -66,6 +66,11 @@ In order to execute all those steps in an isolate environment, Docker containers
3. Run the automatic procedure 3. Run the automatic procedure
* ``$HEPWL/build-executor/run_build.sh -s $HEPWL/lhcb/gen-sim/lhcb-bmk.spec`` * ``$HEPWL/build-executor/run_build.sh -s $HEPWL/lhcb/gen-sim/lhcb-bmk.spec``
* run ``$HEPWL/build-executor/run_build.sh -h`` to know all options * run ``$HEPWL/build-executor/run_build.sh -h`` to know all options
4. In case only cvmfs needs to be exposed, run ``run_build.sh`` with the option ``-e``
* ``$HEPWL/build-executor/run_build.sh -s $HEPWL/cms/gen-sim/cms-gen-sim.spec -e sleep``
* This will start a privileged container that will mount the cvmfs repositories listed in `` $HEPWL/cms/gen-sim/cms-gen-sim.spec`` and will stay alive so that a second container can bind mount the exposed cvmfs mount point
* ``docker run -v /tmp/root/cvmfs_hep/MOUNTPOINT:/cvmfs:shared ...``
# How to run a built HEP workload container # How to run a built HEP workload container
......
...@@ -290,7 +290,10 @@ function execute_procedure(){ ...@@ -290,7 +290,10 @@ function execute_procedure(){
echo "Do not run any step of the procedure." echo "Do not run any step of the procedure."
;; ;;
sleep) sleep)
echo "Sleep and stay alive just to expose cvmfs." echo -e "\nSleep and stay alive just to expose cvmfs"
echo "cvmfs mount point $CVMFS_VOLUME"
echo "You can mount the available cvmfs as follow:"
echo "docker run -v $CVMFS_VOLUME:/cvmfs:shared ..."
sleep infinity sleep infinity
;; ;;
build) build)
...@@ -320,7 +323,9 @@ function execute_procedure(){ ...@@ -320,7 +323,9 @@ function execute_procedure(){
### Main ### Main
echo "[main.sh] starting at $(date)" echo -e "\n@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
\n[main.sh] starting at $(date)\n
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@\n"
echo "Current directory is $(pwd)" echo "Current directory is $(pwd)"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment