Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
slapos-caddy
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
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Guillaume Hervier
slapos-caddy
Commits
532530a7
Commit
532530a7
authored
Mar 28, 2017
by
Łukasz Nowak
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Support script-to-test-url
parent
df49c7f6
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
2 deletions
+8
-2
software/cdn-test/instance-cdn-test.cfg.jinja2
software/cdn-test/instance-cdn-test.cfg.jinja2
+2
-1
software/cdn-test/instance-input-schema.json
software/cdn-test/instance-input-schema.json
+5
-0
software/cdn-test/software.cfg
software/cdn-test/software.cfg
+1
-1
No files found.
software/cdn-test/instance-cdn-test.cfg.jinja2
View file @
532530a7
{% set script_url = slapparameter_dict.get('script-to-test-url') -%}
[buildout]
eggs-directory = {{ eggs_directory }}
...
...
@@ -29,7 +30,7 @@ config-bootstrap-script-url = {{ in_vm_test_script }}#{{ in_vm_test_script_md5 }
# Script configuration
config-data-to-vm =
SCRIPTURL=
TODO
SCRIPTURL=
{{ script_url }}
POSTURL=http://[${httpd:host}]:${httpd:port}/test-result/
WAITTIME=3600
TRIES=10
...
...
software/cdn-test/instance-input-schema.json
View file @
532530a7
...
...
@@ -13,6 +13,11 @@
"title"
:
"MD5 checksum of Image To Test."
,
"description"
:
"MD5 checksum of QCOW2 vm-bootstrap compatible image."
,
"type"
:
"string"
},
"script-to-test-url"
:
{
"title"
:
"Optional URL of script to test."
,
"description"
:
"Optional URL of script to test, which will be injected into the VM."
,
"type"
:
"string"
}
},
"required"
:
[
"image-to-test-url"
,
"image-to-test-md5sum"
]
...
...
software/cdn-test/software.cfg
View file @
532530a7
...
...
@@ -36,7 +36,7 @@ mode = 0644
recipe = hexagonit.recipe.download
ignore-existing = true
url = ${:_profile_base_location_}/instance-cdn-test.cfg.jinja2
md5sum =
77766870194db4d31c8361d2f6ad196e
md5sum =
641a64d3061ada9fe1f21a76c2302ea8
mode = 0644
download-only = true
on-update = true
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