dockly 1.12.1 → 1.12.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/lib/dockly/version.rb +1 -1
- data/snippets/s3_diff_docker_import.erb +2 -3
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
ZDQ4ZjU0NTExNTliNGE5NDM0NTgzMjg1YWYyM2EzMTc3NTExYTVmOQ==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
MTlhMDhiOTRiMTAwYmJiZTZhNjMyMzdiOGE5ZWVlY2ZjNjA4YmM3MA==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
MGMwYTY4Y2E4OGE5OGJkZjFjNWQyNTk5Y2UzOWYxM2UyZTlhMzU0OTEwYTNh
|
10
|
+
ZDljZjE0ZGZlZTBmZDI5MDE0MjBhODUyNWZmZjBiMzU5YTFiYmY3ZDczMDll
|
11
|
+
ZjFkNDVkYTkwNTE1NjFkYjcyZjQ5YTdlOWI5Y2ZlMTEwNjcxZWY=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
YmQ2ZTFmODgxMzIzNzNlNzBjYzg1MGUyMTAxMDBlNDFjNDFiMjRkNjA2ODgy
|
14
|
+
MDE3YjIxMDVjYTZlODliZmZlNjVjNzJjMTUwZWVlOWYwZjM2MDlhNmYwNDQ5
|
15
|
+
M2M0ZGQwYzI1ODc0ZWNlOWY2YjRjZDJhZWQyNDczYTYzZjI2Nzk=
|
data/lib/dockly/version.rb
CHANGED
@@ -37,7 +37,7 @@ remove_bad_imports() {
|
|
37
37
|
log "removing bad imports"
|
38
38
|
images=$(docker images | grep \<none | awk '{ print $3 }')
|
39
39
|
if [[ "x$images" != "x" ]]; then
|
40
|
-
docker rmi $images
|
40
|
+
docker rmi $images > >(log)
|
41
41
|
fi
|
42
42
|
log "bad import removed"
|
43
43
|
}
|
@@ -53,8 +53,7 @@ log "fetch: successfully pulled base image"
|
|
53
53
|
worked=1
|
54
54
|
for attempt in {1..200}; do
|
55
55
|
[[ $worked != 0 ]] || break
|
56
|
-
stream_image | docker_import && worked=0 || (log "fetch: attempt $attempt failed, sleeping 30"; sleep 30)
|
57
|
-
[[ $worked != 0 ]] && remove_bad_imports
|
56
|
+
stream_image | docker_import && worked=0 || (remove_bad_imports; log "fetch: attempt $attempt failed, sleeping 30"; sleep 30)
|
58
57
|
done
|
59
58
|
[[ $worked != 0 ]] && fatal "fetch: failed to import diff image"
|
60
59
|
log "fetch: successfully imported diff image"
|