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
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Iliya Manolov
slapos
Commits
ea6e184d
Commit
ea6e184d
authored
Apr 25, 2017
by
Iliya Manolov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added the xslapos script to instance/bin
parent
79c3d9b1
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
28 additions
and
2 deletions
+28
-2
software/slaprunner/buildout.hash.cfg
software/slaprunner/buildout.hash.cfg
+6
-2
software/slaprunner/common.cfg
software/slaprunner/common.cfg
+6
-0
software/slaprunner/instance-runner-export.cfg.in
software/slaprunner/instance-runner-export.cfg.in
+1
-0
software/slaprunner/instance-runner.cfg
software/slaprunner/instance-runner.cfg
+9
-0
software/slaprunner/template/slapos-script.in
software/slaprunner/template/slapos-script.in
+6
-0
No files found.
software/slaprunner/buildout.hash.cfg
View file @
ea6e184d
...
@@ -19,7 +19,7 @@ md5sum = 02755403c9f0b52d717160b0b2d0cfb7
...
@@ -19,7 +19,7 @@ md5sum = 02755403c9f0b52d717160b0b2d0cfb7
[template-runner]
[template-runner]
filename = instance-runner.cfg
filename = instance-runner.cfg
md5sum =
07905ec872e84bc42c6ab089f5270ac2
md5sum =
14aca604f535f204750f9a3ffb2a34a7
[template-runner-import-script]
[template-runner-import-script]
filename = template/runner-import.sh.jinja2
filename = template/runner-import.sh.jinja2
...
@@ -35,7 +35,7 @@ md5sum = 86a429492dba25364f6ec2b318ba1f85
...
@@ -35,7 +35,7 @@ md5sum = 86a429492dba25364f6ec2b318ba1f85
[instance-runner-export]
[instance-runner-export]
filename = instance-runner-export.cfg.in
filename = instance-runner-export.cfg.in
md5sum =
852a2ed99af566d27e5e4403334a3376
md5sum =
91c500cdb401552c1fc738b8abdac2ac
[template-resilient]
[template-resilient]
filename = instance-resilient.cfg.jinja2
filename = instance-resilient.cfg.jinja2
...
@@ -80,3 +80,7 @@ md5sum = acaac32cf1bd45714272468a89f4f119
...
@@ -80,3 +80,7 @@ md5sum = acaac32cf1bd45714272468a89f4f119
[template-resilient-software-release-information]
[template-resilient-software-release-information]
filename = template/resilient_software_release_information.py.in
filename = template/resilient_software_release_information.py.in
md5sum = 2451072826a9ad9425d62c9e9c7f6284
md5sum = 2451072826a9ad9425d62c9e9c7f6284
[template-slapos-script]
filename = template/slapos-script.in
md5sum = 080ab12b0653cff9b11e8fc1bfa08ca2
software/slaprunner/common.cfg
View file @
ea6e184d
...
@@ -34,6 +34,7 @@ common-parts =
...
@@ -34,6 +34,7 @@ common-parts =
instance-runner-import
instance-runner-import
instance-runner-export
instance-runner-export
template-slapos-cfg
template-slapos-cfg
template-slapos-script
# XXX: we have to manually add this for resilience
# XXX: we have to manually add this for resilience
rdiff-backup
rdiff-backup
pbs-recipe-egg
pbs-recipe-egg
...
@@ -137,6 +138,11 @@ filename = monitor-check-webrunner-internal-instances.py
...
@@ -137,6 +138,11 @@ filename = monitor-check-webrunner-internal-instances.py
< = template-download-base
< = template-download-base
filename = resilient_software_release_information.py.in
filename = resilient_software_release_information.py.in
[template-slapos-script]
< = template-download-base
destination = ${buildout:parts-directory}/${:_buildout_section_name_}
filename = slapos-script.in
[eggs]
[eggs]
recipe = zc.recipe.egg
recipe = zc.recipe.egg
eggs =
eggs =
...
...
software/slaprunner/instance-runner-export.cfg.in
View file @
ea6e184d
...
@@ -36,6 +36,7 @@ parts +=
...
@@ -36,6 +36,7 @@ parts +=
monitor-base
monitor-base
monitor-check-resilient-feed-file
monitor-check-resilient-feed-file
monitor-check-webrunner-internal-instance
monitor-check-webrunner-internal-instance
template-slapos-script
[proxy-free-port]
[proxy-free-port]
recipe = slapos.cookbook:free_port
recipe = slapos.cookbook:free_port
...
...
software/slaprunner/instance-runner.cfg
View file @
ea6e184d
...
@@ -38,6 +38,7 @@ parts =
...
@@ -38,6 +38,7 @@ parts =
## Monitoring part
## Monitoring part
monitor-base
monitor-base
monitor-check-webrunner-internal-instance
monitor-check-webrunner-internal-instance
template-slapos-script
extends = ${monitor2-template:rendered}
extends = ${monitor2-template:rendered}
...
@@ -816,3 +817,11 @@ rendered = $${monitor-directory:reports}/$${:filename}
...
@@ -816,3 +817,11 @@ rendered = $${monitor-directory:reports}/$${:filename}
filename = monitor-check-webrunner-internal-instance
filename = monitor-check-webrunner-internal-instance
mode = 0744
mode = 0744
[template-slapos-script]
recipe = slapos.recipe.template:jinja2
template = ${buildout:parts-directory}/template-slapos-script/slapos-script.in
rendered = $${buildout:bin-directory}/slapos
mode = 0744
context =
raw config_location $${slapos-cfg:rendered}
software/slaprunner/template/slapos-script.in
0 → 100644
View file @
ea6e184d
#!/bin/sh
# run slapos command inside slaprunner with appropriate config
SLAPOS_CONFIGURATION
={{
config_location
}}
\
SLAPOS_CLIENT_CONFIGURATION
=
$SLAPOS_CONFIGURATION
\
exec
slapos
"
$@
"
\ No newline at end of file
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