Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Łukasz Nowak
slapos.package
Commits
f8090c30
Commit
f8090c30
authored
8 years ago
by
Rafael Monnerat
👻
Browse files
Options
Download
Email Patches
Plain Diff
packer: Add a script to check if all images are present on shacache
parent
90323358
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
0 deletions
+12
-0
packer/util/testupload.sh
packer/util/testupload.sh
+5
-0
packer/util/testurl.py
packer/util/testurl.py
+7
-0
No files found.
packer/util/testupload.sh
0 → 100644
View file @
f8090c30
for
i
in
`
cat
SHA512SUM.txt |
cut
-f1
-d
\
`
;
do
python util/testurl.py http://download.shacache.org/
$i
&&
echo
OK
$i
||
echo
FAIL
$i
sleep
10
done
This diff is collapsed.
Click to expand it.
packer/util/testurl.py
0 → 100644
View file @
f8090c30
import
urllib2
import
sys
start
=
urllib2
.
urlopen
(
sys
.
argv
[
1
]).
read
(
24
)
This diff is collapsed.
Click to expand it.
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