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
Lukas Niegsch
slapos
Commits
67d76c7e
Commit
67d76c7e
authored
Dec 03, 2019
by
Bryton Lacquement
🚪
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
slapos-sr-testing: new software release to test Python 3 software releases
parent
8725ab1a
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
68 additions
and
26 deletions
+68
-26
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
+19
-22
software/slapos-sr-testing/software-py3.cfg
software/slapos-sr-testing/software-py3.cfg
+15
-0
software/slapos-sr-testing/software.cfg
software/slapos-sr-testing/software.cfg
+33
-3
No files found.
software/slapos-sr-testing/buildout.hash.cfg
View file @
67d76c7e
...
...
@@ -15,4 +15,4 @@
[template]
filename = instance.cfg
md5sum =
3ad1b06673000d9f424a1e7187c6a1fa
md5sum =
b21b2a9ac7f027a044a897c6eacbba56
software/slapos-sr-testing/instance.cfg
View file @
67d76c7e
...
...
@@ -2,44 +2,41 @@
parts =
slapos-test-runner
eggs-directory =
${buildout:eggs-directory
}
develop-eggs-directory =
${buildout:develop-eggs-directory
}
eggs-directory =
{{ buildout['eggs-directory'] }
}
develop-eggs-directory =
{{ buildout['develop-eggs-directory'] }
}
offline = true
[slap-configuration]
recipe = slapos.cookbook:slapconfiguration
computer = $
$
{slap-connection:computer-id}
partition = $
$
{slap-connection:partition-id}
url = $
$
{slap-connection:server-url}
key = $
$
{slap-connection:key-file}
cert = $
$
{slap-connection:cert-file}
computer = ${slap-connection:computer-id}
partition = ${slap-connection:partition-id}
url = ${slap-connection:server-url}
key = ${slap-connection:key-file}
cert = ${slap-connection:cert-file}
[download-source]
recipe = slapos.recipe.build:gitclone
git-executable =
${git:location
}/bin/git
git-executable =
{{ git_location }
}/bin/git
[slapos]
<= download-source
repository =
${slapos-repository:location
}
repository =
{{ slapos_location }
}
[directory]
recipe = slapos.cookbook:mkdirectory
bin = $${buildout:directory}/bin
working-dir = $${buildout:directory}/tmp
[test-list]
path_list = ${slapos.cookbook-setup:setup},${slapos.test.caddy-frontend-setup:setup},${slapos.test.erp5-setup:setup},${slapos.test.slapos-master-setup:setup},${slapos.test.kvm-setup:setup},${slapos.test.monitor-setup:setup},${slapos.test.plantuml-setup:setup},${slapos.test.powerdns-setup:setup},${slapos.test.proftpd-setup:setup},${slapos.test.re6stnet-setup:setup},${slapos.test.seleniumserver-setup:setup},${slapos.test.slaprunner-setup:setup},${slapos.test.helloworld-setup:setup},${slapos.test.jupyter-setup:setup},${slapos.test.nextcloud-setup:setup},${slapos.test.turnserver-setup:setup},${slapos.test.theia-setup:setup},${slapos.test.grafana-setup:setup},${slapos.test.gitlab-setup:setup}
bin = ${buildout:directory}/bin
working-dir = ${buildout:directory}/tmp
[slapos-test-runner]
recipe = slapos.cookbook:wrapper
wrapper-path = $
$
{directory:bin}/runTestSuite
wrapper-path = ${directory:bin}/runTestSuite
command-line =
${buildout:bin-directory
}/runTestSuite
--python_interpreter=
${buildout:bin-directory}/${eggs:interpreter
}
--source_code_path_list=
$${test-list:path_list
}
{{ buildout['bin-directory'] }
}/runTestSuite
--python_interpreter=
{{ buildout['bin-directory'] }}/{{ interpreter }
}
--source_code_path_list=
{{ ','.join(tests.splitlines()) }
}
environment =
PATH=
${buildout:bin-directory}:${quic_client-bin:location}:${curl:location
}/bin/:/usr/bin/:/bin
SLAPOS_TEST_IPV4=$
$
{slap-configuration:ipv4-random}
SLAPOS_TEST_IPV6=$
$
{slap-configuration:ipv6-random}
SLAPOS_TEST_WORKING_DIR=$
$
{directory:working-dir}
PATH=
{{ buildout['bin-directory'] }}:{{ quic_client_location }}:{{ curl_location }
}/bin/:/usr/bin/:/bin
SLAPOS_TEST_IPV4=${slap-configuration:ipv4-random}
SLAPOS_TEST_IPV6=${slap-configuration:ipv6-random}
SLAPOS_TEST_WORKING_DIR=${directory:working-dir}
software/slapos-sr-testing/software-py3.cfg
0 → 100644
View file @
67d76c7e
[buildout]
extends =
../../component/python3/buildout.cfg
software.cfg
python = python3
[eggs]
eggs -=
# plantuml is not Py3-compatible
${slapos.test.plantuml-setup:egg}
[template]
extra =
software/slapos-sr-testing/software.cfg
View file @
67d76c7e
...
...
@@ -176,10 +176,40 @@ repository = https://lab.nexedi.com/nexedi/slapos.git
branch = master
[template]
recipe = slapos.recipe.template
url
= ${:_profile_base_location_}/${:filename}
output
= ${buildout:directory}/template.cfg
recipe = slapos.recipe.template
:jinja2
template
= ${:_profile_base_location_}/${:filename}
rendered
= ${buildout:directory}/template.cfg
mode = 640
context =
section buildout buildout
key git_location git:location
key slapos_location slapos-repository:location
key interpreter eggs:interpreter
key quic_client_location quic_client-bin:location
key curl_location curl:location
key tests :tests
tests =
${slapos.test.kvm-setup:setup}
${slapos.test.slaprunner-setup:setup}
${:extra}
extra =
${slapos.cookbook-setup:setup}
${slapos.test.caddy-frontend-setup:setup}
${slapos.test.erp5-setup:setup}
${slapos.test.slapos-master-setup:setup}
${slapos.test.monitor-setup:setup}
${slapos.test.plantuml-setup:setup}
${slapos.test.powerdns-setup:setup}
${slapos.test.proftpd-setup:setup}
${slapos.test.re6stnet-setup:setup}
${slapos.test.seleniumserver-setup:setup}
${slapos.test.helloworld-setup:setup}
${slapos.test.jupyter-setup:setup}
${slapos.test.nextcloud-setup:setup}
${slapos.test.turnserver-setup:setup}
${slapos.test.theia-setup:setup}
${slapos.test.grafana-setup:setup}
${slapos.test.gitlab-setup:setup}
[versions]
# slapos.core is used from the clone always
...
...
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