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
isaak yansane-sisk
slapos
Commits
d11fcee1
Commit
d11fcee1
authored
Oct 16, 2013
by
Nicolas Wavrant
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
slaprunner: new wrapper to start isSoftwareReleaseReady new function
parent
2f67d1ef
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
1 deletion
+8
-1
software/slaprunner/instance-runner.cfg
software/slaprunner/instance-runner.cfg
+8
-1
No files found.
software/slaprunner/instance-runner.cfg
View file @
d11fcee1
...
...
@@ -27,6 +27,7 @@ parts =
slapos-cfg
slaprunner-wrapper
slapos-repo-config
prepare-software
eggs-directory = ${buildout:eggs-directory}
develop-eggs-directory = ${buildout:develop-eggs-directory}
...
...
@@ -500,4 +501,10 @@ stop-on-error = true
reference = $${slap-parameter:slapos-reference}
location = $${slapos-repo:location}
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/$${slap-parameter:slapos-software} > $${directory:etc}/.project; fi)
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)
[prepare-software]
recipe = slapos.cookbook:wrapper
command-line = ${curl:location}/bin/curl $${slaprunner:ipv4}:$${slaprunner:runner_port}/isSRReady --max-time 1
wrapper-path = $${directory:scripts}/prepareSoftware
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