software.cfg 3.01 KB
Newer Older
1 2 3 4 5 6 7 8 9 10
# 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
Kirill Smelkov's avatar
Kirill Smelkov committed
11 12
    ../../component/sqlite3/buildout.cfg
    ../../component/zlib/buildout.cfg
13 14 15 16
    ../../component/wendelin.core/buildout.cfg
    ../../component/ethtool/buildout.cfg
    ../../component/ioping/buildout.cfg
    ../../component/lmbench/buildout.cfg
17
    ../../component/coreutils/buildout.cfg
18
    ../../component/util-linux/buildout.cfg
19 20 21 22 23 24 25

parts =
    gowork
    lmbench
    ioping
    ethtool

26 27
#   neotest uses realpath & friends
    coreutils
28 29
#   ----//---- lsblk
    util-linux
30

31 32 33 34 35 36 37
    neoppod-develop
    neoppod
    wendelin.core-dev
    eggs

    neotest-env.sh
    neotest
38
    neotest-runTestSuite
39 40 41 42

#   for instance
    slapos-deps-eggs
    slapos-cookbook
43
    instance.cfg
44 45 46 47 48


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

Kirill Smelkov's avatar
Kirill Smelkov committed
53 54 55 56
cpkgpath =
    ${sqlite3:location}/lib/pkgconfig
    ${zlib:location}/lib/pkgconfig

57 58 59 60 61 62 63 64 65 66 67 68 69
# 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
70
md5sum  = 595eebbbcb56b6a8464d48833cfae57b
71 72 73 74 75 76 77

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

78 79 80 81 82 83 84 85 86 87 88 89 90 91 92
[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
93 94

[instance.cfg]
95
<= jinja2-template
96
md5sum  = 8a40d365c85d70f057ce997405ac3e88
97 98 99 100 101 102 103 104 105 106 107 108 109 110


# 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
111 112
# for nxd/runTestSuite
    erp5.util
Kirill Smelkov's avatar
Kirill Smelkov committed
113 114
# for e.g. tcpu.py
    pygolang
115 116 117 118


# wendelin.core: latest not yet released
[wendelin.core-repository]
Kirill Smelkov's avatar
Kirill Smelkov committed
119
revision= v0.11-15-gf785ac079b
120 121 122 123 124

# ping eggs versions
[versions]
pyasn1 = 0.3.7
ZODB3 = 3.11.0
Kirill Smelkov's avatar
Kirill Smelkov committed
125
numpy = 1.14.2
126
zope.testing = 4.6.2
Kirill Smelkov's avatar
Kirill Smelkov committed
127
pygolang = 0.0.0.dev4
Rafael Monnerat's avatar
Rafael Monnerat committed
128
erp5.util = 0.4.51
129 130 131 132 133 134 135 136 137 138 139

# 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
Kirill Smelkov's avatar
Kirill Smelkov committed
140 141 142 143

# Required by:
# neoppod==1.8.1
python-dateutil = 2.7.1