Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
slapos-mynij-dev
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Mynij
slapos-mynij-dev
Commits
4d357a41
Commit
4d357a41
authored
Jun 29, 2011
by
Vincent Pelletier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Provide and use run_directory instead of computing it.
parent
0cd300b9
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
slapos/recipe/erp5testnode/__init__.py
slapos/recipe/erp5testnode/__init__.py
+1
-0
slapos/recipe/erp5testnode/testnode.py
slapos/recipe/erp5testnode/testnode.py
+2
-2
No files found.
slapos/recipe/erp5testnode/__init__.py
View file @
4d357a41
...
@@ -92,6 +92,7 @@ class Recipe(BaseSlapRecipe):
...
@@ -92,6 +92,7 @@ class Recipe(BaseSlapRecipe):
test_node_title
=
self
.
parameter_dict
.
get
(
'test_node_title'
),
test_node_title
=
self
.
parameter_dict
.
get
(
'test_node_title'
),
project_title
=
self
.
parameter_dict
.
get
(
'project_title'
),
project_title
=
self
.
parameter_dict
.
get
(
'project_title'
),
bin_directory
=
self
.
bin_directory
,
bin_directory
=
self
.
bin_directory
,
run_directory
=
self
.
run_directory
,
# botenvironemnt is splittable string of key=value to substitute
# botenvironemnt is splittable string of key=value to substitute
# environment of running bot
# environment of running bot
bot_environment
=
self
.
parameter_dict
.
get
(
'bot_environment'
,
''
),
bot_environment
=
self
.
parameter_dict
.
get
(
'bot_environment'
,
''
),
...
...
slapos/recipe/erp5testnode/testnode.py
View file @
4d357a41
...
@@ -84,7 +84,7 @@ PROFILE_PATH_KEY = 'profile_path'
...
@@ -84,7 +84,7 @@ PROFILE_PATH_KEY = 'profile_path'
def
run
(
args
):
def
run
(
args
):
config
=
args
[
0
]
config
=
args
[
0
]
slapgrid
=
None
slapgrid
=
None
supervisord_pid_file
=
os
.
path
.
join
(
config
[
'
instance_root'
],
'var'
,
'run'
,
supervisord_pid_file
=
os
.
path
.
join
(
config
[
'
run_directory'
]
,
'supervisord.pid'
)
'supervisord.pid'
)
subprocess
.
check_call
([
config
[
'git_binary'
],
subprocess
.
check_call
([
config
[
'git_binary'
],
"config"
,
"--global"
,
"http.sslVerify"
,
"false"
])
"config"
,
"--global"
,
"http.sslVerify"
,
"false"
])
...
...
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