Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
slapos-caddy
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
Guillaume Hervier
slapos-caddy
Commits
a05928f3
Commit
a05928f3
authored
Oct 17, 2013
by
Nicolas Wavrant
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
slaprunner: prevents overwrite of the current software released
if the user has changed the pre-installed one
parent
540624d4
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
software/slaprunner/instance-runner.cfg
software/slaprunner/instance-runner.cfg
+2
-1
No files found.
software/slaprunner/instance-runner.cfg
View file @
a05928f3
...
@@ -501,7 +501,8 @@ stop-on-error = true
...
@@ -501,7 +501,8 @@ stop-on-error = true
reference = $${slap-parameter:slapos-reference}
reference = $${slap-parameter:slapos-reference}
location = $${slapos-repo:location}
location = $${slapos-repo:location}
environment = export PATH=${git:location}/bin:$PATH;
environment = export PATH=${git:location}/bin:$PATH;
command = $${:environment} (cd $${:location} && git checkout $${:reference} && SR=$${slap-parameter:slapos-software} && if [ -n "$SR" ]; then echo workspace/slapos/$${slap-parameter:slapos-software}/ > $${directory:etc}/.project; fi)
command = $${:environment} (cd $${:location} && git checkout $${:reference} && echo "$${directory:etc}/.project" && SR=$${slap-parameter:slapos-software} && if [ -n "$SR" ] && [ ! -f "$${directory:etc}/.project" ]; then echo workspace/slapos/$${slap-parameter:slapos-software}/ > $${directory:etc}/.project; fi)
update-command = $${:command}
[prepare-software]
[prepare-software]
recipe = slapos.cookbook:wrapper
recipe = slapos.cookbook:wrapper
...
...
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