dockly 2.5.1 → 2.5.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- MDA2Y2NkNzhkYzRkNDQ0MzYzY2Q1MDE3ZDBjOTVmNDczMjcyODY4OQ==
4
+ MGE4OTRkYmEzOTkwYTJlOTVhNDA4MDQxYzA3ODM3NGZlNzFmYWY1Yg==
5
5
  data.tar.gz: !binary |-
6
- MTkwMTM4MDZmZjFiNmE3ZTczNTU4MjAwYmRhZWQ5OTg4OWE1Zjc0NQ==
6
+ NGYyNTIzZmU1MmFmYzcxZTk1NzMxZGM4ZDIwNDRkZTQ5YjFiOTZhYw==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- MzkwYWFhZTc3OTM1NzAwZDYwMzlhZTFlOGNmODNkYTQ5NzQ2MmRhYTdhYWI5
10
- ZjBjZjJlM2MzYjVmNGFjMTMxOWE5YWZmODA3MzdjOWIzMGJmYzE5OWQ2OGY0
11
- ZWZmMDUwOWUxMWRmOGIxNGU3ZWUxODFlYTExOWQ0NDgzZjNiYmY=
9
+ YzRjMDZlZjlkZmNlYzJkZjI5YzJhYTZiMzhjNTU0ODUxMzMzNmIyNGE4NDFi
10
+ OWU1MjJjZGZiMTlhZTYzYzI5Y2Y0YmI2ZDNkYjk5MGU4M2MwNWI3MTdkMmRj
11
+ ODcwODE4NDU3YWRlOTZhYTc2YTRiNjhhNmQyZmYyNzI3MjA5ZDI=
12
12
  data.tar.gz: !binary |-
13
- NTZhOTQ0MWU5MzgwNTdiZDliZDUyNTQ0ZjcwNmUzNjU4NWNmZTcyYmRmMTdh
14
- NjU2NGU3OWU0Yzk5ZjAwY2YzZDExYzU4OTQzNmNlNTBlMmVhMTFhYWIwMzgx
15
- NTVmMzU2NzE0MGUzNDdlNzhkYTMwMWNmOTBmMDY0ZDdkNzJmNDY=
13
+ MWMzMGU2Zjg4NWEzMGMzNmQxZDYwNDk5NjVkMTFmNTA4ZjRiMjEyMmQxZGI2
14
+ M2QwNTg2MzdkMmQ5MGZlZWI3MDE1MjI0ZWYyODEwMThmNjhhZDc3NzIyNzNk
15
+ NTcyNzE0NDcyZmIyNjgwM2E5MjU4ZTE1MzUwMmJkZGNkYTBlMWY=
@@ -1,3 +1,3 @@
1
1
  module Dockly
2
- VERSION = '2.5.1'
2
+ VERSION = '2.5.2'
3
3
  end
@@ -38,7 +38,7 @@ remove_bad_imports() {
38
38
  log "removing bad imports"
39
39
  images=$(docker images | grep \<none | awk '{ print $3 }')
40
40
  if [[ "x$images" != "x" ]]; then
41
- docker rmi $images
41
+ docker rmi $images > >(log)
42
42
  fi
43
43
  log "bad import removed"
44
44
  }
@@ -54,8 +54,7 @@ log "fetch: successfully pulled base image"
54
54
  worked=1
55
55
  for attempt in {1..200}; do
56
56
  [[ $worked != 0 ]] || break
57
- stream_image | docker_import && worked=0 || (log "fetch: attempt $attempt failed, sleeping 30"; sleep 30)
58
- [[ $worked != 0 ]] && remove_bad_imports
57
+ stream_image | docker_import && worked=0 || (remove_bad_imports; log "fetch: attempt $attempt failed, sleeping 30"; sleep 30)
59
58
  done
60
59
  [[ $worked != 0 ]] && fatal "fetch: failed to import diff image"
61
60
  log "fetch: successfully imported diff image"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dockly
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.5.1
4
+ version: 2.5.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Swipely, Inc.