Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
chaos_bundle_compilation
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
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
chaos-lnf-control
chaos_bundle_compilation
Commits
c9bc69fe
There was a problem fetching the pipeline summary.
Commit
c9bc69fe
authored
7 years ago
by
Andrea Michelotti
Browse files
Options
Downloads
Patches
Plain Diff
re-added test stage
parent
559bc22b
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Pipeline
#
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+70
-8
70 additions, 8 deletions
.gitlab-ci.yml
with
70 additions
and
8 deletions
.gitlab-ci.yml
+
70
−
8
View file @
c9bc69fe
stages
:
-
build
-
test
-
deploy
...
...
@@ -78,21 +79,17 @@ ubuntu1604_x86_64:
-
cmake -DCHAOS_WAN=ON -DCHAOS_CCS=ON -DCERN_ROOT=$INSTALL_DIR -DCMAKE_INSTALL_PREFIX=$INSTALL_DIR . |& tee $DISTRIB_PREFIX/bundle.configuration.log
-
make -j 4 install
-
source $INSTALL_DIR/chaos_env.sh
-
if ! $INSTALL_DIR/tools/chaos_test.sh -d $INSTALL_DIR/tools/test;then echo "* retrying test in debug mode";export CHAOS_DEBUG_CMD_TOOL="gdb";$INSTALL_DIR/tools/chaos_test.sh -d $INSTALL_DIR/tools/test;fi
-
cd chaosframework/ccs;qmake;echo "* compiling CCS";make -j 4 >& $DISTRIB_PREFIX/ccs.compilation.log ;cp ccs $INSTALL_DIR/bin;cd ../../
-
scripts/strip_symbols.sh $INSTALL_DIR
-
tar cfz $DISTRIB_NAME.tar.gz -C /usr/local/chaos chaos-distrib
artifacts
:
when
:
always
name
:
"
$DISTRIB_NAME.tar.gz"
paths
:
-
./*.tar.gz
-
/usr/local/chaos/chaos-distrib/log
expire_in
:
1 day
after_script
:
-
echo "* compatting files in $INSTALL_DIR"
-
tar cfz test-log.$CI_JOB_NAME.$CI_RUNNER_DESCRIPTION.tar.gz -C /usr/local/chaos/chaos-distrib log
-
if scp test-log.$CI_JOB_NAME.$CI_RUNNER_DESCRIPTION.tar.gz chaosweb@opensource.lnf.infn.it:/var/www/html/binary/chaos/logs;then echo "* [$CI_RUNNER_DESCRIPTION] log transferred ok";else echo "%% [$CI_RUNNER_DESCRIPTION] cannot copy";fi
expire_in
:
5 day
ubuntu1604_static_x86_64
:
services
:
...
...
@@ -241,6 +238,71 @@ deploy_stage:
allow_failure
:
true
ubuntu1604_test_x86_64
:
stage
:
test
services
:
-
name
:
couchbase/server:community-3.1.3
alias
:
couchbase
-
name
:
mongo:3.4
alias
:
mongo
image
:
baltig.infn.it:4567/amichelo/chaos_bundle_compilation:1604
script
:
-
tar xfz $DISTRIB_NAME.tar.gz -C /
-
scripts/dbinit.sh couchbase mongo
-
repo init -u git@baltig.infn.it:chaos-lnf-control/chaos_repo_bundle.git -b $CI_COMMIT_REF_NAME
-
repo sync
-
cp -r tools $INSTALL_DIR
-
cp -r common/test $INSTALL_DIR/tools
-
source $INSTALL_DIR/chaos_env.sh
-
if ! $INSTALL_DIR/tools/chaos_test.sh -d $INSTALL_DIR/tools/test;then echo "* retrying test in debug mode";export CHAOS_DEBUG_CMD_TOOL="gdb";$INSTALL_DIR/tools/chaos_test.sh -d $INSTALL_DIR/tools/test;fi
-
scripts/strip_symbols.sh $INSTALL_DIR
-
tar cfz $DISTRIB_NAME.tar.gz -C /usr/local/chaos chaos-distrib
artifacts
:
when
:
always
name
:
"
$DISTRIB_NAME.tar.gz"
paths
:
-
./*.tar.gz
-
/usr/local/chaos/chaos-distrib/log/*
expire_in
:
1 day
after_script
:
-
echo "* compatting files in $INSTALL_DIR"
-
tar cfz test-log.$CI_JOB_NAME.$CI_RUNNER_DESCRIPTION.tar.gz -C /usr/local/chaos/chaos-distrib log
-
if scp test-log.$CI_JOB_NAME.$CI_RUNNER_DESCRIPTION.tar.gz chaosweb@opensource.lnf.infn.it:/var/www/html/binary/chaos/logs;then echo "* [$CI_RUNNER_DESCRIPTION] log transferred ok";else echo "%% [$CI_RUNNER_DESCRIPTION] cannot copy";fi
ubuntu1404_test_x86_64
:
stage
:
test
services
:
-
name
:
couchbase/server:community-3.1.3
alias
:
couchbase
-
name
:
mongo:3.4
alias
:
mongo
image
:
baltig.infn.it:4567/amichelo/chaos_bundle_compilation:1404
script
:
-
tar xfz $DISTRIB_NAME.tar.gz -C /
-
scripts/dbinit.sh couchbase mongo
-
repo init -u git@baltig.infn.it:chaos-lnf-control/chaos_repo_bundle.git -b $CI_COMMIT_REF_NAME
-
repo sync
-
cp -r tools $INSTALL_DIR
-
cp -r common/test $INSTALL_DIR/tools
-
source $INSTALL_DIR/chaos_env.sh
-
if ! $INSTALL_DIR/tools/chaos_test.sh -d $INSTALL_DIR/tools/test;then echo "* retrying test in debug mode";export CHAOS_DEBUG_CMD_TOOL="gdb";$INSTALL_DIR/tools/chaos_test.sh -d $INSTALL_DIR/tools/test;fi
-
scripts/strip_symbols.sh $INSTALL_DIR
-
tar cfz $DISTRIB_NAME.tar.gz -C /usr/local/chaos chaos-distrib
artifacts
:
when
:
always
name
:
"
$DISTRIB_NAME.tar.gz"
paths
:
-
./*.tar.gz
-
/usr/local/chaos/chaos-distrib/log/*
expire_in
:
1 day
after_script
:
-
echo "* compatting files in $INSTALL_DIR"
-
tar cfz test-log.$CI_JOB_NAME.$CI_RUNNER_DESCRIPTION.tar.gz -C /usr/local/chaos/chaos-distrib log
-
if scp test-log.$CI_JOB_NAME.$CI_RUNNER_DESCRIPTION.tar.gz chaosweb@opensource.lnf.infn.it:/var/www/html/binary/chaos/logs;then echo "* [$CI_RUNNER_DESCRIPTION] log transferred ok";else echo "%% [$CI_RUNNER_DESCRIPTION] cannot copy";fi
...
...
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