software.cfg 2.76 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14
# NEO test software-release
#
# This software-release prepares environment so that neotest NEO
# testing/benchmarking can be run in a SlapOS WebRunner.
[buildout]
extends =
    ../../stack/slapos.cfg
    ../neoppod/software-common.cfg
    ../../component/golang/buildout.cfg
    gowork.cfg
    ../../component/wendelin.core/buildout.cfg
    ../../component/ethtool/buildout.cfg
    ../../component/ioping/buildout.cfg
    ../../component/lmbench/buildout.cfg
15
    ../../component/coreutils/buildout.cfg
16
    ../../component/util-linux/buildout.cfg
17 18 19 20 21 22 23

parts =
    gowork
    lmbench
    ioping
    ethtool

24 25
#   neotest uses realpath & friends
    coreutils
26 27
#   ----//---- lsblk
    util-linux
28

29 30 31 32 33 34 35
    neoppod-develop
    neoppod
    wendelin.core-dev
    eggs

    neotest-env.sh
    neotest
36
    neotest-runTestSuite
37 38 39 40

#   for instance
    slapos-deps-eggs
    slapos-cookbook
41
    instance.cfg
42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63


# go packages to install (+ automatically their dependencies)
[gowork]
install =
    lab.nexedi.com/kirr/neo/go/...  \
    github.com/pkg/profile          \
    golang.org/x/perf/cmd/benchstat

# dev-install neo from go checkout
[neoppod-develop]
setup   = ${go_lab.nexedi.com_kirr_neo:location}


# neotest-env.sh + neotest wrapper
[buildout-template]
recipe  = slapos.recipe.template
url     = ${:_profile_base_location_}/${:_buildout_section_name_}.in
output  = ${buildout:directory}/${:_buildout_section_name_}

[neotest-env.sh]
<= buildout-template
64
md5sum  = 595eebbbcb56b6a8464d48833cfae57b
65 66 67 68 69 70 71

[neotest]
<= buildout-template
output  = ${buildout:bin-directory}/${:_buildout_section_name_}
mode    = 0755
md5sum  = fb3b4109128c1db1739ef5bb6abd1d94

72 73 74 75 76 77 78 79 80 81 82 83 84 85 86
[neotest-runTestSuite]
<= buildout-template
output  = ${buildout:bin-directory}/${:_buildout_section_name_}
mode    = 0755
md5sum  = 6a4281730b68cdba5c873817a6754428


# instance
[jinja2-template]
recipe  = slapos.recipe.template:jinja2
template= ${:_profile_base_location_}/${:_buildout_section_name_}.in
rendered= ${buildout:directory}/${:_buildout_section_name_}
mode    = 0644
context =
  section buildout  buildout
87 88

[instance.cfg]
89 90
<= jinja2-template
md5sum  = 7bd68ed8842cd25301bf04bcdcef88f6
91 92 93 94 95 96 97 98 99 100 101 102 103 104


# eggs:
[eggs]
recipe  = zc.recipe.egg
eggs    =
# wendelin.core still requires ZODB3 but having ZODB4 or 5 installed satisfies latest ZODB3
    ZODB3
# also for wc
    numpy
# to install not only wendelin.core modules but also scripts
    wendelin.core
# for ZEO scripts (runzeo)
    ZEO
105 106
# for nxd/runTestSuite
    erp5.util
107 108 109 110 111 112 113 114 115 116 117 118


# wendelin.core: latest not yet released
[wendelin.core-repository]
revision= v0.11-4-g38fbc83ceb

# ping eggs versions
[versions]
pyasn1 = 0.3.7
ZODB3 = 3.11.0
numpy = 1.13.3
zope.testing = 4.6.2
119
erp5.util = 0.4.50
120 121 122 123 124 125 126 127 128 129 130

# Required by:
# ZEO==4.3.1
# ZODB==4.4.5
# zodburi==2.3.0
ZConfig = 3.2.0

# Required by:
# ZEO==4.3.1
# ZODB==4.4.5
zc.lockfile = 1.2.1