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
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
iv
slapos
Commits
93ccdbc7
Commit
93ccdbc7
authored
Aug 26, 2016
by
Nicolas Wavrant
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
slaprunner: runner-exporter returns error if backup fails
parent
ad48f550
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
1 deletion
+4
-1
software/slaprunner/common.cfg
software/slaprunner/common.cfg
+1
-1
software/slaprunner/template/runner-export.sh.jinja2
software/slaprunner/template/runner-export.sh.jinja2
+3
-0
No files found.
software/slaprunner/common.cfg
View file @
93ccdbc7
...
@@ -78,7 +78,7 @@ recipe = hexagonit.recipe.download
...
@@ -78,7 +78,7 @@ recipe = hexagonit.recipe.download
ignore-existing = true
ignore-existing = true
url = ${:_profile_base_location_}/template/runner-export.sh.jinja2
url = ${:_profile_base_location_}/template/runner-export.sh.jinja2
download-only = true
download-only = true
md5sum =
9dc934fe5015ff53869830a833266192
md5sum =
1bfe048194d4478d0d8743e43e72f7d8
filename = runner-export.sh.jinja2
filename = runner-export.sh.jinja2
mode = 0644
mode = 0644
...
...
software/slaprunner/template/runner-export.sh.jinja2
View file @
93ccdbc7
...
@@ -3,6 +3,9 @@ LC_ALL=C
...
@@ -3,6 +3,9 @@ LC_ALL=C
export LC_ALL
export LC_ALL
umask 077
umask 077
# Exit on any error, to prevent inconsistent backup
set -e
srv_directory={{ directory['srv'] }}
srv_directory={{ directory['srv'] }}
sync_element () {
sync_element () {
...
...
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