Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
Gelencsér Szabolcs
/
circlestack
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
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
dc8620ef
authored
May 08, 2015
by
Bach Dániel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
circle: remove django-celery
parent
9c213040
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
14 additions
and
11 deletions
+14
-11
circle/circle/settings/base.py
+0
-1
circle/fabfile.py
+1
-0
miscellaneous/managercelery@.service
+2
-2
miscellaneous/mancelery.conf
+3
-2
miscellaneous/moncelery.conf
+6
-3
miscellaneous/slowcelery.conf
+2
-2
requirements/base.txt
+0
-1
No files found.
circle/circle/settings/base.py
View file @
dc8620ef
...
...
@@ -336,7 +336,6 @@ DJANGO_APPS = (
THIRD_PARTY_APPS
=
(
'django_tables2'
,
'crispy_forms'
,
'djcelery'
,
'sizefield'
,
'taggit'
,
'statici18n'
,
...
...
circle/fabfile.py
View file @
dc8620ef
...
...
@@ -166,6 +166,7 @@ def update_portal(test=False, git=True):
pull
()
cleanup
()
pip
(
"circle"
,
"~/circle/requirements.txt"
)
sudo
(
"cp ~/circle/miscellaneous/*celery.conf /etc/init/"
)
bower
()
migrate
()
compile_things
()
...
...
miscellaneous/managercelery@.service
View file @
dc8620ef
...
...
@@ -11,5 +11,5 @@ TimeoutStopSec=600
Restart=always
WorkingDirectory=/home/cloud/circle/circle
ExecStartPre=/bin/bash -c "source /etc/profile; workon circle;
./manage.py
celery -f --app=manager.%I purge"
ExecStart=/bin/bash -c "source /etc/profile; workon circle; exec
./manage.py celery --app=manager.%I worker --autoreload
--loglevel=info --hostname=%I -B -c 3"
ExecStartPre=/bin/bash -c "source /etc/profile; workon circle; celery -f --app=manager.%I purge"
ExecStart=/bin/bash -c "source /etc/profile; workon circle; exec
celery --app=manager.%I worker
--loglevel=info --hostname=%I -B -c 3"
miscellaneous/mancelery.conf
View file @
dc8620ef
...
...
@@ -9,11 +9,12 @@ setuid cloud
kill
timeout
360
kill
signal
SIGTERM
script
cd
/
home
/
cloud
/
circle
/
circle
. /
home
/
cloud
/.
virtualenvs
/
circle
/
bin
/
activate
. /
home
/
cloud
/.
virtualenvs
/
circle
/
bin
/
postactivate
./
manage
.
py
celery
-
f
--
app
=
manager
.
mancelery
purge
exec
./
manage
.
py
celery
--
app
=
manager
.
mancelery
worker
--
autoreload
--
loglevel
=
info
--
hostname
=
mancelery
-
B
-
c
3
celery
-
f
--
app
=
manager
.
mancelery
purge
exec
celery
--
app
=
manager
.
mancelery
worker
--
autoreload
--
loglevel
=
info
--
hostname
=
mancelery
-
B
-
c
3
end
script
miscellaneous/moncelery.conf
View file @
dc8620ef
...
...
@@ -3,15 +3,18 @@ description "CIRCLE moncelery for monitoring jobs"
respawn
respawn
limit
30
30
setgid
cloud
setuid
cloud
kill
timeout
360
kill
signal
SIGTERM
script
cd
/
home
/
cloud
/
circle
/
circle
. /
home
/
cloud
/.
virtualenvs
/
circle
/
bin
/
activate
. /
home
/
cloud
/.
virtualenvs
/
circle
/
bin
/
postactivate
./
manage
.
py
celery
-
f
--
app
=
manager
.
moncelery
purge
exec
./
manage
.
py
celery
--
app
=
manager
.
moncelery
worker
--
autoreload
--
loglevel
=
info
--
hostname
=
moncelery
-
B
-
c
2
celery
-
f
--
app
=
manager
.
moncelery
purge
exec
celery
--
app
=
manager
.
moncelery
worker
--
autoreload
--
loglevel
=
info
--
hostname
=
moncelery
-
B
-
c
2
end
script
miscellaneous/slowcelery.conf
View file @
dc8620ef
...
...
@@ -14,7 +14,7 @@ script
cd
/
home
/
cloud
/
circle
/
circle
. /
home
/
cloud
/.
virtualenvs
/
circle
/
bin
/
activate
. /
home
/
cloud
/.
virtualenvs
/
circle
/
bin
/
postactivate
./
manage
.
py
celery
-
f
--
app
=
manager
.
slowcelery
purge
exec
./
manage
.
py
celery
--
app
=
manager
.
slowcelery
worker
--
autoreload
--
loglevel
=
info
--
hostname
=
slowcelery
-
B
-
c
1
celery
-
f
--
app
=
manager
.
slowcelery
purge
exec
celery
--
app
=
manager
.
slowcelery
worker
--
autoreload
--
loglevel
=
info
--
hostname
=
slowcelery
-
B
-
c
1
end
script
requirements/base.txt
View file @
dc8620ef
...
...
@@ -8,7 +8,6 @@ Django==1.8.1
django-appconf==1.0.1
django-autocomplete-light==2.1.1
django-braces==1.8.0
django-celery==3.1.16
django-crispy-forms==1.4.0
django-model-utils==2.2
djangosaml2==0.13.0
...
...
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