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
Lorenzo Martinico
slapos
Commits
900a717f
Commit
900a717f
authored
Sep 10, 2014
by
Rafael Monnerat
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
slaprunner: Don't compress for local transferences
Use compress for local transference is just slow.
parent
b73df2aa
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
4 deletions
+4
-4
software/slaprunner/common.cfg
software/slaprunner/common.cfg
+2
-2
software/slaprunner/template/runner-export.sh.jinja2
software/slaprunner/template/runner-export.sh.jinja2
+1
-1
software/slaprunner/template/runner-import.sh.jinja2
software/slaprunner/template/runner-import.sh.jinja2
+1
-1
No files found.
software/slaprunner/common.cfg
View file @
900a717f
...
@@ -50,7 +50,7 @@ mode = 0644
...
@@ -50,7 +50,7 @@ mode = 0644
recipe = hexagonit.recipe.download
recipe = hexagonit.recipe.download
url = ${:_profile_base_location_}/template/runner-import.sh.jinja2
url = ${:_profile_base_location_}/template/runner-import.sh.jinja2
download-only = true
download-only = true
md5sum =
b003f6a6963f7787948be85c3d479ccd
md5sum =
d64529e263d42b0b56e5fe3a976d18c9
filename = runner-import.sh.jinja2
filename = runner-import.sh.jinja2
mode = 0644
mode = 0644
...
@@ -65,7 +65,7 @@ mode = 0644
...
@@ -65,7 +65,7 @@ mode = 0644
recipe = hexagonit.recipe.download
recipe = hexagonit.recipe.download
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 =
246167ed081027618ef127a6fffd13ed
md5sum =
e74a0cbda64182c7fdff42cc46f07a12
filename = runner-export.sh.jinja2
filename = runner-export.sh.jinja2
mode = 0644
mode = 0644
...
...
software/slaprunner/template/runner-export.sh.jinja2
View file @
900a717f
...
@@ -11,7 +11,7 @@ sync_element () {
...
@@ -11,7 +11,7 @@ sync_element () {
do
do
cd $path;
cd $path;
if [ -f $element ] || [ -d $element ]; then
if [ -f $element ] || [ -d $element ]; then
{{ rsync_binary }} -av
z
--safe-links --delete $element $backup_path;
{{ rsync_binary }} -av --safe-links --delete $element $backup_path;
fi
fi
done
done
}
}
...
...
software/slaprunner/template/runner-import.sh.jinja2
View file @
900a717f
...
@@ -9,7 +9,7 @@ restore_element () {
...
@@ -9,7 +9,7 @@ restore_element () {
do
do
cd $backup_path;
cd $backup_path;
if [ -f $element ] || [ -d $element ]; then
if [ -f $element ] || [ -d $element ]; then
{{ rsync_binary }} -av
z
--delete $backup_path/$element $restore_path;
{{ rsync_binary }} -av --delete $backup_path/$element $restore_path;
fi
fi
done
done
}
}
...
...
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