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
cdfd90c8
Commit
cdfd90c8
authored
Mar 28, 2017
by
Łukasz Nowak
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make the profile control the output
parent
4d1f5cf6
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
4 deletions
+4
-4
software/cdn-test/in-vm-test
software/cdn-test/in-vm-test
+1
-1
software/cdn-test/instance-cdn-test.cfg.jinja2
software/cdn-test/instance-cdn-test.cfg.jinja2
+1
-1
software/cdn-test/software.cfg
software/cdn-test/software.cfg
+2
-2
No files found.
software/cdn-test/in-vm-test
View file @
cdfd90c8
...
@@ -83,5 +83,5 @@ done
...
@@ -83,5 +83,5 @@ done
echo
"
$0
: Try
$try
. Uploading log and exiting with
$result
."
>>
$LOG_FILE
2>&1
echo
"
$0
: Try
$try
. Uploading log and exiting with
$result
."
>>
$LOG_FILE
2>&1
t
=
`
date
'+%Y%m%d%H%S'
`
t
=
`
date
'+%Y%m%d%H%S'
`
mv
$LOG_FILE
${
LOG_FILE
}
.
$t
mv
$LOG_FILE
${
LOG_FILE
}
.
$t
curl
-q
-X
POST
--data-urlencode
"path=
test-script-result/
log-file.log.
$t
"
--data-urlencode
"content@
${
LOG_FILE
}
.
$t
"
$POSTURL
curl
-q
-X
POST
--data-urlencode
"path=log-file.log.
$t
"
--data-urlencode
"content@
${
LOG_FILE
}
.
$t
"
$POSTURL
exit
$result
exit
$result
software/cdn-test/instance-cdn-test.cfg.jinja2
View file @
cdfd90c8
...
@@ -30,7 +30,7 @@ config-bootstrap-script-url = {{ in_vm_test_script }}#{{ in_vm_test_script_md5 }
...
@@ -30,7 +30,7 @@ config-bootstrap-script-url = {{ in_vm_test_script }}#{{ in_vm_test_script_md5 }
# Script configuration
# Script configuration
config-data-to-vm =
config-data-to-vm =
SCRIPTURL=TODO
SCRIPTURL=TODO
POSTURL=http://[${httpd:host}]:${httpd:port}/
POSTURL=http://[${httpd:host}]:${httpd:port}/
test-result/
WAITTIME=3600
WAITTIME=3600
TRIES=10
TRIES=10
...
...
software/cdn-test/software.cfg
View file @
cdfd90c8
...
@@ -12,7 +12,7 @@ recipe = slapos.recipe.download
...
@@ -12,7 +12,7 @@ recipe = slapos.recipe.download
ignore-existing = true
ignore-existing = true
filename = in-vm-test
filename = in-vm-test
url = ${:_profile_base_location_}/${:filename}
url = ${:_profile_base_location_}/${:filename}
md5sum =
67368520461951f3771a16ddf5b18353
md5sum =
f8086c4d70af5afe0b3d1c00ea3ef437
mode = 0644
mode = 0644
download-only = true
download-only = true
on-update = true
on-update = true
...
@@ -28,7 +28,7 @@ mode = 0644
...
@@ -28,7 +28,7 @@ mode = 0644
recipe = hexagonit.recipe.download
recipe = hexagonit.recipe.download
ignore-existing = true
ignore-existing = true
url = ${:_profile_base_location_}/instance-cdn-test.cfg.jinja2
url = ${:_profile_base_location_}/instance-cdn-test.cfg.jinja2
md5sum =
9bc21a36320d594ad571ec059f2fc23a
md5sum =
76606fac7f2b931de050c4dbe1853227
mode = 0644
mode = 0644
download-only = true
download-only = true
on-update = 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