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

WIP: testing.

parent 25dde6a0
No related branches found
No related tags found
No related merge requests found
...@@ -61,7 +61,7 @@ install: ...@@ -61,7 +61,7 @@ install:
# command to run tests # command to run tests
script: 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 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 >& build.log; tail -n100 build.log" - docker exec -ti CI_CONTAINER /bin/bash -c "cd /workspace; source setup.sh; ./build.sh | tee build.log > /dev/null ; tail -n100 build.log"
# If run singularity inside docker: # 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' # - 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'
......
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