Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
CEPCSW
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Li Zhihao
CEPCSW
Commits
b71b1753
Commit
b71b1753
authored
4 years ago
by
lintao@ihep.ac.cn
Browse files
Options
Downloads
Patches
Plain Diff
WIP: another testing, use ps to dump info every 1 min.
parent
f81d5d13
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.build.ci.sh
+13
-0
13 additions, 0 deletions
.build.ci.sh
.travis.yml
+1
-1
1 addition, 1 deletion
.travis.yml
with
14 additions
and
1 deletion
.build.ci.sh
0 → 100644
+
13
−
0
View file @
b71b1753
#!/bin/bash
# This is wrapper to run the build.sh on CI
source
setup.sh
./build.sh
>
& mylog.sh &
buildpid
=
$!
while
ps
-p
$buildpid
2>/dev/null
;
do
sleep
60
done
tail
-n100
mylog.sh
This diff is collapsed.
Click to expand it.
.travis.yml
+
1
−
1
View file @
b71b1753
...
@@ -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 | tee build.log 2> /dev/null ; tail -n100 build.log
"
-
docker exec -ti CI_CONTAINER /bin/bash -c "cd /workspace;
bash .build.ci.sh
"
# 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'
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment