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
9075f0bb
Commit
9075f0bb
authored
5 years ago
by
Andrea Michelotti
Browse files
Options
Downloads
Patches
Plain Diff
removed mac compilation
parent
dc19c767
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Pipeline
#27239
failed
5 years ago
Stage: build
Stage: test
Stage: deploy
Stage: publish
Changes
1
Pipelines
3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+42
-42
42 additions, 42 deletions
.gitlab-ci.yml
with
42 additions
and
42 deletions
.gitlab-ci.yml
+
42
−
42
View file @
9075f0bb
...
@@ -36,50 +36,50 @@ before_script:
...
@@ -36,50 +36,50 @@ before_script:
-
rm -rf chaosframework
-
rm -rf chaosframework
-
mkdir -p $INSTALL_DIR
-
mkdir -p $INSTALL_DIR
macosx_x86_64
:
#
macosx_x86_64:
tags
:
#
tags:
-
macosx
#
- macosx
stage
:
build
#
stage: build
services
:
#
services:
-
name
:
couchbase/server:community-5.0.1
#
- name: couchbase/server:community-5.0.1
alias
:
couchbase
#
alias: couchbase
-
name
:
mongo:3.6
#
- name: mongo:3.6
alias
:
mongo
#
alias: mongo
script
:
#
script:
-
export CHAOS_LIVE_SERVERS=localhost
#
- export CHAOS_LIVE_SERVERS=localhost
-
export CHAOS_DB_SERVERS=localhost
#
- export CHAOS_DB_SERVERS=localhost
-
curl http://storage.googleapis.com/git-repo-downloads/repo > ~/bin/repo
#
- curl http://storage.googleapis.com/git-repo-downloads/repo > ~/bin/repo
-
chmod +x ~/bin/repo
#
- chmod +x ~/bin/repo
-
~/bin/repo init -q --no-clone-bundle -u git@baltig.infn.it:chaos-lnf-control/chaos_repo_bundle.git -b $CI_COMMIT_REF_NAME
#
- ~/bin/repo init -q --no-clone-bundle -u git@baltig.infn.it:chaos-lnf-control/chaos_repo_bundle.git -b $CI_COMMIT_REF_NAME
-
mkdir chaos-osx10-distrib
#
- mkdir chaos-osx10-distrib
-
~/bin/repo sync
#
- ~/bin/repo sync
-
if [ "$TEST_BRANCH" != "$CI_COMMIT_REF_NAME" ]; then ./chaosframework/tools/chaos_git.sh -c $TEST_BRANCH;fi
#
- if [ "$TEST_BRANCH" != "$CI_COMMIT_REF_NAME" ]; then ./chaosframework/tools/chaos_git.sh -c $TEST_BRANCH;fi
-
./tools/dbinit.sh localhost localhost;sleep 5;./tools/dbinit.sh localhost localhost;sleep
5
#
- ./tools/dbinit.sh localhost localhost;sleep 5;./tools/dbinit.sh localhost localhost;sleep 5
-
cd chaosframework;export CHAOS_LIB_HASH=`git log -n 1 --pretty="%h"`;export CHAOS_LAST_TAG=`git describe --abbrev=0`;cd -;
#
- cd chaosframework;export CHAOS_LIB_HASH=`git log -n 1 --pretty="%h"`;export CHAOS_LAST_TAG=`git describe --abbrev=0`;cd -;
-
cd html/chaos_dashboard/;./tag.sh $CI_COMMIT_REF_NAME;cd -
#
- cd html/chaos_dashboard/;./tag.sh $CI_COMMIT_REF_NAME;cd -
-
cmake -DCHAOS_ARCHITECTURE_TEST=ON -DCHAOS_VME=OFF -DCHAOS_VERSION_MAJOR="$CI_COMMIT_REF_NAME.$CHAOS_LIB_HASH ($CHAOS_LAST_TAG)" -DCHAOS_VERSION_MINOR="$CI_JOB_STAGE.$CI_COMMIT_SHA" -DCHAOS_WAN=ON . -DCHAOS_BUILD_ID=${CI_PIPELINE_ID} -DCMAKE_INSTALL_PREFIX=$PWD/chaos-osx10-distrib
#
- cmake -DCHAOS_ARCHITECTURE_TEST=ON -DCHAOS_VME=OFF -DCHAOS_VERSION_MAJOR="$CI_COMMIT_REF_NAME.$CHAOS_LIB_HASH ($CHAOS_LAST_TAG)" -DCHAOS_VERSION_MINOR="$CI_JOB_STAGE.$CI_COMMIT_SHA" -DCHAOS_WAN=ON . -DCHAOS_BUILD_ID=${CI_PIPELINE_ID} -DCMAKE_INSTALL_PREFIX=$PWD/chaos-osx10-distrib
-
make -j 8 install
#
- make -j 8 install
-
export CHAOS_LIVE_SERVERS=localhost;export CHAOS_DB_SERVERS=localhost
#
- export CHAOS_LIVE_SERVERS=localhost;export CHAOS_DB_SERVERS=localhost
-
cd $PWD/chaos-osx10-distrib
#
- cd $PWD/chaos-osx10-distrib
-
source chaos_env.sh
#
- source chaos_env.sh
-
./tools/dbinit.sh localhost localhost;sleep 5;./tools/dbinit.sh localhost localhost
#
- ./tools/dbinit.sh localhost localhost;sleep 5;./tools/dbinit.sh localhost localhost
-
./tools/chaos_test.sh -k .
#
- ./tools/chaos_test.sh -k .
-
./tools/chaos_services.sh stop
#
- ./tools/chaos_services.sh stop
-
tar cfz chaos-osx10-distrib.tar.gz chaos-osx10-distrib
#
- tar cfz chaos-osx10-distrib.tar.gz chaos-osx10-distrib
allow_failure
:
true
#
allow_failure: true
artifacts
:
#
artifacts:
name
:
"
chaos-osx10-distrib.tar.gz"
#
name: "chaos-osx10-distrib.tar.gz"
paths
:
#
paths:
-
./*.tar.gz
#
- ./*.tar.gz
expire_in
:
1 day
#
expire_in: 1 day
when
:
always
#
when: always
only
:
#
only:
variables
:
#
variables:
-
$BUILD_DISTRIBUTION == "macosx_x86_64"
#
- $BUILD_DISTRIBUTION == "macosx_x86_64"
-
$BUILD_DISTRIBUTION ==
null
#
- $BUILD_DISTRIBUTION == null
build_i686_static_linux26
:
build_i686_static_linux26
:
stage
:
build
stage
:
build
...
...
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