Commit b11a3c0e by Chif Gergő

Fix ci yaml errors

parent 361fcec9
Pipeline #1259 failed with stages
in 1 minute 45 seconds
......@@ -12,29 +12,25 @@ stages:
- deploy
flake8:
stage:
- testing
stage: testing
script:
- python3.6 -m pip install flake8
- flake8
test:
stage:
- testing
stage: testing
script:
- docker build --tag recircle-backend-local:latest .
- docker run recircle-backend-local:latest pipenv run python manage.py test
build_prod_image:
stage:
- build
stage: build
script:
- docker build ./Dockerfile.prod --tag recircle-backend:latest
# deploy needs sshpass installed on gitlab runner machince
deploy_staging:
stage:
- deploy
stage: deploy
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
- git pull https://git.ik.bme.hu/RECIRCLE/portal.git DEV
......
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