Commit ea619500 authored by Jérome Perrin's avatar Jérome Perrin

testnode: software link proof of concept

parent bbfe5611
......@@ -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
......
......@@ -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
......
......@@ -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 =
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment