software.cfg 4.67 KB
Newer Older
Yingjie Xu's avatar
Yingjie Xu committed
1 2
[buildout]
extends =
Rafael Monnerat's avatar
Rafael Monnerat committed
3 4
  ../../component/python-2.7/buildout.cfg
  ../../component/lxml-python/buildout.cfg
5
  ../../component/git/buildout.cfg
Yingjie Xu's avatar
Yingjie Xu committed
6 7
  ../../stack/slapos.cfg

Rafael Monnerat's avatar
Rafael Monnerat committed
8 9
develop =
  ${:parts-directory}/slapos.cookbook-repository
10
  ${:parts-directory}/slapos.toolbox-repository
Rafael Monnerat's avatar
Rafael Monnerat committed
11

Yingjie Xu's avatar
Yingjie Xu committed
12 13
parts =
  template
Rafael Monnerat's avatar
Rafael Monnerat committed
14 15 16
  template-agent
  slapos.cookbook-repository
  check-recipe
17 18
  slapos.toolbox-repository
  check-recipe-toolbox
Yingjie Xu's avatar
Yingjie Xu committed
19
  instance-recipe-egg
Rafael Monnerat's avatar
Rafael Monnerat committed
20
  python2.7
Yingjie Xu's avatar
Yingjie Xu committed
21 22
  script

Rafael Monnerat's avatar
Rafael Monnerat committed
23 24 25 26 27 28 29 30 31 32 33 34 35 36 37
# Local development
[slapos.cookbook-repository]
recipe = plone.recipe.command
stop-on-error = true
branch = agent
location = ${buildout:parts-directory}/${:_buildout_section_name_}
command = ${git:location}/bin/git clone --branch ${:branch} --quiet http://git.erp5.org/repos/slapos.git ${:location}
update-command = cd ${:location} && ${git:location}/bin/git pull --quiet

[check-recipe]
recipe = plone.recipe.command
stop-on-error = true
update-command = ${:command}
command = grep parts ${buildout:develop-eggs-directory}/slapos.cookbook.egg-link

38 39 40 41 42 43 44 45 46 47 48 49 50 51
[slapos.toolbox-repository]
recipe = plone.recipe.command
stop-on-error = true
branch = agent
location = ${buildout:parts-directory}/${:_buildout_section_name_}
command = ${git:location}/bin/git clone --branch ${:branch} --quiet http://git.erp5.org/repos/slapos.toolbox.git ${:location}
update-command = cd ${:location} && ${git:location}/bin/git pull --quiet

[check-recipe-toolbox]
recipe = plone.recipe.command
stop-on-error = true
update-command = ${:command}
command = grep parts ${buildout:develop-eggs-directory}/slapos.toolbox.egg-link

Yingjie Xu's avatar
Yingjie Xu committed
52
[instance-recipe]
53
# XXX-Cedric: it can use newest slapos.cfg to not have duplication
Yingjie Xu's avatar
Yingjie Xu committed
54 55 56 57
egg = slapos.cookbook
module = agent

[instance-recipe-egg]
58
# XXX-Cedric: it can use newest slapos.cfg to not have duplication
Yingjie Xu's avatar
Yingjie Xu committed
59
recipe = zc.recipe.egg
60 61 62
eggs =
  ${lxml-python:egg}
  ${instance-recipe:egg}
Yingjie Xu's avatar
Yingjie Xu committed
63 64 65 66 67

[template]
recipe = slapos.recipe.template
url = ${:_profile_base_location_}/instance.cfg
output = ${buildout:directory}/template.cfg
Rafael Monnerat's avatar
Rafael Monnerat committed
68 69 70 71 72 73 74 75
md5sum = bcd3b3cb8a305c83bb048d5ac1c583fe
mode = 0644

[template-agent]
recipe = slapos.recipe.template
url = ${:_profile_base_location_}/instance-agent.cfg
output = ${buildout:directory}/template-agent.cfg
md5sum = fd9670d8473be402b10990398b553b00
Yingjie Xu's avatar
Yingjie Xu committed
76 77
mode = 0644

Yingjie Xu's avatar
Yingjie Xu committed
78 79 80 81 82
[script]
recipe = z3c.recipe.scripts
eggs =
  zc.buildout
  slapos.core
Vincent Pelletier's avatar
Vincent Pelletier committed
83
  slapos.toolbox[agent]
Cédric de Saint Martin's avatar
Cédric de Saint Martin committed
84
  erp5.util
Yingjie Xu's avatar
Yingjie Xu committed
85

Yingjie Xu's avatar
Yingjie Xu committed
86 87 88
[networkcache]
# signature certificates of the following uploaders.
#   Romain Courteaud
Cédric de Saint Martin's avatar
Cédric de Saint Martin committed
89
#   Cedric de Saint Martin
Rafael Monnerat's avatar
Rafael Monnerat committed
90
#   Rafael Monnerat
Yingjie Xu's avatar
Yingjie Xu committed
91 92 93 94 95 96 97 98 99 100 101 102 103 104
signature-certificate-list =
  -----BEGIN CERTIFICATE-----
  MIIB4DCCAUkCADANBgkqhkiG9w0BAQsFADA5MQswCQYDVQQGEwJGUjEZMBcGA1UE
  CBMQRGVmYXVsdCBQcm92aW5jZTEPMA0GA1UEChMGTmV4ZWRpMB4XDTExMDkxNTA5
  MDAwMloXDTEyMDkxNTA5MDAwMlowOTELMAkGA1UEBhMCRlIxGTAXBgNVBAgTEERl
  ZmF1bHQgUHJvdmluY2UxDzANBgNVBAoTBk5leGVkaTCBnzANBgkqhkiG9w0BAQEF
  AAOBjQAwgYkCgYEApYZv6OstoqNzxG1KI6iE5U4Ts2Xx9lgLeUGAMyfJLyMmRLhw
  boKOyJ9Xke4dncoBAyNPokUR6iWOcnPHtMvNOsBFZ2f7VA28em3+E1JRYdeNUEtX
  Z0s3HjcouaNAnPfjFTXHYj4um1wOw2cURSPuU5dpzKBbV+/QCb5DLheynisCAwEA
  ATANBgkqhkiG9w0BAQsFAAOBgQBCZLbTVdrw3RZlVVMFezSHrhBYKAukTwZrNmJX
  mHqi2tN8tNo6FX+wmxUUAf3e8R2Ymbdbn2bfbPpcKQ2fG7PuKGvhwMG3BlF9paEC
  q7jdfWO18Zp/BG7tagz0jmmC4y/8akzHsVlruo2+2du2freE8dK746uoMlXlP93g
  QUUGLQ==
  -----END CERTIFICATE-----
Cédric de Saint Martin's avatar
Cédric de Saint Martin committed
105 106 107 108 109 110 111 112 113 114 115 116 117
  -----BEGIN CERTIFICATE-----
  MIIB9jCCAV+gAwIBAgIJAO4V/jiMoICoMA0GCSqGSIb3DQEBBQUAMBMxETAPBgNV
  BAMMCENPTVAtMjMyMCAXDTEyMDIxNjExMTAyM1oYDzIxMTIwMTIzMTExMDIzWjAT
  MREwDwYDVQQDDAhDT01QLTIzMjCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEA
  wi/3Z8W9pUiegUXIk/AiFDQ0UJ4JFAwjqr+HSRUirlUsHHT+8DzH/hfcTDX1I5BB
  D1ADk+ydXjMm3OZrQcXjn29OUfM5C+g+oqeMnYQImN0DDQIOcUyr7AJc4xhvuXQ1
  P2pJ5NOd3tbd0kexETa1LVhR6EgBC25LyRBRae76qosCAwEAAaNQME4wHQYDVR0O
  BBYEFMDmW9aFy1sKTfCpcRkYnP6zUd1cMB8GA1UdIwQYMBaAFMDmW9aFy1sKTfCp
  cRkYnP6zUd1cMAwGA1UdEwQFMAMBAf8wDQYJKoZIhvcNAQEFBQADgYEAskbFizHr
  b6d3iIyN+wffxz/V9epbKIZVEGJd/6LrTdLiUfJPec7FaxVCWNyKBlCpINBM7cEV
  Gn9t8mdVQflNqOlAMkOlUv1ZugCt9rXYQOV7rrEYJBWirn43BOMn9Flp2nibblby
  If1a2ZoqHRxoNo2yTmm7TSYRORWVS+vvfjY=
  -----END CERTIFICATE-----
Rafael Monnerat's avatar
Rafael Monnerat committed
118 119 120 121 122 123 124 125 126 127 128 129
  -----BEGIN CERTIFICATE-----
  MIIB9jCCAV+gAwIBAgIJAOcKrOH/2Da6MA0GCSqGSIb3DQEBBQUAMBMxETAPBgNV
  BAMMCENPTVAtMjk3MCAXDTEyMDYyNjAzMDU1MVoYDzIxMTIwNjAyMDMwNTUxWjAT
  MREwDwYDVQQDDAhDT01QLTI5NzCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEA
  xzbOGlcoin2q+Mtp52r26Njliz2aoxIXbnOBUyDc/OGtk9nWA5uBtTc2zwR17um6
  KV0bGyvuBA78XcvU+AIV/5s0ohBAX7yjRKmEhAYcFvov3EyWSdjOrqqo4qFSzOrK
  sVQBlxIDpjQBH4F3lf6dBv6/M+tCT3iSv3aOZbsG0E8CAwEAAaNQME4wHQYDVR0O
  BBYEFLqtrfTu+BIVt+TFiRUkIoiWIYrxMB8GA1UdIwQYMBaAFLqtrfTu+BIVt+TF
  iRUkIoiWIYrxMAwGA1UdEwQFMAMBAf8wDQYJKoZIhvcNAQEFBQADgYEAc8N5P5gW
  Jrdk9gF/3Cpp6THDiy93+WcuAm7zFwXPFNttJtFKMNObP2YRZvsQkvjezfrZoRBF
  j8LgKB3tZCbBj+HDj+AeD+q9V+cqMFLKc6LezvQYUuum6bZdfUNnPv1K1ULYSPjq
  /jsRBbabCWSXqxR6gYEM6ooauj3udBMXhHE=
130
  -----END CERTIFICATE-----