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
Boxiang Sun
slapos
Commits
ea619500
Commit
ea619500
authored
May 27, 2015
by
Jérome Perrin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
testnode: software link proof of concept
parent
bbfe5611
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
33 additions
and
1 deletion
+33
-1
slapos/recipe/erp5testnode/template/erp5testnode.cfg.in
slapos/recipe/erp5testnode/template/erp5testnode.cfg.in
+1
-0
software/erp5testnode/instance-default.cfg
software/erp5testnode/instance-default.cfg
+1
-0
software/erp5testnode/software.cfg
software/erp5testnode/software.cfg
+31
-1
No files found.
slapos/recipe/erp5testnode/template/erp5testnode.cfg.in
View file @
ea619500
...
...
@@ -18,6 +18,7 @@ httpd_port = %(httpd_port)s
httpd_software_access_port = %(httpd_software_access_port)s
computer_id = %(computer_id)s
server_url = %(server_url)s
software_link = %(software_link)s
# Binaries
git_binary = %(git_binary)s
...
...
software/erp5testnode/instance-default.cfg
View file @
ea619500
...
...
@@ -55,6 +55,7 @@ httpd-log-directory = $${basedirectory:log}
httpd-software-directory = $${directory:software}
httpd-cert-file = $${rootdirectory:etc}/httpd-public.crt
httpd-key-file = $${rootdirectory:etc}/httpd-private.key
software-link = ${software_link:output}
configuration-file = $${rootdirectory:etc}/erp5testnode.cfg
log-file = $${basedirectory:log}/erp5testnode.log
...
...
software/erp5testnode/software.cfg
View file @
ea619500
...
...
@@ -8,6 +8,8 @@ extends =
../../component/shellinabox/buildout.cfg
../../component/pwgen/buildout.cfg
../../component/apache/buildout.cfg
../../component/mariadb/buildout.cfg
../../component/gcc/buildout.cfg
parts =
slapos-cookbook-develop
...
...
@@ -20,6 +22,34 @@ parts =
zip
git
apache
software_link
[software_link]
recipe = collective.recipe.template
output = ${buildout:parts-directory}/software_link/software_link.cfg
input = inline:
[perl]
recipe =
location = ${perl:location}
[python2.7]
recipe =
location = ${python2.7:location}
# This python will be used by buildout as executable
executable = ${python2.7:executable}
[apache]
recipe =
location = ${apache:location}
[mariadb]
recipe =
location = ${mariadb:location}
[gcc]
recipe =
location = ${gcc:location}
[gcc-fortran]
recipe =
location = ${gcc-fortran:location}
[erp5-util-repository.git]
recipe = slapos.recipe.build:gitclone
...
...
@@ -83,7 +113,7 @@ recipe = slapos.recipe.template
url = ${:_profile_base_location_}/instance-default.cfg
output = ${buildout:directory}/template-default.cfg
mode = 0644
md5sum =
22ffc8e212dcf2db8ad94cf0e5ac4772
md5sum =
1b45db053e3c7a65e5e802e4aadc42da
[versions]
erp5.util =
...
...
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