Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
CIRCLE
/
cloud
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
94
Merge Requests
10
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
6f3bb02c
authored
Jul 22, 2014
by
Őry Máté
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fabfile: add pip support
parent
23999700
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
0 deletions
+10
-0
circle/fabfile.py
+10
-0
No files found.
circle/fabfile.py
View file @
6f3bb02c
...
...
@@ -22,6 +22,12 @@ def update_all():
execute
(
update_portal
)
def
pip
(
env
,
req
):
"Install pip requirements"
with
_workon
(
env
):
run
(
"pip install -r
%
s"
%
req
)
@roles
(
'portal'
)
def
migrate
():
"Run db migrations"
...
...
@@ -88,6 +94,7 @@ def update_portal(test=False):
"Update and restart portal+manager"
with
_stopped
(
"portal"
,
"mancelery"
):
pull
()
pip
(
"circle"
,
"~/circle/requirements.txt"
)
migrate
()
compile_things
()
if
test
:
...
...
@@ -106,7 +113,9 @@ def update_node():
"Update and restart nodes"
with
_stopped
(
"node"
,
"agent"
):
pull
(
"~/vmdriver"
)
pip
(
"vmdriver"
,
"~/vmdriver/requirements/production.txt"
)
pull
(
"~/agentdriver"
)
pip
(
"agentdriver"
,
"~/agentdriver/requirements.txt"
)
@parallel
...
...
@@ -115,6 +124,7 @@ def update_storage():
"Update and restart storagedriver"
with
_stopped
(
"storage"
):
pull
(
"~/storagedriver"
)
pip
(
"storage"
,
"~/storagedriver/requirements/production.txt"
)
@parallel
...
...
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