brocket 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,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 104e9b27675a327e3d88a92277541339d609eaa9
4
- data.tar.gz: b32eb16cb0e0d060057ca2a11445246ba0159182
3
+ metadata.gz: 45574c9a82aa24258c16ea9c24e7e8051fd2c4d2
4
+ data.tar.gz: 3b3e78cde2ceb995c2cb2dc327cb7da82e69ec5f
5
5
  SHA512:
6
- metadata.gz: adccb48c38da1a0618d61093bd516c98d6ed3c8e1ec12c10ff0d745d05c587ab0a3d04963907a4d28704451aa4a868b92687c3319f093022e61b2eaec94e4b1e
7
- data.tar.gz: 7eb4b82a694e6dbb70708cccae379a69f58629bbfc014c49b117feecbafdb41600525a6f2fc154f2cf96bf3ae975d284fa4db31522e00536b50833c02417ff85
6
+ metadata.gz: 600e0f1139e9e24029ed84e9266909ad6b8586d65e56620f698995326e7b9c5c077e96897f7c14417bb60baa8ad9b4e5e2e6a248b945817222abf71a9bc042b3
7
+ data.tar.gz: c95693edd1100453dd4e5108d2a7966675909c2e1c497daaac3b042c103d8ab13eb4afe6fed7c59cd368a8a9a3ab1e09931dc4769a9489f1e3de30a458f22135
data/README.md CHANGED
@@ -118,7 +118,7 @@ The prefix for the version tags on git.
118
118
 
119
119
  #### DOCKER_PUSH_COMMAND
120
120
 
121
- Set `gcloud docker push` to push to [Google Cloud Registry](https://cloud.google.com/container-registry/docs/).
121
+ Set `gcloud docker -- push` to push to [Google Cloud Registry](https://cloud.google.com/container-registry/docs/).
122
122
 
123
123
  #### DOCKER_PUSH_REGISTRY
124
124
 
@@ -1,3 +1,3 @@
1
1
  module BRocket
2
- VERSION = "0.2.3"
2
+ VERSION = "0.2.4"
3
3
  end
@@ -1,6 +1,6 @@
1
1
  #
2
2
  # [config] IMAGE_NAME: "rails-example"
3
- # [config] DOCKER_PUSH_COMMAND: "gcloud docker push"
3
+ # [config] DOCKER_PUSH_COMMAND: "gcloud docker -- push"
4
4
  # [config] DOCKER_PUSH_REGISTRY: "asia.gcr.io"
5
5
  # [config] DOCKER_PUSH_USERNAME: "groovenauts"
6
6
  #
@@ -1,7 +1,7 @@
1
1
  #
2
2
  # [config] IMAGE_NAME: "rails-example"
3
3
  # [config]
4
- # [config] DOCKER_PUSH_COMMAND: "gcloud docker push"
4
+ # [config] DOCKER_PUSH_COMMAND: "gcloud docker -- push"
5
5
  # [config] DOCKER_PUSH_REGISTRY: "asia.gcr.io"
6
6
  # [config] DOCKER_PUSH_USERNAME: "groovenauts"
7
7
  # [config] DOCKER_PUSH_EXTRA_TAG: "latest"
@@ -61,7 +61,7 @@ describe BRocket::Docker do
61
61
  it do
62
62
  expected_cmd = [
63
63
  "docker tag #{original_image_name}:#{version} #{gcr_image_name}:#{version}",
64
- "gcloud docker push #{gcr_image_name}:#{version}"
64
+ "gcloud docker -- push #{gcr_image_name}:#{version}"
65
65
  ].join(' && ')
66
66
  expect(subject).to receive(:sh).with(expected_cmd)
67
67
  subject.push
@@ -82,8 +82,8 @@ describe BRocket::Docker do
82
82
  expected_cmd = [
83
83
  "docker tag #{original_image_name}:#{version} #{gcr_image_name}:#{version}",
84
84
  "docker tag #{original_image_name}:#{version} #{gcr_image_name}:latest",
85
- "gcloud docker push #{gcr_image_name}:#{version}",
86
- "gcloud docker push #{gcr_image_name}:latest",
85
+ "gcloud docker -- push #{gcr_image_name}:#{version}",
86
+ "gcloud docker -- push #{gcr_image_name}:latest",
87
87
  ].join(' && ')
88
88
  expect(subject).to receive(:sh).with(expected_cmd)
89
89
  subject.push
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: brocket
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
  - akima