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