Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
Gelencsér Szabolcs
/
cloud
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
492a0407
authored
Jun 05, 2014
by
Bach Dániel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
vm: rename agent.start_ssh celery task
parent
c47d3949
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
circle/vm/tasks/agent_tasks.py
+2
-2
circle/vm/tasks/local_agent_tasks.py
+3
-3
No files found.
circle/vm/tasks/agent_tasks.py
View file @
492a0407
...
...
@@ -48,6 +48,6 @@ def cleanup(vm):
pass
@celery.task
(
name
=
'agent.start_
ssh
'
)
def
start_
ssh
(
vm
):
@celery.task
(
name
=
'agent.start_
access_server
'
)
def
start_
access_server
(
vm
):
pass
circle/vm/tasks/local_agent_tasks.py
View file @
492a0407
...
...
@@ -17,7 +17,7 @@
from
manager.mancelery
import
celery
from
vm.tasks.agent_tasks
import
(
restart_networking
,
change_password
,
set_time
,
set_hostname
,
start_
ssh
,
set_time
,
set_hostname
,
start_
access_server
,
cleanup
)
import
time
...
...
@@ -50,9 +50,9 @@ def agent_started(vm):
pass
if
not
initialized
:
send_init_commands
(
instance
,
act
,
vm
)
with
act
.
sub_activity
(
'start_
ssh
'
):
with
act
.
sub_activity
(
'start_
access_server
'
):
queue
=
instance
.
get_remote_queue_name
(
"agent"
)
start_
ssh
.
apply_async
(
start_
access_server
.
apply_async
(
queue
=
queue
,
args
=
(
vm
,
))
...
...
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