Skip to content
Snippets Groups Projects
Commit e2afc5a3 authored by Igor Kuznetsov's avatar Igor Kuznetsov
Browse files

actualize gitlab script

parent a57d7de1
No related branches found
No related tags found
1 merge request!1414sbroad import
...@@ -58,9 +58,9 @@ deploy-luarocks: ...@@ -58,9 +58,9 @@ deploy-luarocks:
- echo "$DEPLOY_PROD_SSH_KEY" | base64 -d | ssh-add - - echo "$DEPLOY_PROD_SSH_KEY" | base64 -d | ssh-add -
script: script:
- echo "Build release $CI_COMMIT_TAG" - echo "Build release $CI_COMMIT_TAG"
- tarantoolctl rocks new_version --tag "$CI_COMMIT_TAG" - cd sbroad-cartridge && tarantoolctl rocks new_version --tag "$CI_COMMIT_TAG"
- tarantoolctl rocks install sbroad-"$CI_COMMIT_TAG"-1.rockspec - cd sbroad-cartridge && tarantoolctl rocks install sbroad-"$CI_COMMIT_TAG"-1.rockspec
- tarantoolctl rocks pack sbroad-"$CI_COMMIT_TAG-1".rockspec - cd sbroad-cartridge && tarantoolctl rocks pack sbroad-"$CI_COMMIT_TAG-1".rockspec
- echo "Deploying luarocks..." - echo "Deploying luarocks..."
- scp -o stricthostkeychecking=no sbroad*rock luarocks@94.26.239.246:/data/nginx/www/packrepo/luarocks - cd sbroad-cartridge && scp -o stricthostkeychecking=no sbroad*rock luarocks@94.26.239.246:/data/nginx/www/packrepo/luarocks
- ssh -o stricthostkeychecking=no luarocks@94.26.239.246 "luarocks-admin make_manifest /data/nginx/www/packrepo/luarocks" - ssh -o stricthostkeychecking=no luarocks@94.26.239.246 "luarocks-admin make_manifest /data/nginx/www/packrepo/luarocks"
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