Commit 63015188 authored by Julien Muchembled's avatar Julien Muchembled

re6stnet: switch to development mode

parent a1ed9c30
...@@ -5,6 +5,7 @@ extends = ...@@ -5,6 +5,7 @@ extends =
../../component/openssl/buildout.cfg ../../component/openssl/buildout.cfg
../../component/logrotate/buildout.cfg ../../component/logrotate/buildout.cfg
../../component/apache/buildout.cfg ../../component/apache/buildout.cfg
../../component/git/buildout.cfg
../../component/python-cryptography/buildout.cfg ../../component/python-cryptography/buildout.cfg
../../stack/slapos.cfg ../../stack/slapos.cfg
...@@ -15,7 +16,20 @@ parts += ...@@ -15,7 +16,20 @@ parts +=
slapos-cookbook slapos-cookbook
template template
[re6st-eggs] [re6stnet-repository]
recipe = slapos.recipe.build:gitclone
repository = https://lab.nexedi.com/nexedi/re6stnet.git
git-executable = ${git:location}/bin/git
[re6stnet-setup-env]
PATH = ${git:location}/bin:%(PATH)s
[re6stnet-develop]
recipe = zc.recipe.egg:develop
setup = ${re6stnet-repository:location}
environment = re6stnet-setup-env
[re6stnet]
recipe = zc.recipe.egg recipe = zc.recipe.egg
interpreter = python-${:_buildout_section_name_} interpreter = python-${:_buildout_section_name_}
eggs = eggs =
...@@ -23,6 +37,11 @@ eggs = ...@@ -23,6 +37,11 @@ eggs =
${python-cryptography:egg} ${python-cryptography:egg}
pyOpenSSL pyOpenSSL
re6stnet re6stnet
initialization =
import os
path = os.environ.get('PATH', '')
os.environ['PATH'] = '${git:location}/bin' + (path and ':' + path)
depends = ${re6stnet-develop:recipe}
[download-base] [download-base]
recipe = slapos.recipe.build:download recipe = slapos.recipe.build:download
...@@ -45,7 +64,7 @@ context = ...@@ -45,7 +64,7 @@ context =
key template_re6st_registry_conf template-re6st-registry-conf:target key template_re6st_registry_conf template-re6st-registry-conf:target
key template_logrotate_base template-logrotate-base:rendered key template_logrotate_base template-logrotate-base:rendered
key monitor2_template_rendered monitor2-template:rendered key monitor2_template_rendered monitor2-template:rendered
raw python_with_eggs ${buildout:bin-directory}/${re6st-eggs:interpreter} raw python_with_eggs ${buildout:bin-directory}/${re6stnet:interpreter}
[template-re6stnet] [template-re6stnet]
< = download-base < = download-base
...@@ -57,8 +76,4 @@ context = ...@@ -57,8 +76,4 @@ context =
< = download-base < = download-base
[versions] [versions]
re6stnet = 0.551
# Required by:
# re6stnet==0.533
miniupnpc = 1.9 miniupnpc = 1.9
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