Commit 52353e5a authored by Łukasz Nowak's avatar Łukasz Nowak

Backup

This is first step of reusing KVM SR with own instance configuration.

This is backup commit
parent 28ebb5a7
[buildout]
eggs-directory = {{ eggs_directory }}
develop-eggs-directory = {{ develop_eggs_directory }}
offline = true
parts =
deploy-unit-test
[directory]
recipe = slapos.cookbook:mkdirectory
home = ${buildout:directory}
etc = ${:home}/etc/
var = ${:home}/var/
srv = ${:home}/srv/
bin = ${:home}/bin/
tmp = ${:home}/tmp/
log = ${:var}/log/
services = ${:etc}/service/
scripts = ${:etc}/run/
[deploy-unit-test]
recipe = collective.recipe.template
#testnode-parameters = --test-result-path={{ slapparameter_dict.get('test-result-path') }} --revision={{ slapparameter_dict.get('test-suite-revision') }} --node-title={{ slapparameter_dict.get('scalability-launcher-title') }} --test-suite={{ slapparameter_dict.get('test-suite') }} --test-suite-master-url={{ slapparameter_dict.get('test-suite-master-url') }} --log-path=${directory:log}
kvm-test-parameters = server_url=${slap-connection:server-url} key_file=${slap-connection:key-file} cert_file=${slap-connection:cert-file} computer_id=${slap-connection:computer-id} partition_id=${slap-connection:partition-id} software=${slap-connection:software-release-url} namebase=kvm root_instance_name='request-resilient-kvm'
input = inline:
#!/bin/sh
exec {{ bin_directory }}/runResiliencyUnitTestTestNode $@ ${:kvm-test-parameters}
output = ${directory:bin}/runTestSuite
mode = 755
[buildout]
extends = ${template:output}
[switch-softwaretype]
default = $${:cdn-test}
cdn-test = $${dynamic-template-cdn-test:rendered}
[dynamic-template-cdn-test]
recipe = slapos.recipe.template:jinja2
template = ${template-cdn-test-download:location}/instance-cdn-test.cfg.jinja2
rendered = $${buildout:directory}/template-cdn-test.cfg
context =
key develop_eggs_directory buildout:develop-eggs-directory
key eggs_directory buildout:eggs-directory
key slapparameter_dict slap-configuration:configuration
raw bin_directory ${buildout:bin-directory}
mode = 0644
[buildout] [buildout]
extends = ../kvm/software.cfg extends = ../kvm/software.cfg
parts =
template-cdn-test
[template]
output = ${buildout:directory}/template-original.kvm.cfg
[template-cdn-test]
recipe = slapos.recipe.template
url = ${:_profile_base_location_}/instance.cfg.in
md5sum = 13f5bc9afd895d0c8b0b218a7c5ecb4b
output = ${buildout:directory}/template.cfg
mode = 0644
[template-cdn-test-download]
recipe = hexagonit.recipe.download
ignore-existing = true
url = ${:_profile_base_location_}/instance-cdn-test.cfg.jinja2
md5sum = abf54e393a1fe58dd6dfca37c38f7464
mode = 0644
download-only = true
on-update = true
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment