Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
RECIRCLE
/
portal
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
11
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
b11a3c0e
authored
Jul 17, 2020
by
Chif Gergő
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix ci yaml errors
parent
361fcec9
Pipeline
#1259
failed with stages
in 1 minute 45 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
8 deletions
+4
-8
.gitlab-ci.yml
+4
-8
No files found.
.gitlab-ci.yml
View file @
b11a3c0e
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment