Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
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
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kirill Smelkov
slapos
Commits
73065d6d
Commit
73065d6d
authored
Sep 29, 2020
by
Kirill Smelkov
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/master' into t
parents
7fb00f38
3b14e028
Changes
10
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
237 additions
and
42 deletions
+237
-42
component/caddy/buildout.cfg
component/caddy/buildout.cfg
+9
-21
component/caddy/gowork.cfg
component/caddy/gowork.cfg
+12
-0
component/openssl/buildout.cfg
component/openssl/buildout.cfg
+1
-0
software/caddy-frontend/test/test.py
software/caddy-frontend/test/test.py
+9
-0
software/caddy-frontend/test/test_data/test.TestSlaveHostHaproxyClash.test_file_list_plugin-CADDY.txt
...TestSlaveHostHaproxyClash.test_file_list_plugin-CADDY.txt
+2
-0
software/slapos-master/test/test/test_erp5.py
software/slapos-master/test/test/test_erp5.py
+198
-19
software/slapos-sr-testing/buildout.hash.cfg
software/slapos-sr-testing/buildout.hash.cfg
+1
-1
software/slapos-sr-testing/instance.cfg
software/slapos-sr-testing/instance.cfg
+1
-1
software/slapos-sr-testing/software.cfg
software/slapos-sr-testing/software.cfg
+2
-0
stack/erp5/buildout.cfg
stack/erp5/buildout.cfg
+2
-0
No files found.
component/caddy/buildout.cfg
View file @
73065d6d
[buildout]
[buildout]
extends =
extends =
../../component/golang/buildout.cfg
../../component/golang/buildout.cfg
gowork.cfg
parts =
parts =
gowork
caddy
caddy
[gowork.goinstall]
command = bash -c ". ${gowork:env.sh} && cd ${go_github.com_caddyserver_caddy:location} && GO111MODULE=on go install -v $(echo -n '${gowork:install}' |tr '\n' ' ')"
[gowork]
[gowork]
# Caddy 1.x+ uses go modules, for which gowork does not work yet
golang = ${golang1.12:location}
golang = ${golang1.14:location}
install =
install =
github.com/caddyserver/caddy/...
[gowork.goinstall]
command = :
depends =
${caddy:recipe}
[caddy]
[caddy]
# revision and repository can be used to control which caddy version is used
recipe = plone.recipe.command
revision = v1.0.3
command = exit 0
repository = github.com/caddyserver/caddy/caddy
recipe = plone.recipe.command
update-command = ${:command}
update-command = ${:command}
stop-on-error = True
# GO111MODULE=on enables go modules support
# the chmod is needed as modules are fetched with u-w
command =
. ${gowork:env.sh} &&
cd ${gowork:directory} &&
export GO111MODULE=on &&
go get ${:repository}@${:revision} &&
chmod -R u+w .
output = ${gowork:bin}/caddy
output = ${gowork:bin}/caddy
location = ${:output}
location = ${:output}
component/caddy/gowork.cfg
0 → 100644
View file @
73065d6d
# Code generated by gowork-snapshot; DO NOT EDIT.
# list of go git repositories to fetch
[gowork.goinstall]
depends_gitfetch =
${go_github.com_caddyserver_caddy:recipe}
[go_github.com_caddyserver_caddy]
<= go-git-package
go.importpath = github.com/caddyserver/caddy
repository = https://lab.nexedi.com/nexedi/caddy.git
revision = nxd-v1.0.3-1-g2c11cedc
component/openssl/buildout.cfg
View file @
73065d6d
...
@@ -53,6 +53,7 @@ stop-on-error = true
...
@@ -53,6 +53,7 @@ stop-on-error = true
update-command = ${:command}
update-command = ${:command}
command = ${coreutils-output:test} -x ${:openssl}
command = ${coreutils-output:test} -x ${:openssl}
openssl = ${openssl:location}/bin/openssl
openssl = ${openssl:location}/bin/openssl
bin = ${openssl:location}
[openssl-1.0]
[openssl-1.0]
recipe = slapos.recipe.cmmi
recipe = slapos.recipe.cmmi
...
...
software/caddy-frontend/test/test.py
View file @
73065d6d
...
@@ -1682,6 +1682,15 @@ class TestSlave(SlaveHttpFrontendTestCase, TestDataMixin):
...
@@ -1682,6 +1682,15 @@ class TestSlave(SlaveHttpFrontendTestCase, TestDataMixin):
proto
proto
)
)
def
test_telemetry_disabled
(
self
):
# here we trust that telemetry not present in error log means it was
# really disabled
error_log_file
=
glob
.
glob
(
os
.
path
.
join
(
self
.
instance_path
,
'*'
,
'var'
,
'log'
,
'frontend-error.log'
))[
0
]
with
open
(
error_log_file
)
as
fh
:
self
.
assertNotIn
(
'Sending telemetry'
,
fh
.
read
(),
'Telemetry enabled'
)
def
test_url
(
self
):
def
test_url
(
self
):
parameter_dict
=
self
.
assertSlaveBase
(
'Url'
)
parameter_dict
=
self
.
assertSlaveBase
(
'Url'
)
...
...
software/caddy-frontend/test/test_data/test.TestSlaveHostHaproxyClash.test_file_list_plugin-CADDY.txt
View file @
73065d6d
...
@@ -18,6 +18,7 @@ T-1/etc/plugin/kedifa-http-reply.py
...
@@ -18,6 +18,7 @@ T-1/etc/plugin/kedifa-http-reply.py
T-1/etc/plugin/monitor-bootstrap-status.py
T-1/etc/plugin/monitor-bootstrap-status.py
T-1/etc/plugin/monitor-http-frontend.py
T-1/etc/plugin/monitor-http-frontend.py
T-1/etc/plugin/monitor-httpd-listening-on-tcp.py
T-1/etc/plugin/monitor-httpd-listening-on-tcp.py
T-1/etc/plugin/promise-logrotate-setup.py
T-2/etc/plugin/__init__.py
T-2/etc/plugin/__init__.py
T-2/etc/plugin/backend-client-caucase-updater.py
T-2/etc/plugin/backend-client-caucase-updater.py
T-2/etc/plugin/backend-haproxy-configuration.py
T-2/etc/plugin/backend-haproxy-configuration.py
...
@@ -35,6 +36,7 @@ T-2/etc/plugin/frontend-caddy-configuration-promise.py
...
@@ -35,6 +36,7 @@ T-2/etc/plugin/frontend-caddy-configuration-promise.py
T-2/etc/plugin/monitor-bootstrap-status.py
T-2/etc/plugin/monitor-bootstrap-status.py
T-2/etc/plugin/monitor-http-frontend.py
T-2/etc/plugin/monitor-http-frontend.py
T-2/etc/plugin/monitor-httpd-listening-on-tcp.py
T-2/etc/plugin/monitor-httpd-listening-on-tcp.py
T-2/etc/plugin/promise-logrotate-setup.py
T-2/etc/plugin/re6st-connectivity.py
T-2/etc/plugin/re6st-connectivity.py
T-2/etc/plugin/slave-introspection-configuration.py
T-2/etc/plugin/slave-introspection-configuration.py
T-2/etc/plugin/slave_introspection_https.py
T-2/etc/plugin/slave_introspection_https.py
...
...
software/slapos-master/test/test/test_erp5.py
View file @
73065d6d
This diff is collapsed.
Click to expand it.
software/slapos-sr-testing/buildout.hash.cfg
View file @
73065d6d
...
@@ -15,4 +15,4 @@
...
@@ -15,4 +15,4 @@
[template]
[template]
filename = instance.cfg
filename = instance.cfg
md5sum =
14d2f49d20670e44c2a162bcec9e0a8e
md5sum =
4246cde0a27138e057ba1635cc621edf
software/slapos-sr-testing/instance.cfg
View file @
73065d6d
...
@@ -44,7 +44,7 @@ environment =
...
@@ -44,7 +44,7 @@ environment =
SLAPOS_TEST_WORKING_DIR=${slapos-test-runner-environment:SLAPOS_TEST_WORKING_DIR}
SLAPOS_TEST_WORKING_DIR=${slapos-test-runner-environment:SLAPOS_TEST_WORKING_DIR}
[slapos-test-runner-environment]
[slapos-test-runner-environment]
PATH = {{ buildout['bin-directory'] }}:{{ curl_location }}/bin/:{{ faketime_location }}/bin/:/usr/bin/:/bin
PATH = {{ buildout['bin-directory'] }}:{{ curl_location }}/bin/:{{ faketime_location }}/bin/:
{{ openssl_location }}/bin/:
/usr/bin/:/bin
SLAPOS_TEST_IPV4 = ${slap-configuration:ipv4-random}
SLAPOS_TEST_IPV4 = ${slap-configuration:ipv4-random}
SLAPOS_TEST_IPV6 = ${slap-configuration:ipv6-random}
SLAPOS_TEST_IPV6 = ${slap-configuration:ipv6-random}
SLAPOS_TEST_WORKING_DIR = ${directory:working-dir}
SLAPOS_TEST_WORKING_DIR = ${directory:working-dir}
...
...
software/slapos-sr-testing/software.cfg
View file @
73065d6d
...
@@ -3,6 +3,7 @@
...
@@ -3,6 +3,7 @@
extends =
extends =
../../component/bcrypt/buildout.cfg
../../component/bcrypt/buildout.cfg
../../component/curl/buildout.cfg
../../component/curl/buildout.cfg
../../component/openssl/buildout.cfg
../../component/git/buildout.cfg
../../component/git/buildout.cfg
../../component/faketime/buildout.cfg
../../component/faketime/buildout.cfg
../../component/pillow/buildout.cfg
../../component/pillow/buildout.cfg
...
@@ -240,6 +241,7 @@ context =
...
@@ -240,6 +241,7 @@ context =
key slapos_location slapos-repository:location
key slapos_location slapos-repository:location
key interpreter eggs:interpreter
key interpreter eggs:interpreter
key curl_location curl:location
key curl_location curl:location
key openssl_location openssl-output:bin
key faketime_location faketime:location
key faketime_location faketime:location
key tests :tests
key tests :tests
tests =
tests =
...
...
stack/erp5/buildout.cfg
View file @
73065d6d
...
@@ -408,6 +408,7 @@ eggs = ${neoppod:eggs}
...
@@ -408,6 +408,7 @@ eggs = ${neoppod:eggs}
jsonschema
jsonschema
mechanize
mechanize
mock
mock
oauthlib
objgraph
objgraph
paramiko
paramiko
ply
ply
...
@@ -645,6 +646,7 @@ logilab-common = 1.3.0
...
@@ -645,6 +646,7 @@ logilab-common = 1.3.0
munnel = 0.3
munnel = 0.3
nt-svcutils = 2.13.0
nt-svcutils = 2.13.0
oauth2client = 4.0.0
oauth2client = 4.0.0
oauthlib = 3.1.0
objgraph = 3.1.0
objgraph = 3.1.0
ply = 3.10
ply = 3.10
polib = 1.0.8
polib = 1.0.8
...
...
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