Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
slapos
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Łukasz Nowak
slapos
Commits
e6885195
Commit
e6885195
authored
Feb 13, 2014
by
Kazuhiko Shiozaki
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/master' into erp5-component
parents
8ef0ac9d
511d2c1e
Changes
11
Show whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
340 additions
and
151 deletions
+340
-151
component/alsa/buildout.cfg
component/alsa/buildout.cfg
+1
-0
component/busybox/buildout.cfg
component/busybox/buildout.cfg
+10
-0
component/busybox/busybox-1_20_2.patch
component/busybox/busybox-1_20_2.patch
+12
-0
component/firefox/buildout.cfg
component/firefox/buildout.cfg
+3
-1
component/xorg/buildout.cfg
component/xorg/buildout.cfg
+6
-0
slapos/recipe/erp5testnode/__init__.py
slapos/recipe/erp5testnode/__init__.py
+38
-31
slapos/recipe/erp5testnode/template/erp5testnode.cfg.in
slapos/recipe/erp5testnode/template/erp5testnode.cfg.in
+5
-7
slapos/recipe/erp5testnode/template/httpd.conf.in
slapos/recipe/erp5testnode/template/httpd.conf.in
+61
-0
software/erp5testnode/instance-default.cfg
software/erp5testnode/instance-default.cfg
+42
-29
software/erp5testnode/software.cfg
software/erp5testnode/software.cfg
+61
-71
software/seleniumrunner/software.cfg
software/seleniumrunner/software.cfg
+101
-12
No files found.
component/alsa/buildout.cfg
View file @
e6885195
...
@@ -19,3 +19,4 @@ configure-options =
...
@@ -19,3 +19,4 @@ configure-options =
--disable-alisp
--disable-alisp
--disable-old-symbols
--disable-old-symbols
--disable-python
--disable-python
--without-debug
component/busybox/buildout.cfg
View file @
e6885195
...
@@ -2,13 +2,23 @@
...
@@ -2,13 +2,23 @@
parts = busybox
parts = busybox
[busybox-patch-download]
recipe = hexagonit.recipe.download
url = ${:_profile_base_location_}/${:filename}
md5sum = 292498db86c46e101bb14bf2c74c36f0
download-only = true
filename = busybox-1_20_2.patch
[busybox]
[busybox]
recipe = slapos.recipe.build
recipe = slapos.recipe.build
url = http://git.busybox.net/busybox/snapshot/busybox-1_20_2.tar.gz
url = http://git.busybox.net/busybox/snapshot/busybox-1_20_2.tar.gz
md5sum = 025acebb48040ef62dd635d416d317e8
md5sum = 025acebb48040ef62dd635d416d317e8
patches =
${busybox-patch-download:location}/${busybox-patch-download:filename}
script =
script =
extract_dir = self.extract(self.download(%(url)r, %(md5sum)r))
extract_dir = self.extract(self.download(%(url)r, %(md5sum)r))
workdir = guessworkdir(extract_dir)
workdir = guessworkdir(extract_dir)
self.applyPatchList(self.options.get('patches'), '-p1', cwd=workdir)
self.logger.info("Creating default configuration")
self.logger.info("Creating default configuration")
call(['make', 'defconfig'], cwd=workdir, env=env)
call(['make', 'defconfig'], cwd=workdir, env=env)
self.logger.info("Building")
self.logger.info("Building")
...
...
component/busybox/busybox-1_20_2.patch
0 → 100644
View file @
e6885195
diff --git a/include/libbb.h b/include/libbb.h
index f12800f..e7806c2 100644
--- a/include/libbb.h
+++ b/include/libbb.h
@@ -40,6 +40,7 @@
#include <sys/poll.h>
#include <sys/ioctl.h>
#include <sys/mman.h>
+#include <sys/resource.h>
#include <sys/socket.h>
#include <sys/stat.h>
#include <sys/time.h>
component/firefox/buildout.cfg
View file @
e6885195
...
@@ -11,6 +11,9 @@ extends =
...
@@ -11,6 +11,9 @@ extends =
parts =
parts =
firefox
firefox
# XXX : Firefox binary tries to find libgnomeui-2.so.0 and it will
# fail to run if exists.
[firefox]
[firefox]
recipe = slapos.recipe.build
recipe = slapos.recipe.build
slapos_promise =
slapos_promise =
...
@@ -40,4 +43,3 @@ script =
...
@@ -40,4 +43,3 @@ script =
exec %(location)s/firefox $*""")
exec %(location)s/firefox $*""")
wrapper.close()
wrapper.close()
os.chmod(wrapper_location, 0755)
os.chmod(wrapper_location, 0755)
component/xorg/buildout.cfg
View file @
e6885195
...
@@ -242,6 +242,8 @@ md5sum = a2a861f142c3b4367f14fc14239fc1f7
...
@@ -242,6 +242,8 @@ md5sum = a2a861f142c3b4367f14fc14239fc1f7
environment =
environment =
PKG_CONFIG_PATH=${xproto:location}/lib/pkgconfig
PKG_CONFIG_PATH=${xproto:location}/lib/pkgconfig
PATH=${pkgconfig:location}/bin:%(PATH)s
PATH=${pkgconfig:location}/bin:%(PATH)s
CPPFLAGS=-I${zlib:location}/include
LDFLAGS=-L${zlib:location}/lib -Wl,-rpath=${zlib:location}/lib
[libXfont]
[libXfont]
recipe = slapos.recipe.cmmi
recipe = slapos.recipe.cmmi
...
@@ -250,6 +252,8 @@ md5sum = 6851da5dae0a6cf5f7c9b9e2b05dd3b4
...
@@ -250,6 +252,8 @@ md5sum = 6851da5dae0a6cf5f7c9b9e2b05dd3b4
environment =
environment =
PKG_CONFIG_PATH=${fontsproto:location}/lib/pkgconfig:${libfontenc:location}/lib/pkgconfig:${xproto:location}/lib/pkgconfig:${xtrans:location}/share/pkgconfig:${freetype:location}/lib/pkgconfig
PKG_CONFIG_PATH=${fontsproto:location}/lib/pkgconfig:${libfontenc:location}/lib/pkgconfig:${xproto:location}/lib/pkgconfig:${xtrans:location}/share/pkgconfig:${freetype:location}/lib/pkgconfig
PATH=${pkgconfig:location}/bin:%(PATH)s
PATH=${pkgconfig:location}/bin:%(PATH)s
CPPFLAGS=-I${zlib:location}/include
LDFLAGS=-L${zlib:location}/lib -Wl,-rpath=${zlib:location}/lib
[libxkbfile]
[libxkbfile]
recipe = slapos.recipe.cmmi
recipe = slapos.recipe.cmmi
...
@@ -258,6 +262,8 @@ md5sum = 19e6533ae64abba0773816a23f2b9507
...
@@ -258,6 +262,8 @@ md5sum = 19e6533ae64abba0773816a23f2b9507
environment =
environment =
PKG_CONFIG_PATH=${kbproto:location}/lib/pkgconfig:${libX11:location}/lib/pkgconfig:${libXau:location}/lib/pkgconfig:${libxcb:location}/lib/pkgconfig:${xorg-libpthread-stubs:location}/lib/pkgconfig:${xproto:location}/lib/pkgconfig
PKG_CONFIG_PATH=${kbproto:location}/lib/pkgconfig:${libX11:location}/lib/pkgconfig:${libXau:location}/lib/pkgconfig:${libxcb:location}/lib/pkgconfig:${xorg-libpthread-stubs:location}/lib/pkgconfig:${xproto:location}/lib/pkgconfig
PATH=${pkgconfig:location}/bin:%(PATH)s
PATH=${pkgconfig:location}/bin:%(PATH)s
CPPFLAGS=-I${zlib:location}/include
LDFLAGS=-L${zlib:location}/lib -Wl,-rpath=${zlib:location}/lib
[xkeyboard-config]
[xkeyboard-config]
recipe = slapos.recipe.cmmi
recipe = slapos.recipe.cmmi
...
...
slapos/recipe/erp5testnode/__init__.py
View file @
e6885195
...
@@ -33,20 +33,12 @@ from slapos.recipe.librecipe import GenericBaseRecipe
...
@@ -33,20 +33,12 @@ from slapos.recipe.librecipe import GenericBaseRecipe
class
Recipe
(
GenericBaseRecipe
):
class
Recipe
(
GenericBaseRecipe
):
def
install
(
self
):
def
install
(
self
):
path_list
=
[]
self
.
path_list
=
[]
options
=
self
.
options
.
copy
()
options
=
self
.
options
.
copy
()
del
options
[
'recipe'
]
del
options
[
'recipe'
]
CONFIG
=
{
k
.
replace
(
'-'
,
'_'
):
v
for
k
,
v
in
options
.
iteritems
()}
CONFIG
=
{
k
.
replace
(
'-'
,
'_'
):
v
for
k
,
v
in
options
.
iteritems
()}
CONFIG
[
'PATH'
]
=
os
.
environ
[
'PATH'
]
CONFIG
[
'PATH'
]
=
os
.
environ
[
'PATH'
]
if
CONFIG
[
'bt5_path'
]:
additional_bt5_repository_id_list
=
CONFIG
[
'bt5_path'
].
split
(
","
)
CONFIG
[
'bt5_path'
]
=
''
for
bt5_repository_id
in
additional_bt5_repository_id_list
:
id_path
=
os
.
path
.
join
(
CONFIG
[
'slapos_directory'
],
bt5_repository_id
)
bt_path
=
os
.
path
.
join
(
id_path
,
"bt5"
)
CONFIG
[
'bt5_path'
]
+=
"%s,%s,"
%
(
id_path
,
bt_path
)
if
self
.
options
[
'instance-dict'
]:
if
self
.
options
[
'instance-dict'
]:
config_instance_dict
=
ConfigParser
.
ConfigParser
()
config_instance_dict
=
ConfigParser
.
ConfigParser
()
config_instance_dict
.
add_section
(
'instance_dict'
)
config_instance_dict
.
add_section
(
'instance_dict'
)
...
@@ -58,25 +50,11 @@ class Recipe(GenericBaseRecipe):
...
@@ -58,25 +50,11 @@ class Recipe(GenericBaseRecipe):
config_instance_dict
.
write
(
value
)
config_instance_dict
.
write
(
value
)
CONFIG
[
'instance_dict'
]
=
value
.
getvalue
()
CONFIG
[
'instance_dict'
]
=
value
.
getvalue
()
vcs_repository_list
=
json
.
loads
(
self
.
options
[
'repository-list'
])
software_path_list
=
json
.
loads
(
self
.
options
[
'software-path-list'
])
config_repository_list
=
ConfigParser
.
ConfigParser
()
if
software_path_list
:
i
=
0
CONFIG
[
"software_path_list"
]
=
"[software_list]"
for
repository
in
vcs_repository_list
:
CONFIG
[
"software_path_list"
]
+=
\
section_name
=
'vcs_repository_%d'
%
i
"
\
n
path_list = %s"
%
","
.
join
(
software_path_list
)
config_repository_list
.
add_section
(
section_name
)
config_repository_list
.
set
(
section_name
,
'url'
,
repository
[
'url'
])
if
'branch'
in
repository
:
config_repository_list
.
set
(
section_name
,
'branch'
,
repository
[
'branch'
])
if
'profile_path'
in
repository
:
config_repository_list
.
set
(
section_name
,
'profile_path'
,
repository
[
'profile_path'
])
if
'buildout_section_id'
in
repository
:
config_repository_list
.
set
(
section_name
,
'buildout_section_id'
,
repository
[
'buildout_section_id'
])
i
+=
1
value
=
StringIO
.
StringIO
()
config_repository_list
.
write
(
value
)
CONFIG
[
'repository_list'
]
=
value
.
getvalue
()
configuration_file
=
self
.
createFile
(
configuration_file
=
self
.
createFile
(
self
.
options
[
'configuration-file'
],
self
.
options
[
'configuration-file'
],
...
@@ -85,8 +63,8 @@ class Recipe(GenericBaseRecipe):
...
@@ -85,8 +63,8 @@ class Recipe(GenericBaseRecipe):
CONFIG
CONFIG
),
),
)
)
path_list
.
append
(
configuration_file
)
self
.
path_list
.
append
(
configuration_file
)
path_list
.
append
(
self
.
path_list
.
append
(
self
.
createPythonScript
(
self
.
createPythonScript
(
self
.
options
[
'wrapper'
],
self
.
options
[
'wrapper'
],
'slapos.recipe.librecipe.execute.executee'
,
'slapos.recipe.librecipe.execute.executee'
,
...
@@ -100,4 +78,33 @@ class Recipe(GenericBaseRecipe):
...
@@ -100,4 +78,33 @@ class Recipe(GenericBaseRecipe):
],
],
)
)
)
)
return
path_list
self
.
installApache
()
return
self
.
path_list
def
installApache
(
self
):
apache_config
=
dict
(
pid_file
=
self
.
options
[
'httpd-pid-file'
],
lock_file
=
self
.
options
[
'httpd-lock-file'
],
ip
=
self
.
options
[
'httpd-ip'
],
port
=
self
.
options
[
'httpd-port'
],
error_log
=
os
.
path
.
join
(
self
.
options
[
'httpd-log-directory'
],
'httpd-error.log'
),
access_log
=
os
.
path
.
join
(
self
.
options
[
'httpd-log-directory'
],
'httpd-access.log'
),
certificate
=
self
.
options
[
'httpd-cert-file'
],
key
=
self
.
options
[
'httpd-key-file'
],
testnode_log_directory
=
self
.
options
[
'log-directory'
],
)
config_file
=
self
.
createFile
(
self
.
options
[
'httpd-conf-file'
],
self
.
substituteTemplate
(
self
.
getTemplateFilename
(
'httpd.conf.in'
),
apache_config
)
)
self
.
path_list
.
append
(
config_file
)
wrapper
=
self
.
createPythonScript
(
self
.
options
[
'httpd-wrapper'
],
'slapos.recipe.librecipe.execute.execute'
,
[
self
.
options
[
'apache-binary'
],
'-f'
,
config_file
,
'-DFOREGROUND'
])
self
.
path_list
.
append
(
wrapper
)
# create empty html page to not allow listing of /
page
=
open
(
os
.
path
.
join
(
self
.
options
[
'log-directory'
],
"index.html"
),
"w"
)
page
.
write
(
"<html/>"
)
page
.
close
()
\ No newline at end of file
slapos/recipe/erp5testnode/template/erp5testnode.cfg.in
View file @
e6885195
[testnode]
[testnode]
slapos_directory = %(slapos_directory)s
slapos_directory = %(slapos_directory)s
working_directory = %(
slapos
_directory)s
working_directory = %(
working
_directory)s
test_suite_directory = %(test_suite_directory)s
test_suite_directory = %(test_suite_directory)s
log_directory = %(log_directory)s
log_directory = %(log_directory)s
run_directory = %(run_directory)s
run_directory = %(run_directory)s
proxy_host = %(proxy_host)s
proxy_host = %(proxy_host)s
proxy_port = %(proxy_port)s
proxy_port = %(proxy_port)s
test_suite_title = %(test_suite_title)s
test_suite = %(test_suite)s
node_quantity = %(node_quantity)s
node_quantity = %(node_quantity)s
test_node_title = %(test_node_title)s
test_node_title = %(test_node_title)s
project_title= %(project_title)s
ipv4_address = %(ipv4_address)s
ipv4_address = %(ipv4_address)s
ipv6_address = %(ipv6_address)s
ipv6_address = %(ipv6_address)s
test_suite_master_url = %(test_suite_master_url)s
test_suite_master_url = %(test_suite_master_url)s
bt5_path = %(bt5_path)s
httpd_ip = %(httpd_ip)s
httpd_port = %(httpd_port)s
# Binaries
# Binaries
git_binary = %(git_binary)s
git_binary = %(git_binary)s
...
@@ -26,6 +24,6 @@ zip_binary = %(zip_binary)s
...
@@ -26,6 +24,6 @@ zip_binary = %(zip_binary)s
[environment]
[environment]
PATH = %(PATH)s
PATH = %(PATH)s
%(
instance_dic
t)s
%(
software_path_lis
t)s
%(
repository_lis
t)s
%(
instance_dic
t)s
slapos/recipe/erp5testnode/template/httpd.conf.in
0 → 100644
View file @
e6885195
# Apache static configuration
# Automatically generated
# Basic server configuration
PidFile "%(pid_file)s"
Listen [%(ip)s]:%(port)s
ServerAdmin someone@email
DefaultType text/plain
TypesConfig conf/mime.types
AddType application/x-compress .Z
AddType application/x-gzip .gz .tgz
# Log configuration
ErrorLog "%(error_log)s"
LogLevel warn
LogFormat "%%h %%{REMOTE_USER}i %%l %%u %%t \"%%r\" %%>s %%b \"%%{Referer}i\" \"%%{User-Agent}i\"" combined
LogFormat "%%h %%{REMOTE_USER}i %%l %%u %%t \"%%r\" %%>s %%b" common
CustomLog "%(access_log)s" common
# Allow cross site scripting
Header set Access-Control-Allow-Origin "*"
# List of modules
LoadModule unixd_module modules/mod_unixd.so
LoadModule access_compat_module modules/mod_access_compat.so
LoadModule authz_core_module modules/mod_authz_core.so
LoadModule authz_host_module modules/mod_authz_host.so
LoadModule log_config_module modules/mod_log_config.so
LoadModule setenvif_module modules/mod_setenvif.so
LoadModule version_module modules/mod_version.so
LoadModule proxy_module modules/mod_proxy.so
LoadModule proxy_http_module modules/mod_proxy_http.so
LoadModule mime_module modules/mod_mime.so
LoadModule negotiation_module modules/mod_negotiation.so
LoadModule rewrite_module modules/mod_rewrite.so
LoadModule headers_module modules/mod_headers.so
LoadModule dir_module modules/mod_dir.so
LoadModule alias_module modules/mod_alias.so
LoadModule ssl_module modules/mod_ssl.so
LoadModule autoindex_module modules/mod_autoindex.so
# SSL Configuration
SSLEngine on
SSLCertificateFile %(certificate)s
SSLCertificateKeyFile %(key)s
SSLRandomSeed startup builtin
SSLRandomSeed connect builtin
SSLProtocol -ALL +SSLv3 +TLSv1
SSLHonorCipherOrder On
SSLCipherSuite RC4-SHA:HIGH:!ADH
SSLProxyEngine On
DocumentRoot "%(testnode_log_directory)s"
# Directory protection
<Directory />
Options Indexes FollowSymLinks
IndexOptions FancyIndexing
order allow,deny
Allow from All
</Directory>
\ No newline at end of file
software/erp5testnode/instance-default.cfg
View file @
e6885195
...
@@ -11,6 +11,7 @@ parts =
...
@@ -11,6 +11,7 @@ parts =
shellinabox
shellinabox
certificate-authority
certificate-authority
ca-shellinabox
ca-shellinabox
ca-httpd
[connection-dict]
[connection-dict]
recipe = slapos.cookbook:publish
recipe = slapos.cookbook:publish
...
@@ -31,31 +32,39 @@ proxy-host = $${slap-network-information:global-ipv6}
...
@@ -31,31 +32,39 @@ proxy-host = $${slap-network-information:global-ipv6}
proxy-port = 5000
proxy-port = 5000
log-directory = $${directory:log}
log-directory = $${directory:log}
run-directory = $${directory:run}
run-directory = $${directory:run}
test-suite-title = $${slap-parameter:test-suite-title}
test-node-title = $${slap-parameter:test-node-title}
test-node-title = $${slap-parameter:test-node-title}
test-suite = $${slap-parameter:test-suite}
node-quantity = $${slap-parameter:node-quantity}
node-quantity = $${slap-parameter:node-quantity}
project-title = $${slap-parameter:project-title}
ipv4-address = $${slap-network-information:local-ipv4}
ipv4-address = $${slap-network-information:local-ipv4}
ipv6-address = $${slap-network-information:global-ipv6}
ipv6-address = $${slap-network-information:global-ipv6}
test-suite-master-url = $${slap-parameter:test-suite-master-url}
test-suite-master-url = $${slap-parameter:test-suite-master-url}
bt5-path = $${slap-parameter:additional-bt5-repository-id}
instance-dict = $${slap-parameter:instance-dict}
instance-dict = $${slap-parameter:instance-dict}
repository-list = $${slap-parameter:vcs-repository-list}
software-path-list = $${slap-parameter:software-path-list}
git-binary = ${git:location}/bin/git
git-binary = ${git:location}/bin/git
slapgrid-partition-binary = ${buildout:bin-directory}/slapgrid-cp
slapgrid-partition-binary = ${buildout:bin-directory}/slapgrid-cp
slapgrid-software-binary = ${buildout:bin-directory}/slapgrid-sr
slapgrid-software-binary = ${buildout:bin-directory}/slapgrid-sr
slapproxy-binary = ${buildout:bin-directory}/slapproxy
slapproxy-binary = ${buildout:bin-directory}/slapproxy
svn-binary = ${subversion:location}/bin/svn
svnversion-binary = ${subversion:location}/bin/svnversion
testnode = ${buildout:bin-directory}/testnode
testnode = ${buildout:bin-directory}/testnode
zip-binary = ${zip:location}/bin/zip
zip-binary = ${zip:location}/bin/zip
httpd-pid-file = $${basedirectory:run}/httpd.pid
httpd-lock-file = $${basedirectory:run}/httpd.lock
httpd-conf-file = $${rootdirectory:etc}/httpd.conf
httpd-wrapper = $${rootdirectory:bin}/httpd
httpd-port = 9080
httpd-ip = $${slap-network-information:global-ipv6}
httpd-log-directory = $${basedirectory:log}
httpd-cert-file = $${rootdirectory:etc}/httpd-public.crt
httpd-key-file = $${rootdirectory:etc}/httpd-private.key
configuration-file = $${rootdirectory:etc}/erp5testnode.cfg
configuration-file = $${rootdirectory:etc}/erp5testnode.cfg
log-file = $${basedirectory:log}/erp5testnode.log
log-file = $${basedirectory:log}/erp5testnode.log
wrapper = $${basedirectory:services}/erp5testnode
wrapper = $${basedirectory:services}/erp5testnode
# Binaries
apache-binary = ${apache:location}/bin/httpd
apache-modules-dir = ${apache:location}/modules
apache-mime-file = ${apache:location}/conf/mime.types
apache-htpasswd = ${apache:location}/bin/htpasswd
[shell]
[shell]
recipe = slapos.cookbook:shell
recipe = slapos.cookbook:shell
wrapper = $${rootdirectory:bin}/sh
wrapper = $${rootdirectory:bin}/sh
...
@@ -66,8 +75,6 @@ path =
...
@@ -66,8 +75,6 @@ path =
${busybox:location}/bin/
${busybox:location}/bin/
${busybox:location}/usr/bin/
${busybox:location}/usr/bin/
${git:location}/bin/
${git:location}/bin/
${subversion:location}/bin/
${perl:location}/bin/
${python2.7:location}/bin/
${python2.7:location}/bin/
${buildout:bin-directory}/
${buildout:bin-directory}/
${busybox:location}/sbin/
${busybox:location}/sbin/
...
@@ -114,35 +121,41 @@ wrapper = $${basedirectory:services}/shellinaboxd
...
@@ -114,35 +121,41 @@ wrapper = $${basedirectory:services}/shellinaboxd
key-file = $${shellinabox:key-file}
key-file = $${shellinabox:key-file}
cert-file = $${shellinabox:cert-file}
cert-file = $${shellinabox:cert-file}
[ca-httpd]
<= certificate-authority
recipe = slapos.cookbook:certificate_authority.request
executable = $${testnode:httpd-wrapper}
wrapper = $${basedirectory:services}/httpd
key-file = $${testnode:httpd-key-file}
cert-file = $${testnode:httpd-cert-file}
[rootdirectory]
[rootdirectory]
recipe = slapos.cookbook:mkdirectory
recipe = slapos.cookbook:mkdirectory
etc = $${buildout:directory}/etc
/
etc = $${buildout:directory}/etc
var = $${buildout:directory}/var
/
var = $${buildout:directory}/var
srv = $${buildout:directory}/srv
/
srv = $${buildout:directory}/srv
bin = $${buildout:directory}/bin
/
bin = $${buildout:directory}/bin
tmp = $${buildout:directory}/tmp
/
tmp = $${buildout:directory}/tmp
[basedirectory]
[basedirectory]
recipe = slapos.cookbook:mkdirectory
recipe = slapos.cookbook:mkdirectory
log = $${rootdirectory:var}/log
/
log = $${rootdirectory:var}/log
services = $${rootdirectory:etc}/run
/
services = $${rootdirectory:etc}/run
run = $${rootdirectory:var}/run
/
run = $${rootdirectory:var}/run
promises = $${rootdirectory:etc}/promise
/
promises = $${rootdirectory:etc}/promise
[directory]
[directory]
recipe = slapos.cookbook:mkdirectory
recipe = slapos.cookbook:mkdirectory
slapos = $${rootdirectory:srv}/slapos
/
slapos = $${rootdirectory:srv}/slapos
testnode = $${rootdirectory:srv}/testnode
/
testnode = $${rootdirectory:srv}/testnode
test-suite = $${rootdirectory:srv}/test_suite
/
test-suite = $${rootdirectory:srv}/test_suite
log = $${basedirectory:log}/testnode
/
log = $${basedirectory:log}/testnode
run = $${basedirectory:run}/testnode
/
run = $${basedirectory:run}/testnode
shellinabox = $${rootdirectory:srv}/shellinabox
/
shellinabox = $${rootdirectory:srv}/shellinabox
ca-dir = $${rootdirectory:srv}/ca
/
ca-dir = $${rootdirectory:srv}/ca
[slap-parameter]
[slap-parameter]
node-quantity = 1
node-quantity = 1
test-suite-master-url =
test-suite-master-url =
additional-bt5-repository-id =
instance-dict =
instance-dict =
vcs-repository-list = []
software-path-list = ["http://git.erp5.org/gitweb/slapos.git/blob_plain/refs/heads/erp5testnode:/software/seleniumrunner/software.cfg"]
test-suite-title = $${:test-suite}
software/erp5testnode/software.cfg
View file @
e6885195
[buildout]
[buildout]
find-links = http://www.nexedi.org/static/packages/source/slapos.buildout/
find-links += http://dist.repoze.org
http://dist.repoze.org
http://www.nexedi.org/static/packages/source/
http://www.nexedi.org/static/packages/source/
# Separate from site eggs
allowed-eggs-from-site-packages =
include-site-packages = false
exec-sitecustomize = false
versions = versions
extends =
extends =
../../stack/s
hacache-client
.cfg
../../stack/s
lapos
.cfg
../../component/python-2.7/buildout.cfg
../../component/python-2.7/buildout.cfg
../../component/subversion/buildout.cfg
../../component/git/buildout.cfg
../../component/git/buildout.cfg
../../component/lxml-python/buildout.cfg
../../component/lxml-python/buildout.cfg
../../component/zip/buildout.cfg
../../component/zip/buildout.cfg
../../component/busybox/buildout.cfg
../../component/busybox/buildout.cfg
../../component/shellinabox/buildout.cfg
../../component/shellinabox/buildout.cfg
../../component/pwgen/buildout.cfg
../../component/apache/buildout.cfg
# Local development
# Local development
develop =
develop =
${:parts-directory}/slapos.cookbook-repository
${:parts-directory}/slapos.cookbook-repository
parts =
parts =
# Local development
# Local development
slapos-cookbook
slapos.cookbook-repository
slapos.cookbook-repository
check-recipe
check-recipe
template
template
lxml-python
lxml-python
eggs
eggs
subversion
zip
zip
git
git
apache
# Use only quite well working sites.
allow-hosts =
*.nexedi.org
*.python.org
*.sourceforge.net
dist.repoze.org
effbot.org
github.com
peak.telecommunity.com
psutil.googlecode.com
www.dabeaz.com
launchpad.net
# XXX: Workaround of SlapOS limitation
# Unzippig of eggs is required, as SlapOS do not yet provide nicely working
# development / fast switching environment for whole software
unzip = true
# Local development
# Local development
[slapos.cookbook-repository]
[slapos.cookbook-repository]
recipe = plone.recipe.command
recipe = plone.recipe.command
stop-on-error = true
stop-on-error = true
location = ${buildout:parts-directory}/${:_buildout_section_name_}
location = ${buildout:parts-directory}/${:_buildout_section_name_}
command = "${git:location}/bin/git" clone --quiet http://git.erp5.org/repos/slapos.git "${:location}"
command = "${git:location}/bin/git" clone --
branch erp5testnode --
quiet http://git.erp5.org/repos/slapos.git "${:location}"
update-command = cd "${:location}" && "${git:location}/bin/git" fetch --quiet && "${git:location}/bin/git" reset --hard @{upstream}
update-command = cd "${:location}" && "${git:location}/bin/git" fetch --quiet && "${git:location}/bin/git" reset --hard @{upstream}
[check-recipe]
[check-recipe]
...
@@ -76,8 +51,10 @@ eggs =
...
@@ -76,8 +51,10 @@ eggs =
slapos.libnetworkcache
slapos.libnetworkcache
slapos.core
slapos.core
inotifyx
inotifyx
slapos.cookbook
erp5.util
erp5.util[testnode]
PyXML
[testnode]
scripts =
scripts =
testnode = erp5.util.testnode:main
testnode = erp5.util.testnode:main
...
@@ -102,7 +79,7 @@ recipe = slapos.recipe.template
...
@@ -102,7 +79,7 @@ recipe = slapos.recipe.template
url = ${:_profile_base_location_}/instance-default.cfg
url = ${:_profile_base_location_}/instance-default.cfg
output = ${buildout:directory}/template-default.cfg
output = ${buildout:directory}/template-default.cfg
mode = 0644
mode = 0644
md5sum =
2349e62d4fa46fc88e05d855f49b7c38
md5sum =
9bb380748d5f6618ffa480e6d660217c
[networkcache]
[networkcache]
# signature certificates of the following uploaders.
# signature certificates of the following uploaders.
...
@@ -207,60 +184,73 @@ signature-certificate-list =
...
@@ -207,60 +184,73 @@ signature-certificate-list =
-----END CERTIFICATE-----
-----END CERTIFICATE-----
[versions]
[versions]
#
Use SlapOS patched zc.buildout
#
use newest version of pytz
zc.buildout = 1.6.0-dev-SlapOS-003
pytz =
Jinja2 = 2.6
# pin version of setuptools
Werkzeug = 0.8.2
setuptools = 2.2
erp5.util = 0.4.1
hexagonit.recipe.cmmi = 1.5.0
Jinja2 = 2.7.2
lxml = 2.3.2
MarkupSafe = 0.18
meld3 = 0.6.7
PyXML = 0.8.5
slapos.cookbook = 0.38
Pygments = 1.6
slapos.core = 0.21
Werkzeug = 0.9.4
slapos.libnetworkcache = 0.11
buildout-versions = 1.7
slapos.recipe.template = 2.2
cmd2 = 0.6.7
erp5.util = 0.4.36
inotifyx = 0.2.0-1
itsdangerous = 0.23
lxml = 3.3.0
meld3 = 0.6.10
netaddr = 0.7.10
plone.recipe.command = 1.1
psutil = 1.2.1
pyOpenSSL = 0.13.1
pyparsing = 2.0.1
pytz = 2013.9
slapos.core = 1.0.2.1
slapos.libnetworkcache = 0.13.4
slapos.recipe.build = 0.12
slapos.recipe.cmmi = 0.2
slapos.recipe.template = 2.5
xml-marshaller = 0.9.7
# Required by:
# Required by:
# slapos.core==
0.2
1
# slapos.core==
1.0.2.
1
Flask = 0.
8
Flask = 0.
10.1
# Required by:
# Required by:
# slapos.co
okbook==0.38
# slapos.co
re==1.0.2.1
PyXML = 0.8.5
bpython = 0.12
# Required by:
# Required by:
#
hexagonit.recipe.cmmi==1.5.0
#
slapos.core==1.0.2.1
hexagonit.recipe.download = 1.6nxd00
2
cliff = 1.5.
2
# Required by:
# Required by:
# slapos.co
okbook==0.38
# slapos.co
re==1.0.2.1
netaddr = 0.7.6
ipython = 1.2.0
# Required by:
# Required by:
# slapos.core==
0.2
1
# slapos.core==
1.0.2.
1
netifaces = 0.
6
netifaces = 0.
8-1
# Required by:
# Required by:
# erp5.util==0.3
# slapos.core==1.0.2.1
# slapos.cookbook==0.38
requests = 2.2.1
# slapos.core==0.21
# slapos.libnetworkcache==0.11
# zc.buildout==1.6.0-dev-SlapOS-003
setuptools = 0.6c12dev-r88846
# Required by:
# Required by:
#
slapos.core==0.21
#
cliff==1.5.2
s
upervisor = 3.0a1
2
s
ix = 1.5.
2
# Required by:
# Required by:
#
slapos.cookbook==0.38
#
cliff==1.5.2
xml-marshaller = 0.9.7
stevedore = 0.14.1
# Required by:
# Required by:
# slapos.co
okbook==0.38
# slapos.co
re==1.0.2.1
zc.recipe.egg = 1.3.2
supervisor = 3.0
# Required by:
# Required by:
# slapos.core==
0.2
1
# slapos.core==
1.0.2.
1
zope.interface =
3.8
.0
zope.interface =
4.1
.0
software/seleniumrunner/software.cfg
View file @
e6885195
...
@@ -8,15 +8,12 @@ extends =
...
@@ -8,15 +8,12 @@ extends =
../../component/firefox/buildout.cfg
../../component/firefox/buildout.cfg
../../component/dash/buildout.cfg
../../component/dash/buildout.cfg
../../stack/shacache-client.cfg
../../stack/shacache-client.cfg
../../stack/slapos.cfg
# develop += /opt/slapdev
# develop += /opt/slapdev
versions = versions
find-links +=
http://www.nexedi.org/static/packages/source/slapos.buildout/
parts =
parts =
slapos-cookbook
template
template
eggs
eggs
instance-recipe-egg
instance-recipe-egg
...
@@ -24,8 +21,6 @@ parts =
...
@@ -24,8 +21,6 @@ parts =
firefox
firefox
xwd
xwd
versions = versions
unzip = true
unzip = true
[instance-recipe]
[instance-recipe]
...
@@ -79,10 +74,6 @@ Flask = 0.8
...
@@ -79,10 +74,6 @@ Flask = 0.8
# slapos.cookbook==0.42
# slapos.cookbook==0.42
PyXML = 0.8.4
PyXML = 0.8.4
# Required by:
# hexagonit.recipe.cmmi==1.5.0
hexagonit.recipe.download = 1.6nxd002
# Required by:
# Required by:
# slapos.cookbook==0.42
# slapos.cookbook==0.42
inotifyx = 0.2.0
inotifyx = 0.2.0
...
@@ -131,6 +122,13 @@ zope.interface = 3.8.0
...
@@ -131,6 +122,13 @@ zope.interface = 3.8.0
[networkcache]
[networkcache]
# signature certificates of the following uploaders.
# signature certificates of the following uploaders.
# Romain Courteaud
# Romain Courteaud
# Sebastien Robin
# Kazuhiko Shiozaki
# Cedric de Saint Martin
# Yingjie Xu
# Gabriel Monnerat
# Łukasz Nowak
# Test Agent (Automatic update from tests)
signature-certificate-list =
signature-certificate-list =
-----BEGIN CERTIFICATE-----
-----BEGIN CERTIFICATE-----
MIIB4DCCAUkCADANBgkqhkiG9w0BAQsFADA5MQswCQYDVQQGEwJGUjEZMBcGA1UE
MIIB4DCCAUkCADANBgkqhkiG9w0BAQsFADA5MQswCQYDVQQGEwJGUjEZMBcGA1UE
...
@@ -145,3 +143,94 @@ signature-certificate-list =
...
@@ -145,3 +143,94 @@ signature-certificate-list =
q7jdfWO18Zp/BG7tagz0jmmC4y/8akzHsVlruo2+2du2freE8dK746uoMlXlP93g
q7jdfWO18Zp/BG7tagz0jmmC4y/8akzHsVlruo2+2du2freE8dK746uoMlXlP93g
QUUGLQ==
QUUGLQ==
-----END CERTIFICATE-----
-----END CERTIFICATE-----
-----BEGIN CERTIFICATE-----
MIIB8jCCAVugA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NRQ2XPHAo+29TT70=
-----END CERTIFICATE-----
-----BEGIN CERTIFICATE-----
MIIB9jCCAV+gAwIBAgIJAKRvzcy7OH0UMA0GCSqGSIb3DQEBBQUAMBMxETAPBgNV
BAMMCENPTVAtNzcyMCAXDTEyMDgxMDE1NDI1MVoYDzIxMTIwNzE3MTU0MjUxWjAT
MREwDwYDVQQDDAhDT01QLTc3MjCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEA
o7aipd6MbnuGDeR1UJUjuMLQUariAyQ2l2ZDS6TfOwjHiPw/mhzkielgk73kqN7A
sUREx41eTcYCXzTq3WP3xCLE4LxLg1eIhd4nwNHj8H18xR9aP0AGjo4UFl5BOMa1
mwoyBt3VtfGtUmb8whpeJgHhqrPPxLoON+i6fIbXDaUCAwEAAaNQME4wHQYDVR0O
BBYEFEfjy3OopT2lOksKmKBNHTJE2hFlMB8GA1UdIwQYMBaAFEfjy3OopT2lOksK
mKBNHTJE2hFlMAwGA1UdEwQFMAMBAf8wDQYJKoZIhvcNAQEFBQADgYEAaNRx6YN2
M/p3R8/xS6zvH1EqJ3FFD7XeAQ52WuQnKSREzuw0dsw12ClxjcHiQEFioyTiTtjs
5pW18Ry5Ie7iFK4cQMerZwWPxBodEbAteYlRsI6kePV7Gf735Y1RpuN8qZ2sYL6e
x2IMeSwJ82BpdEI5niXxB+iT0HxhmR+XaMI=
-----END CERTIFICATE-----
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment