docker-registry-sync 0.2.3 → 0.2.4

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
- ODRjZjU0YjQ2NmQxZGQ1MTFjYzE3ZTI3YzhiYzBkM2JlYzg1OGM0NQ==
4
+ NWUwMGMxODNmMTc2ODJhNWMyYzJhMTljNmIyOGJhOTA1NTZkYzkwZA==
5
5
  data.tar.gz: !binary |-
6
- YmY3YWFmNzNjZGI0ZjBiMWUzZjM1MDJkNDkwNjIyYzljMjU1NWE4Ng==
6
+ MGU1ZWRjYjU2N2M2YzdjYmZjMjVlMGVhY2E0YTZhNjhmN2M3NjAzOQ==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- YzIyYzBlY2IxYzJmM2NhN2IzMmI3ZTRmMDdkMGJlNWNmNDNlNjY1Y2QxYjQx
10
- ODk3Mzc4NTI2NmM3YzgzY2EwYTViMmJmZWY5NTAwNzJlZTJmN2Y2NWQ1MzNi
11
- YTljNmY2YTVjZjI0MWQ3OGEzY2MzZmM5OWM2OTVkZGEyNGNiNDQ=
9
+ ZWMxNzdmNTM2MmQzNTYwZGVmYjE0MGI2ZjU3NzZjNDNmOThkYjg0MjE1ZTc3
10
+ Mzg4YjRhMTYxM2JlZDc2NjMxMTNmODViZTg4ZGQyZmY0MjA3NDgyNjg4Mzhh
11
+ YTg0NGYwNTJlYWMzNTE4YWZmNWFkMTU1Y2ZkNjY4MTY4OTRmN2U=
12
12
  data.tar.gz: !binary |-
13
- ZWQwMWY1NWYzMzI2NzczNTlhNGZmNjAyZTAzODI3ZWE0YWFmNzY4ZGNkMTYx
14
- MzJiM2FiNjE1ODI0YWMxOTgxMTRiYzYxYTM5OTdlODI2NzM0NmI0MDcwODMz
15
- Mjg0ZDYyZmYxODgwNWFhYjk4M2I2ODNiOTNkMmVlNDgwMjcwYzg=
13
+ NDNjZTcyNjZhM2QwNTlkNGNlNzU5NWE2MDFiNGUzY2Q3OTVkZGY3ZDMwODFj
14
+ OGZjYzYwMmQxZTY4NDAyNjY2M2U1YWY4N2ZkYmE5MTlmYjA0OGIxZGFiNzBh
15
+ ZmM3ZWE3Y2NlN2I0NWE0Mjg3OWFmODkyODBhNDgwYzc3YWYwZjA=
@@ -101,7 +101,7 @@ module Docker
101
101
  keys.each do |key|
102
102
  @config.logger.info "Syncing key #{source_bucket}/#{key} to bucket #{target_bucket}"
103
103
  opts = {acl: 'bucket-owner-full-control',
104
- region: target_client.get_bucket_location(bucket: target_bucket).location_constraint,
104
+ region: target_client.config[:region],
105
105
  bucket: target_bucket,
106
106
  key: key,
107
107
  copy_source: "#{source_bucket}/#{key}"}
@@ -112,6 +112,7 @@ module Docker
112
112
  opts[:copy_source_sse_customer_algorithm] = 'AES256'
113
113
  end
114
114
  @work_queue << opts
115
+ sleep 0.1
115
116
  end
116
117
  end
117
118
 
@@ -1,7 +1,7 @@
1
1
  module Docker
2
2
  module Registry
3
3
  module Sync
4
- VERSION = '0.2.3'
4
+ VERSION = '0.2.4'
5
5
  end
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: docker-registry-sync
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.3
4
+ version: 0.2.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brian Oldfield