Skip to content
Snippets Groups Projects
Commit f6961173 authored by lintao@ihep.ac.cn's avatar lintao@ihep.ac.cn
Browse files

WIP: add an example to run singularity insider docker.

parent 5e67680d
No related branches found
No related tags found
No related merge requests found
......@@ -62,7 +62,8 @@ install:
script:
- docker run --privileged -ti --name CI_CONTAINER -v $PKGDIR:/workspace -e COMPILER_TYPE=$COMPILER -e LCG_RELEASE=${LCG_RELEASE} -e STANDARD=${STANDARD} -e COMPILER_VERSION=${COMPILER_VERSION} ${CVMFS_REPOS} -d cepc/cepcsw bash
- docker exec -ti CI_CONTAINER /bin/bash -c "cd /workspace; source setup.sh; ./build.sh"
# If run singularity inside docker:
# - docker exec -ti CI_CONTAINER /usr/bin/singularity exec -B /cvmfs -B /workspace /cvmfs/container.ihep.ac.cn/singularity/image//SL69/sl69worknode20200729.sif /bin/bash -c 'cd /workspace; source setup.sh; ./build.sh'
# Don't send e-mail notifications
notifications:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment