Skip to content
Snippets Groups Projects
Commit ba744c34 authored by Andrea Michelotti's avatar Andrea Michelotti
Browse files

Update .gitlab-ci.yml

parent 63c18a2c
No related branches found
No related tags found
No related merge requests found
Pipeline #
......@@ -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:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment