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
ab62fe17
Commit
ab62fe17
authored
5 years ago
by
Andrea Michelotti
Browse files
Options
Downloads
Patches
Plain Diff
added USE_MDS_CONFIG
parent
6be0f275
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Pipeline
#20513
failed
5 years ago
Stage: build
Stage: test
Stage: deploy
Stage: publish
Changes
1
Pipelines
6
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+5
-0
5 additions, 0 deletions
.gitlab-ci.yml
with
5 additions
and
0 deletions
.gitlab-ci.yml
+
5
−
0
View file @
ab62fe17
...
...
@@ -408,6 +408,7 @@ ubuntu1604_test_x86_64:
-
cp -r common/test/js $INSTALL_DIR/tools/test
-
export PPROF_PATH=$INSTALL_DIR/bin/pprof;
-
source $INSTALL_DIR/chaos_env.sh
-
if [ -n "$USE_MDS_CONFIG" ];then echo "* Using $USE_MDS_CONFIG" ; cp $USE_MDS_CONFIG $INSTALL_DIR/etc/mds.cfg;fi
-
if ! $INSTALL_DIR/bin/TestFramework;then export HEAPCHECK=strict; echo "*retrying with heap check"; $INSTALL_DIR/bin/TestFramework; exit 1;fi
-
if ! $INSTALL_DIR/tools/chaos_test.sh -k -d $INSTALL_DIR/tools/test;then tar cfvz $DISTRIB_NAME-log-bad.tar.gz -C /usr/local/chaos/chaos-distrib log;echo "* retrying test in debug mode";export CHAOS_DEBUG_CMD_TOOL="gdb";if ! $INSTALL_DIR/tools/chaos_test.sh -k -d $INSTALL_DIR/tools/test;then tar cfvz $DISTRIB_NAME-log-debug.tar.gz -C /usr/local/chaos/chaos-distrib log;fi;exit 1;fi
-
$INSTALL_DIR/tools/chaos_services.sh stop
...
...
@@ -443,6 +444,7 @@ ubuntu1804_test_x86_64:
-
repo sync
-
cp -r tools $INSTALL_DIR
-
cp -r common/test/js $INSTALL_DIR/tools/test
-
if [ -n "$USE_MDS_CONFIG" ];then echo "* Using $USE_MDS_CONFIG" ; cp $USE_MDS_CONFIG $INSTALL_DIR/etc/mds.cfg;fi
-
source $INSTALL_DIR/chaos_env.sh
-
$INSTALL_DIR/bin/TestFramework
-
if ! $INSTALL_DIR/tools/chaos_test.sh -k -d $INSTALL_DIR/tools/test;then tar cfvz $DISTRIB_NAME-log-bad.tar.gz -C /usr/local/chaos/chaos-distrib log;echo "* retrying test in debug mode";export CHAOS_DEBUG_CMD_TOOL="gdb";if ! $INSTALL_DIR/tools/chaos_test.sh -k -d $INSTALL_DIR/tools/test;then tar cfvz $DISTRIB_NAME-log-debug.tar.gz -C /usr/local/chaos/chaos-distrib log;echo "* retrying test in sanitize mode";if ! CHAOS_SERVICE_ENV="LD_PRELOAD=/usr/lib/x86_64-linux-gnu/libasan.so.5" $INSTALL_DIR/tools/chaos_test.sh -k -d $INSTALL_DIR/tools/test;then tar cfvz $DISTRIB_NAME-log-sanitize.tar.gz -C /usr/local/chaos/chaos-distrib log;fi;fi;exit 1;fi
...
...
@@ -481,6 +483,7 @@ ubuntu1804_test_profile_x86_64:
-
cp -r common/test/js $INSTALL_DIR/tools/test/
-
export PPROF_PATH=$INSTALL_DIR/bin/pprof;
-
source $INSTALL_DIR/chaos_env.sh
-
if [ -n "$USE_MDS_CONFIG" ];then echo "* Using $USE_MDS_CONFIG" ; cp $USE_MDS_CONFIG $INSTALL_DIR/etc/mds.cfg;fi
-
HEAPCHECK=normal; LD_PRELOAD=/usr/lib/x86_64-linux-gnu/libtcmalloc.so $INSTALL_DIR/bin/TestFramework;
-
if ! $INSTALL_DIR/tools/chaos_test.sh -k -d $INSTALL_DIR/tools/test;then tar cfvz $DISTRIB_NAME-log-bad.tar.gz -C /usr/local/chaos/chaos-distrib log ;exit 1;fi
-
$INSTALL_DIR/tools/chaos_services.sh stop
...
...
@@ -522,6 +525,7 @@ centos7_test_x86_64:
-
cp -r tools $INSTALL_DIR
-
cp -r common/test/js $INSTALL_DIR/tools/test
-
source $INSTALL_DIR/chaos_env.sh
-
if [ -n "$USE_MDS_CONFIG" ];then echo "* Using $USE_MDS_CONFIG" ; cp $USE_MDS_CONFIG $INSTALL_DIR/etc/mds.cfg;fi
-
if ! $INSTALL_DIR/bin/TestFramework;then export HEAPCHECK=strict; echo "*retrying with heap check"; $INSTALL_DIR/bin/TestFramework; exit 1;fi
-
if ! $INSTALL_DIR/tools/chaos_test.sh -k -d $INSTALL_DIR/tools/test;then export HEAPCHECK=normal; tar cfvz $DISTRIB_NAME-log-bad.tar.gz -C /usr/local/chaos/chaos-distrib log;echo "* retrying test in debug mode";export CHAOS_DEBUG_CMD_TOOL="gdb";if ! $INSTALL_DIR/tools/chaos_test.sh -k -d $INSTALL_DIR/tools/test;then tar cfvz $DISTRIB_NAME-log-debug.tar.gz -C /usr/local/chaos/chaos-distrib log;fi;exit 1;fi
-
$INSTALL_DIR/tools/chaos_services.sh stop
...
...
@@ -559,6 +563,7 @@ ubuntu1404_test_x86_64:
-
cp -r common/test/js $INSTALL_DIR/tools/test
-
source $INSTALL_DIR/chaos_env.sh
-
export PPROF_PATH=$INSTALL_DIR/bin/pprof
-
if [ -n "$USE_MDS_CONFIG" ];then echo "* Using $USE_MDS_CONFIG" ; cp $USE_MDS_CONFIG $INSTALL_DIR/etc/mds.cfg;fi
-
if ! $INSTALL_DIR/bin/TestFramework;then export HEAPCHECK=strict; echo "*retrying with heap check"; $INSTALL_DIR/bin/TestFramework; exit 1;fi
-
if ! $INSTALL_DIR/tools/chaos_test.sh -k -d $INSTALL_DIR/tools/test;then export HEAPCHECK=normal; tar cfvz $DISTRIB_NAME-log-bad.tar.gz -C /usr/local/chaos/chaos-distrib log;echo "* retrying test in debug mode";export CHAOS_DEBUG_CMD_TOOL="gdb";if ! $INSTALL_DIR/tools/chaos_test.sh -k -d $INSTALL_DIR/tools/test;then tar cfvz $DISTRIB_NAME-log-debug.tar.gz -C /usr/local/chaos/chaos-distrib log;fi;exit 1;fi
-
$INSTALL_DIR/tools/chaos_services.sh stop
...
...
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