[buildout]
extends =
  ../../component/golang/buildout.cfg
  ../../component/openssl/buildout.cfg
  ../../stack/slapos.cfg
  ../../stack/monitor/buildout.cfg
  buildout.hash.cfg

parts =
  slapos-cookbook
  eggs
  template
  template-default

# eggs for instance.cfg
[eggs]
recipe  = zc.recipe.egg
eggs    =
    plone.recipe.command
    collective.recipe.template


[galene]
<= go-git-package
go.importpath = lab.nexedi.com/nexedi/galene
repository = https://lab.nexedi.com/nexedi/galene.git
revision = galene-ptt-0.6.4

[gowork]
install =
    ${galene:location}:./...
environment =
   CGO_ENABLED = 0
buildflags = -ldflags='-s -w'

[template]
recipe = slapos.recipe.template
url = ${:_profile_base_location_}/${:filename}
output = ${buildout:directory}/template.cfg

[template-default]
recipe = slapos.recipe.template
url = ${:_profile_base_location_}/${:filename}
output = ${buildout:directory}/template-default.cfg
