Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
slapos
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
Carlos Ramos Carreño
slapos
Commits
370bd184
Commit
370bd184
authored
Jul 20, 2015
by
Jérome Perrin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
slaprunner: allow to configure the window title by using 'instance-name' parameter
parent
370556e6
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
21 additions
and
9 deletions
+21
-9
software/slaprunner/common.cfg
software/slaprunner/common.cfg
+2
-2
software/slaprunner/instance-runner-input-schema.json
software/slaprunner/instance-runner-input-schema.json
+5
-1
software/slaprunner/instance-runner.cfg
software/slaprunner/instance-runner.cfg
+2
-0
software/slaprunner/software.cfg
software/slaprunner/software.cfg
+11
-6
software/slaprunner/template/slapos.cfg.in
software/slaprunner/template/slapos.cfg.in
+1
-0
No files found.
software/slaprunner/common.cfg
View file @
370bd184
...
@@ -46,7 +46,7 @@ mode = 0644
...
@@ -46,7 +46,7 @@ mode = 0644
recipe = slapos.recipe.template
recipe = slapos.recipe.template
url = ${:_profile_base_location_}/instance-runner.cfg
url = ${:_profile_base_location_}/instance-runner.cfg
output = ${buildout:directory}/template-runner.cfg.in
output = ${buildout:directory}/template-runner.cfg.in
md5sum =
dbaa5e5838d15a7ec2754368870bc951
md5sum =
bdd3eeda626b9a7dd6495f499980ce2f
mode = 0644
mode = 0644
[template-runner-import-script]
[template-runner-import-script]
...
@@ -121,7 +121,7 @@ location = ${buildout:parts-directory}/${:_buildout_section_name_}
...
@@ -121,7 +121,7 @@ location = ${buildout:parts-directory}/${:_buildout_section_name_}
[template-slapos-cfg]
[template-slapos-cfg]
recipe = hexagonit.recipe.download
recipe = hexagonit.recipe.download
url = ${:_profile_base_location_}/template/${:filename}
url = ${:_profile_base_location_}/template/${:filename}
md5sum =
c490563b831fc959a09b4b233263a6c6
md5sum =
f406b91c5b0261b198a1c1930c195071
location = ${buildout:parts-directory}/${:_buildout_section_name_}
location = ${buildout:parts-directory}/${:_buildout_section_name_}
filename = slapos.cfg.in
filename = slapos.cfg.in
download-only = true
download-only = true
...
...
software/slaprunner/instance-runner-input-schema.json
View file @
370bd184
...
@@ -108,6 +108,10 @@
...
@@ -108,6 +108,10 @@
"description"
:
"Number of clones to be deployed when a resilient runner, if missing a single clone is provided. Its value can be 1 or 2"
,
"description"
:
"Number of clones to be deployed when a resilient runner, if missing a single clone is provided. Its value can be 1 or 2"
,
"type"
:
"integer"
,
"type"
:
"integer"
,
"enum"
:
[
1
,
2
]
"enum"
:
[
1
,
2
]
}
},
"instance-name"
:
{
"description"
:
"Name of the instance, to show in the window title"
,
"type"
:
"string"
},
}
}
}
}
software/slaprunner/instance-runner.cfg
View file @
370bd184
...
@@ -185,6 +185,7 @@ minishell_history_file = $${directory:etc}/.minishell_history
...
@@ -185,6 +185,7 @@ minishell_history_file = $${directory:etc}/.minishell_history
software_info_json = $${runnerdirectory:home}/software_info.json
software_info_json = $${runnerdirectory:home}/software_info.json
instance_info_json = $${runnerdirectory:home}/instance_info.json
instance_info_json = $${runnerdirectory:home}/instance_info.json
path = $${shell:path}
path = $${shell:path}
instance_name = $${slap-parameter:instance-name}
#---------------------------
#---------------------------
...
@@ -496,6 +497,7 @@ auto-deploy = false
...
@@ -496,6 +497,7 @@ auto-deploy = false
auto-deploy-instance = true
auto-deploy-instance = true
autorun = false
autorun = false
monitor-port = 9684
monitor-port = 9684
instance-name =
[monitor-parameters]
[monitor-parameters]
port = $${slap-parameter:monitor-port}
port = $${slap-parameter:monitor-port}
...
...
software/slaprunner/software.cfg
View file @
370bd184
...
@@ -21,26 +21,31 @@ plone.recipe.command = 1.1
...
@@ -21,26 +21,31 @@ plone.recipe.command = 1.1
pycrypto = 2.6.1
pycrypto = 2.6.1
slapos.recipe.download = 1.0.dev-r4053
slapos.recipe.download = 1.0.dev-r4053
slapos.recipe.template = 2.6
slapos.recipe.template = 2.6
slapos.toolbox = 0.
46.1
slapos.toolbox = 0.
50
smmap = 0.9.0
smmap = 0.9.0
z3c.recipe.scripts = 1.0.1
z3c.recipe.scripts = 1.0.1
# Required by:
# Required by:
# slapos.toolbox==0.
46.1
# slapos.toolbox==0.
50
GitPython = 0.3.5
GitPython = 0.3.5
# Required by:
# Required by:
# slapos.toolbox==0.
46.1
# slapos.toolbox==0.
50
atomize = 0.2.0
atomize = 0.2.0
# Required by:
# Required by:
# slapos.toolbox==0.
46.1
# slapos.toolbox==0.
50
feedparser = 5.1.3
feedparser = 5.1.3
# Required by:
# Required by:
# slapos.toolbox==0.
46.1
# slapos.toolbox==0.
50
lockfile = 0.10.2
lockfile = 0.10.2
# Required by:
# Required by:
# slapos.toolbox==0.
45.3
# slapos.toolbox==0.
50
paramiko = 1.15.2
paramiko = 1.15.2
# Required by:
# slapos.toolbox==0.50
rpdb = 0.1.5
software/slaprunner/template/slapos.cfg.in
View file @
370bd184
...
@@ -36,6 +36,7 @@ knowledge0_cfg = {{ slaprunner['knowledge0_file'] }}
...
@@ -36,6 +36,7 @@ knowledge0_cfg = {{ slaprunner['knowledge0_file'] }}
minishell_cwd_file = {{ slaprunner['minishell_cwd_file'] }}
minishell_cwd_file = {{ slaprunner['minishell_cwd_file'] }}
minishell_history_file = {{ slaprunner['minishell_history_file'] }}
minishell_history_file = {{ slaprunner['minishell_history_file'] }}
path = {{ slaprunner['path'] }}
path = {{ slaprunner['path'] }}
instance_name = {{ slaprunner['instance_name'] }}
[slapproxy]
[slapproxy]
host = {{ slaprunner['ipv4'] }}
host = {{ slaprunner['ipv4'] }}
...
...
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