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
Kwabena Antwi-Boasiako
slapos
Commits
e55b3922
Commit
e55b3922
authored
Jul 25, 2018
by
Alain Takoudjou
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixup! slaprunner resilience: do not exit with error if a backup folder doesn't exists
parent
1c9075a1
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
8 deletions
+8
-8
software/slaprunner/buildout.hash.cfg
software/slaprunner/buildout.hash.cfg
+2
-2
software/slaprunner/template/runner-export.sh.jinja2
software/slaprunner/template/runner-export.sh.jinja2
+3
-3
software/slaprunner/template/runner-import.sh.jinja2
software/slaprunner/template/runner-import.sh.jinja2
+3
-3
No files found.
software/slaprunner/buildout.hash.cfg
View file @
e55b3922
...
@@ -22,7 +22,7 @@ md5sum = 04e31ac503753f89510dd412b4680c56
...
@@ -22,7 +22,7 @@ md5sum = 04e31ac503753f89510dd412b4680c56
[template-runner-import-script]
[template-runner-import-script]
filename = template/runner-import.sh.jinja2
filename = template/runner-import.sh.jinja2
md5sum =
860bcf6026750b677992eefb6015eec2
md5sum =
cbde24d6517d46af26acf01519ec1e15
[instance-runner-import]
[instance-runner-import]
filename = instance-runner-import.cfg.in
filename = instance-runner-import.cfg.in
...
@@ -30,7 +30,7 @@ md5sum = 5cfa49bcf20612844e1c50a85740d0b3
...
@@ -30,7 +30,7 @@ md5sum = 5cfa49bcf20612844e1c50a85740d0b3
[template-runner-export-script]
[template-runner-export-script]
filename = template/runner-export.sh.jinja2
filename = template/runner-export.sh.jinja2
md5sum = 0
1c29c4686185d7beb5bf8cffbaa4237
md5sum = 0
61158da88dc303870643b21a4c5029d
[instance-runner-export]
[instance-runner-export]
filename = instance-runner-export.cfg.in
filename = instance-runner-export.cfg.in
...
...
software/slaprunner/template/runner-export.sh.jinja2
View file @
e55b3922
...
@@ -81,9 +81,9 @@ EOF
...
@@ -81,9 +81,9 @@ EOF
echo "$exclude" |rsync --exclude-from=- instance "$backup_path"
echo "$exclude" |rsync --exclude-from=- instance "$backup_path"
fi
fi
(test -d project && rsync project "$backup_path") || true
if [ -d "project" ]; then rsync project "$path"; fi
(test -d public && rsync public "$backup_path") || true
if [ -d "public" ]; then rsync public "$path"; fi
(test -f proxy.db && rsync proxy.db "$backup_path") || true
if [ -f "proxy.db" ]; then rsync proxy.db "$path"; fi
)
)
# We sync .* appart
# We sync .* appart
(
(
...
...
software/slaprunner/template/runner-import.sh.jinja2
View file @
e55b3922
...
@@ -94,9 +94,9 @@ EOF
...
@@ -94,9 +94,9 @@ EOF
echo "$exclude" |rsync --exclude-from=- instance "$path"
echo "$exclude" |rsync --exclude-from=- instance "$path"
fi
fi
(test -d project && rsync project "$path") || true
if [ -d "project" ]; then rsync project "$path"; fi
(test -d public && rsync public "$path") || true
if [ -d "public" ]; then rsync public "$path"; fi
(test -f proxy.db && rsync proxy.db "$path") || true
if [ -f "proxy.db" ]; then rsync proxy.db "$path"; fi
)
)
log_message "Restoring WebRunner config (etc directory)..."
log_message "Restoring WebRunner config (etc directory)..."
...
...
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