Commit 63d4f432 by Chif Gergő

Test deployment

parent 2b0f0c5b
Pipeline #1263 failed with stages
in 17 seconds
...@@ -32,13 +32,13 @@ build_prod_image: ...@@ -32,13 +32,13 @@ build_prod_image:
deploy_staging: deploy_staging:
stage: deploy stage: deploy
script: # When the docker registry ready, pull images from it script: # When the docker registry ready, pull images from it
- sshpass -p "$STAGING_SSH_PASS" ssh -o StrictHostKeyChecking=no cloud@vm.niif.cloud.bme.hu -p 17668 - sshpass -p "$STAGING_SSH_PASS" ssh -o StrictHostKeyChecking=no cloud@vm.niif.cloud.bme.hu -p 17668 \
- ls -la ls -la \
- git pull https://git.ik.bme.hu/RECIRCLE/portal.git DEV git pull https://git.ik.bme.hu/RECIRCLE/portal.git DEV \
- cd portal cd portal \
- git submodule update --init --recursive git submodule update --init --recursive \
- docker-compose up -f docker-compose.prod.yml docker-compose up -f docker-compose.prod.yml \
- exit exit
environment: environment:
name: staging name: staging
url: http://vm.niif.cloud.bme.hu:20088 url: http://vm.niif.cloud.bme.hu:20088
......
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 sign in to comment