Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
Gutyán Gábor
/
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
cf92ef41
authored
Mar 06, 2014
by
Guba Sándor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
storage/tasks: added save_as task
parent
b86972f5
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
circle/storage/tasks/local_tasks.py
+6
-0
No files found.
circle/storage/tasks/local_tasks.py
View file @
cf92ef41
...
@@ -22,6 +22,12 @@ def check_queue(storage, queue_id):
...
@@ -22,6 +22,12 @@ def check_queue(storage, queue_id):
@celery.task
@celery.task
def
save_as
(
disk
,
timeout
,
user
):
disk
.
save_disk_as
(
task_uuid
=
save_as
.
request
.
id
,
user
=
user
,
disk
=
disk
,
timeout
=
timeout
)
@celery.task
def
deploy
(
disk
,
user
):
def
deploy
(
disk
,
user
):
disk
.
deploy
(
task_uuid
=
deploy
.
request
.
id
,
user
=
user
)
disk
.
deploy
(
task_uuid
=
deploy
.
request
.
id
,
user
=
user
)
...
...
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