MySQL : Update other variation of mysql software releases

parent 510f2f72
...@@ -8,8 +8,10 @@ develop-eggs-directory = ${buildout:develop-eggs-directory} ...@@ -8,8 +8,10 @@ develop-eggs-directory = ${buildout:develop-eggs-directory}
[instance] [instance]
recipe = ${instance-recipe:egg}:${instance-recipe:module} recipe = ${instance-recipe:egg}:${instance-recipe:module}
dcrond_binary = ${dcron:location}/sbin/crond dcrond_binary = ${dcron:location}/sbin/crond
innobackupex_binary = ${xtrabackup:location}/bin/innobackupex
logrotate_binary = ${logrotate:location}/usr/sbin/logrotate logrotate_binary = ${logrotate:location}/usr/sbin/logrotate
mysql_binary = ${mariadb:location}/bin/mysql mysql_binary = ${mariadb:location}/bin/mysql
mysql_install_binary = ${mariadb:location}/bin/mysql_install_db mysql_install_binary = ${mariadb:location}/bin/mysql_install_db
mysql_upgrade_binary = ${mariadb:location}/bin/mysql_upgrade mysql_upgrade_binary = ${mariadb:location}/bin/mysql_upgrade
mysqld_binary = ${mariadb:location}/libexec/mysqld mysqld_binary = ${mariadb:location}/libexec/mysqld
\ No newline at end of file perl_binary = ${perl:location}/bin/perl
\ No newline at end of file
[buildout] [buildout]
slaposcookbook_location = ${:parts-directory}/slaposcookbook
develop = ${:slaposcookbook_location} sources = sources
auto-checkout = mysql
extensions = extensions =
slapos.tool.networkcache slapos.tool.networkcache
slapos.zcbworkarounds slapos.zcbworkarounds
#slapos.rebootstrap slapos.rebootstrap
mr.developer
find-links = find-links =
http://www.nexedi.org/static/packages/source/slapos.buildout/ http://www.nexedi.org/static/packages/source/slapos.buildout/
...@@ -16,13 +17,15 @@ extends = ...@@ -16,13 +17,15 @@ extends =
../../component/mariadb/buildout.cfg ../../component/mariadb/buildout.cfg
../../component/dcron/buildout.cfg ../../component/dcron/buildout.cfg
../../component/logrotate/buildout.cfg ../../component/logrotate/buildout.cfg
../../component/python-2.7/buildout.cfg
../../component/perl/buildout.cfg
../../component/xtrabackup/buildout.cfg
#mysql-tritonn-5.0
#mariadb
versions = versions versions = versions
parts += parts +=
# Create instance template # Create instance template
#TODO : list here all parts.
template template
instance-recipe-egg instance-recipe-egg
...@@ -31,30 +34,20 @@ parts += ...@@ -31,30 +34,20 @@ parts +=
# development / fast switching environment for whole software # development / fast switching environment for whole software
unzip = true unzip = true
#[rebootstrap] [sources]
# Default first version of rebootstrapped python # Include information related to official mysql source code.
#version = 2 mysql = git http://git.erp5.org/repos/slapos.git branch=mysql
#section = python2.7
[slaposcookbook] [rebootstrap]
recipe = plone.recipe.command # Default first version of rebootstrapped python
git_param =--quiet -b mysql version = 2
git = ${git:location}/bin/git section = python2.7
location = ${buildout:parts-directory}/${:_buildout_section_name_}
stop-on-error = true
command = ${:git} clone ${:git_param} http://git.erp5.org/repos/slapos.git ${:location} || exit 1;
update-command = cd ${:location} && ${git:location}/bin/git pull --quiet
[instance-recipe] [instance-recipe]
egg = slapos.cookbook egg = slapos.cookbook
module = mysql module = mysql
[instance-recipe-egg] [instance-recipe-egg]
# Just so buildout executes [slaposcookbook] before [eggs], as
# - [eggs] references [slaposcookbook]
# - [instance-recipe] needs [slaposcookbook] to be finished
# - we cannot rely on anything else being executed before [instance-recipe]
slaposcookbook_dummy = ${slaposcookbook:location}
recipe = zc.recipe.egg recipe = zc.recipe.egg
#python = python2.6 #python = python2.6
eggs = ${instance-recipe:egg} eggs = ${instance-recipe:egg}
......
...@@ -8,8 +8,10 @@ develop-eggs-directory = ${buildout:develop-eggs-directory} ...@@ -8,8 +8,10 @@ develop-eggs-directory = ${buildout:develop-eggs-directory}
[instance] [instance]
recipe = ${instance-recipe:egg}:${instance-recipe:module} recipe = ${instance-recipe:egg}:${instance-recipe:module}
dcrond_binary = ${dcron:location}/sbin/crond dcrond_binary = ${dcron:location}/sbin/crond
innobackupex_binary = ${xtrabackup:location}/bin/innobackupex
logrotate_binary = ${logrotate:location}/usr/sbin/logrotate logrotate_binary = ${logrotate:location}/usr/sbin/logrotate
mysql_binary = ${mysql-tritonn-5.0:location}/bin/mysql mysql_binary = ${mysql-tritonn-5.0:location}/bin/mysql
mysql_install_binary = ${mysql-tritonn-5.0:location}/bin/mysql_install_db mysql_install_binary = ${mysql-tritonn-5.0:location}/bin/mysql_install_db
mysql_upgrade_binary = ${mysql-tritonn-5.0:location}/bin/mysql_upgrade mysql_upgrade_binary = ${mysql-tritonn-5.0:location}/bin/mysql_upgrade
mysqld_binary = ${mysql-tritonn-5.0:location}/libexec/mysqld mysqld_binary = ${mysql-tritonn-5.0:location}/libexec/mysqld
\ No newline at end of file perl_binary = ${perl:location}/bin/perl
\ No newline at end of file
[buildout] [buildout]
slaposcookbook_location = ${:parts-directory}/slaposcookbook
develop = ${:slaposcookbook_location} sources = sources
auto-checkout = mysql
extensions = extensions =
slapos.tool.networkcache slapos.tool.networkcache
slapos.zcbworkarounds slapos.zcbworkarounds
#slapos.rebootstrap slapos.rebootstrap
mr.developer
find-links = find-links =
http://www.nexedi.org/static/packages/source/slapos.buildout/ http://www.nexedi.org/static/packages/source/slapos.buildout/
...@@ -16,13 +17,15 @@ extends = ...@@ -16,13 +17,15 @@ extends =
../../component/mysql-tritonn-5.0/buildout.cfg ../../component/mysql-tritonn-5.0/buildout.cfg
../../component/dcron/buildout.cfg ../../component/dcron/buildout.cfg
../../component/logrotate/buildout.cfg ../../component/logrotate/buildout.cfg
../../component/python-2.7/buildout.cfg
../../component/perl/buildout.cfg
../../component/xtrabackup/buildout.cfg
#mysql-tritonn-5.0
#mariadb
versions = versions versions = versions
parts += parts +=
# Create instance template # Create instance template
#TODO : list here all parts.
template template
instance-recipe-egg instance-recipe-egg
...@@ -31,30 +34,20 @@ parts += ...@@ -31,30 +34,20 @@ parts +=
# development / fast switching environment for whole software # development / fast switching environment for whole software
unzip = true unzip = true
#[rebootstrap] [sources]
# Default first version of rebootstrapped python # Include information related to official mysql source code.
#version = 2 mysql = git http://git.erp5.org/repos/slapos.git branch=mysql
#section = python2.7
[slaposcookbook] [rebootstrap]
recipe = plone.recipe.command # Default first version of rebootstrapped python
git_param =--quiet -b mysql version = 2
git = ${git:location}/bin/git section = python2.7
location = ${buildout:parts-directory}/${:_buildout_section_name_}
stop-on-error = true
command = ${:git} clone ${:git_param} http://git.erp5.org/repos/slapos.git ${:location} || exit 1;
update-command = cd ${:location} && ${git:location}/bin/git pull --quiet
[instance-recipe] [instance-recipe]
egg = slapos.cookbook egg = slapos.cookbook
module = mysql module = mysql
[instance-recipe-egg] [instance-recipe-egg]
# Just so buildout executes [slaposcookbook] before [eggs], as
# - [eggs] references [slaposcookbook]
# - [instance-recipe] needs [slaposcookbook] to be finished
# - we cannot rely on anything else being executed before [instance-recipe]
slaposcookbook_dummy = ${slaposcookbook:location}
recipe = zc.recipe.egg recipe = zc.recipe.egg
#python = python2.6 #python = python2.6
eggs = ${instance-recipe:egg} eggs = ${instance-recipe:egg}
......
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