Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
slapos.toolbox
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
6
Merge Requests
6
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
slapos.toolbox
Commits
c66f66b0
Commit
c66f66b0
authored
Oct 31, 2018
by
Nicolas Wavrant
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixes
parent
d9e30e7a
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
7 deletions
+6
-7
slapos/resilient/runner_exporter.py
slapos/resilient/runner_exporter.py
+1
-2
slapos/test/test_runner_exporter.py
slapos/test/test_runner_exporter.py
+5
-5
No files found.
slapos/resilient/runner_exporter.py
View file @
c66f66b0
...
...
@@ -18,7 +18,6 @@ from zc.buildout.configparser import parse
os
.
environ
[
'LC_ALL'
]
=
'C'
# TODO: check it is the same as umask 077
os
.
umask
(
0o77
)
...
...
@@ -95,7 +94,7 @@ def getExcludePathList(path):
excluded_path_list
.
append
(
os
.
path
.
relpath
(
p
,
path
))
for
partition
in
glob
.
glob
(
path
+
"/instance/slappart*"
):
if
not
(
os
.
path
.
exists
(
partition
)
and
os
.
path
.
isdir
(
partition
)
):
if
not
os
.
path
.
isdir
(
partition
):
continue
with
CwdContextManager
(
partition
):
...
...
slapos/test/test_runner_exporter.py
View file @
c66f66b0
...
...
@@ -13,31 +13,31 @@ parts = folders hello-nicolas hello-rafael exclude
[folders]
__buildout_installed__ =
__buildout_signature__ = wcwidth-0.1.7-py2.7.egg contextlib2-0.5.5-py2.7.egg ...
etc = /s
rv/slapgrid
/slappart18/test/etc
etc = /s
ome/prefix
/slappart18/test/etc
home = /srv/slapgrid/slappart18/test
recipe = slapos.cookbook:mkdirectory
srv = /s
rv/slapgrid
/slappart18/test/srv
srv = /s
ome/prefix
/slappart18/test/srv
[hello-nicolas]
__buildout_installed__ = ./instance/slappart0/etc/nicolas.txt
__buildout_signature__ = MarkupSafe-1.0-py2.7-linux-x86_64.egg Jinja2-2.10-py2.7.egg zc.buildout-2.12.2-py2.7.egg slapos.recipe.template-4.3-py2.7.egg setuptools-40.4.3-py2.7.egg
mode = 0644
name = Nicolas
output = /s
rv/slapgrid
/slappart18/test/etc/nicolas.txt
output = /s
ome/prefix
/slappart18/test/etc/nicolas.txt
recipe = slapos.recipe.template
[hello-rafael]
__buildout_installed__ = ./instance/slappart0/etc//rafael.txt
__buildout_signature__ = MarkupSafe-1.0-py2.7-linux-x86_64.egg Jinja2-2.10-py2.7.egg zc.buildout-2.12.2-py2.7.egg slapos.recipe.template-4.3-py2.7.egg setuptools-40.4.3-py2.7.egg
name = Rafael
output = /s
rv/slapgrid
/slappart18/test/etc/rafael.txt
output = /s
ome/prefix
/slappart18/test/etc/rafael.txt
recipe = slapos.recipe.template
[exclude]
__buildout_installed__ = srv/exporter.exclude
__buildout_signature__ = MarkupSafe-1.0-py2.7-linux-x86_64.egg Jinja2-2.10-py2.7.egg zc.buildout-2.12.2-py2.7.egg slapos.recipe.template-4.3-py2.7.egg setuptools-40.4.3-py2.7.egg
recipe = slapos.recipe.template:jinja2
rendered = /s
rv/slapgrid
/slappart18/test/srv/exporter.exclude
rendered = /s
ome/prefix
/slappart18/test/srv/exporter.exclude
template = inline:
srv/backup/**"""
...
...
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