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
Łukasz Nowak
slapos
Commits
a72f7ec5
Commit
a72f7ec5
authored
Mar 28, 2017
by
Łukasz Nowak
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Protect against empty script fail-positive result
parent
ea678876
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
1 deletion
+5
-1
software/cdn-test/in-vm-test
software/cdn-test/in-vm-test
+4
-0
software/cdn-test/software.cfg
software/cdn-test/software.cfg
+1
-1
No files found.
software/cdn-test/in-vm-test
View file @
a72f7ec5
...
@@ -57,6 +57,10 @@ fi
...
@@ -57,6 +57,10 @@ fi
DEPLOYMENT_SCRIPT
=
/tmp/test-script-deployment.bash.
$$
DEPLOYMENT_SCRIPT
=
/tmp/test-script-deployment.bash.
$$
wget
-O
$DEPLOYMENT_SCRIPT
-q
$SCRIPTURL
wget
-O
$DEPLOYMENT_SCRIPT
-q
$SCRIPTURL
if
[[
!
-s
"
$DEPLOYMENT_SCRIPT
"
]]
;
then
echo
"exit 1"
>
$DEPLOYMENT_SCRIPT
fi
try
=
1
try
=
1
while
true
;
do
while
true
;
do
echo
"
$0
: Try
$try
. Running '/bin/bash
$DEPLOYMENT_SCRIPT
'"
>>
$LOG_FILE
2>&1
echo
"
$0
: Try
$try
. Running '/bin/bash
$DEPLOYMENT_SCRIPT
'"
>>
$LOG_FILE
2>&1
...
...
software/cdn-test/software.cfg
View file @
a72f7ec5
...
@@ -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 =
20a1086d749d831692ec8e3e7e5c9184
md5sum =
67368520461951f3771a16ddf5b18353
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