Commit 18a9589e authored by Romain Courteaud's avatar Romain Courteaud

Fix cookbook installation

parent 0006348f
...@@ -13,10 +13,8 @@ parts += ...@@ -13,10 +13,8 @@ parts +=
# Local development # Local development
slapos.cookbook-repository slapos.cookbook-repository
check-recipe check-recipe
slapos.cookbook-python2.6
z2loganalyser-repository z2loganalyser-repository
check-z2loganalyser check-z2loganalyser
z2loganalyser-python2.6
# Create instance template # Create instance template
template template
validator validator
...@@ -32,7 +30,7 @@ recipe = plone.recipe.command ...@@ -32,7 +30,7 @@ recipe = plone.recipe.command
stop-on-error = true stop-on-error = true
location = ${buildout:parts-directory}/${:_buildout_section_name_} location = ${buildout:parts-directory}/${:_buildout_section_name_}
repository = https://saneftestbot:kucahS5oav6jahch@git.erp5.org/repos/slapos/sanef.git repository = https://saneftestbot:kucahS5oav6jahch@git.erp5.org/repos/slapos/sanef.git
branch = CR1094 branch = deployment_generic_CR1094
# Note: GIT_SSL_NO_VERIFY is used as SlapOS OpenSSL configuration does not # Note: GIT_SSL_NO_VERIFY is used as SlapOS OpenSSL configuration does not
# contain master certificates to verify. # contain master certificates to verify.
command = (GIT_SSL_NO_VERIFY=1 ${git:location}/bin/git clone --quiet -b ${:branch} ${:repository} ${:location}) || (rm -fr ${:location} && exit 1) command = (GIT_SSL_NO_VERIFY=1 ${git:location}/bin/git clone --quiet -b ${:branch} ${:repository} ${:location}) || (rm -fr ${:location} && exit 1)
...@@ -44,12 +42,6 @@ stop-on-error = true ...@@ -44,12 +42,6 @@ stop-on-error = true
update-command = ${:command} update-command = ${:command}
command = grep parts ${buildout:develop-eggs-directory}/slapos.cookbook.egg-link command = grep parts ${buildout:develop-eggs-directory}/slapos.cookbook.egg-link
[slapos.cookbook-python2.6]
recipe = zc.recipe.egg
eggs = slapos.cookbook
scripts =
python = python2.6
[z2loganalyser-repository] [z2loganalyser-repository]
recipe = plone.recipe.command recipe = plone.recipe.command
svn_param =--trust-server-cert --no-auth-cache --non-interactive --quiet -r 45666 svn_param =--trust-server-cert --no-auth-cache --non-interactive --quiet -r 45666
...@@ -66,12 +58,6 @@ stop-on-error = true ...@@ -66,12 +58,6 @@ stop-on-error = true
update-command = ${:command} update-command = ${:command}
command = grep parts ${buildout:develop-eggs-directory}/z2loganalyser.egg-link command = grep parts ${buildout:develop-eggs-directory}/z2loganalyser.egg-link
[z2loganalyser-python2.6]
recipe = zc.recipe.egg
eggs = z2loganalyser
scripts =
python = python2.6
[template-mariadb] [template-mariadb]
recipe = slapos.recipe.template recipe = slapos.recipe.template
url = ${:_profile_base_location_}/instance-mariadb.cfg url = ${:_profile_base_location_}/instance-mariadb.cfg
......
...@@ -386,6 +386,14 @@ eggs = ...@@ -386,6 +386,14 @@ eggs =
# Dependency for our fork of PortalTransforms # Dependency for our fork of PortalTransforms
StructuredText StructuredText
slapos.cookbook
z2loganalyser
bef_dummy =
# Force dependency
${slapos.cookbook-repository:location}
${z2loganalyser-repository:location}
# parameterizing the version of the generated python interpreter name by the # parameterizing the version of the generated python interpreter name by the
# python section version causes dependency between this egg section and the # python section version causes dependency between this egg section and the
# installation of python, which we don't want on an instance # installation of python, which we don't want on an instance
......
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