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

master dir

parent a7408dd5
No related branches found
No related tags found
No related merge requests found
Pipeline #21065 failed
...@@ -604,7 +604,7 @@ deploy_stage: ...@@ -604,7 +604,7 @@ deploy_stage:
script: script:
- scripts/accept_merge_request.sh $CI_COMMIT_REF_NAME - scripts/accept_merge_request.sh $CI_COMMIT_REF_NAME
- OUTPUT_REV_DIR=$CI_COMMIT_REF_NAME - OUTPUT_REV_DIR=$CI_COMMIT_REF_NAME
- if [ $CI_COMMIT_REF_NAME == "master" ];then OUTPUT_REV_DIR="production";fi # - if [ $CI_COMMIT_REF_NAME == "master" ];then OUTPUT_REV_DIR="production";fi
- if [ -e chaos-osx10-distrib.tar.gz ];then scp chaos-osx10-distrib.tar.gz chaosweb@opensource.lnf.infn.it:/var/www/html/binary/chaos/$OUTPUT_REV_DIR/$ARCH/osx/;fi - if [ -e chaos-osx10-distrib.tar.gz ];then scp chaos-osx10-distrib.tar.gz chaosweb@opensource.lnf.infn.it:/var/www/html/binary/chaos/$OUTPUT_REV_DIR/$ARCH/osx/;fi
- scp chaos-distrib-$REVNAME-ubuntu-16.04-x86_64.tar.gz chaosweb@opensource.lnf.infn.it:/var/www/html/binary/chaos/$OUTPUT_REV_DIR/$ARCH/ubuntu/16.04/chaos-distrib.$TAR_NAME_POSTFIX.tar.gz - scp chaos-distrib-$REVNAME-ubuntu-16.04-x86_64.tar.gz chaosweb@opensource.lnf.infn.it:/var/www/html/binary/chaos/$OUTPUT_REV_DIR/$ARCH/ubuntu/16.04/chaos-distrib.$TAR_NAME_POSTFIX.tar.gz
- ssh chaosweb@opensource.lnf.infn.it "ln -sf /var/www/html/binary/chaos/$OUTPUT_REV_DIR/$ARCH/ubuntu/16.04/chaos-distrib.$TAR_NAME_POSTFIX.tar.gz /var/www/html/binary/chaos/$OUTPUT_REV_DIR/$ARCH/ubuntu/16.04/latest.tar.gz" - ssh chaosweb@opensource.lnf.infn.it "ln -sf /var/www/html/binary/chaos/$OUTPUT_REV_DIR/$ARCH/ubuntu/16.04/chaos-distrib.$TAR_NAME_POSTFIX.tar.gz /var/www/html/binary/chaos/$OUTPUT_REV_DIR/$ARCH/ubuntu/16.04/latest.tar.gz"
......
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