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
Commit
492a0407
authored
Jun 05, 2014
by
Bach Dániel
1
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):
...
@@ -48,6 +48,6 @@ def cleanup(vm):
pass
pass
@celery.task
(
name
=
'agent.start_
ssh
'
)
@celery.task
(
name
=
'agent.start_
access_server
'
)
def
start_
ssh
(
vm
):
def
start_
access_server
(
vm
):
pass
pass
circle/vm/tasks/local_agent_tasks.py
View file @
492a0407
...
@@ -17,7 +17,7 @@
...
@@ -17,7 +17,7 @@
from
manager.mancelery
import
celery
from
manager.mancelery
import
celery
from
vm.tasks.agent_tasks
import
(
restart_networking
,
change_password
,
from
vm.tasks.agent_tasks
import
(
restart_networking
,
change_password
,
set_time
,
set_hostname
,
start_
ssh
,
set_time
,
set_hostname
,
start_
access_server
,
cleanup
)
cleanup
)
import
time
import
time
...
@@ -50,9 +50,9 @@ def agent_started(vm):
...
@@ -50,9 +50,9 @@ def agent_started(vm):
pass
pass
if
not
initialized
:
if
not
initialized
:
send_init_commands
(
instance
,
act
,
vm
)
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"
)
queue
=
instance
.
get_remote_queue_name
(
"agent"
)
start_
ssh
.
apply_async
(
start_
access_server
.
apply_async
(
queue
=
queue
,
args
=
(
vm
,
))
queue
=
queue
,
args
=
(
vm
,
))
...
...
Bach Dániel
@bachdaniel
mentioned in merge request
!90 (merged)
Jun 05, 2014
mentioned in merge request
!90 (merged)
mentioned in merge request !90
Toggle commit list
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