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
ba744c34
There was a problem fetching the pipeline summary.
Commit
ba744c34
authored
7 years ago
by
Andrea Michelotti
Browse files
Options
Downloads
Patches
Plain Diff
Update .gitlab-ci.yml
parent
63c18a2c
No related branches found
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
+13
-8
13 additions, 8 deletions
.gitlab-ci.yml
with
13 additions
and
8 deletions
.gitlab-ci.yml
+
13
−
8
View file @
ba744c34
...
...
@@ -24,7 +24,7 @@ before_script:
# - chmod 600 ~/.ssh/id_rsa
# - chmod 600 /builds/amichelo/chaos_bundle_compilation/deploy.key
-
mkdir build_$CI_JOB_STAGE
-
export INSTALL_DIR=/builds/amichelo/chaos_bundle_compilation/distrib/chaos-distrib-$CI_
JOB_STAGE
-
export INSTALL_DIR=/builds/amichelo/chaos_bundle_compilation/distrib/chaos-distrib-$CI_
PIPELINE_ID
-
mkdir -p $INSTALL_DIR
-
cd build_$CI_JOB_STAGE
-
echo "Working directory:$PWD"
...
...
@@ -47,8 +47,10 @@ ubuntu1604_experimental_x86_64:
-
repo sync
-
cmake -DCHAOS_WAN=ON -DCMAKE_INSTALL_PREFIX=$INSTALL_DIR .
-
make -j 8 install
-
tar cfz chaos-distrib-$CI_JOB_STAGE.tar.gz -C $INSTALL_DIR/.. chaos-distrib-$CI_JOB_STAGE
-
scp chaos-distrib-$CI_JOB_STAGE.tar.gz chaosweb@opensource.lnf.infn.it:/var/www/html/binary/chaos/x86_64
-
tar cfz chaos-distrib-$CI_PIPELINE_ID.tar.gz -C $INSTALL_DIR/.. chaos-distrib-$CI_PIPELINE_ID
artifacts
:
paths
:
-
chaos-distrib-$CI_PIPELINE_ID.tar.gz
ubuntu1604_experimental_test_x86_64
:
tags
:
...
...
@@ -58,9 +60,9 @@ ubuntu1604_experimental_test_x86_64:
image
:
baltig.infn.it:4567/amichelo/chaos_bundle_compilation:1604
script
:
-
/tmp/chaos_start.sh
-
scp chaosweb@opensource.lnf.infn.it:/var/www/html/binary/chaos/x86_64/chaos-distrib-ubuntu1604_experimental_x86_64.tar.gz .
-
tar xfz chaos-distrib-
ubuntu1604_experimental_x86_64
.tar.gz
-
cd chaos-distrib-
ubuntu1604_experimental_x86_64
#
- scp chaosweb@opensource.lnf.infn.it:/var/www/html/binary/chaos/x86_64/chaos-distrib-ubuntu1604_experimental_x86_64.tar.gz .
-
tar xfz chaos-distrib-
$CI_PIPELINE_ID
.tar.gz
-
cd chaos-distrib-
$CI_PIPELINE_ID
-
source chaos_env.sh
-
./tools/chaos_test.sh .
...
...
@@ -77,8 +79,11 @@ ubuntu1404_experimental_x86_64:
-
repo sync
-
cmake -DCHAOS_WAN=ON -DCMAKE_INSTALL_PREFIX=$INSTALL_DIR .
-
make -j 4 install
-
tar cfz chaos-distrib-$CI_JOB_STAGE.tar.gz -C $INSTALL_DIR/.. chaos-distrib-$CI_JOB_STAGE
-
scp chaos-distrib-$CI_JOB_STAGE.tar.gz chaosweb@opensource.lnf.infn.it:/var/www/html/binary/chaos/x86_64
-
tar cfz chaos-distrib-$CI_PIPELINE_ID.tar.gz -C $INSTALL_DIR/.. chaos-distrib-$CI_PIPELINE_ID
# - scp chaos-distrib-$CI_PIPELINE_ID.tar.gz chaosweb@opensource.lnf.infn.it:/var/www/html/binary/chaos/x86_64
artifacts
:
paths
:
-
chaos-distrib-$CI_PIPELINE_ID.tar.gz
ubuntu1404_experimental_test_x86_64
:
tags
:
...
...
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