Commit 0f2cad7e authored by Mikaël Salson's avatar Mikaël Salson

.gitlab-ci.yml: Copy release to chosen places

See #3002
parent 8449556b
......@@ -20,6 +20,7 @@ stages:
- release
- valgrind_unit
- valgrind_functional
- prepare_deploy
- deploy_prod
......@@ -105,6 +106,20 @@ release:
tags:
- ubuntu-16.04-amd64
copy_release:
stage: prepare_deploy
script:
- |
for repo in $ALGO_REPOSITORIES; do
echo "Copying release to $repo"
scp algo/releases/vidjil-algo*.tar.gz algo/releases/vidjil-algo*/vidjil-algo-*_* $repo
done
release_name=$(cat algo/release)
ssh $VIDJIL_WWW "cd /var/www/html/releases; ln -sf vidjil-algo-${release_name}.tar.gz vidjil-latest.tgz; ln -sf vidjil-algo-${release_name}_x86_64 vidjil-latest_x86_64"
ssh $VIDJIL_BONSAI "cd /bio1/www/html/vidjil; scp vidjil-algo-${release_name}* VIDJIL_BONSAI_PROD:/bio1/www/html/vidjil"
only:
- /^feature-.*a.*\/release$/
# Client
test_browser_unit:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment