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
A prog2-höz tartozó friss repo anyagok itt elérhetőek:
https://git.iit.bme.hu/
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:
...
@@ -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
...
...
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