brocket 0.2.3 → 0.2.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 45574c9a82aa24258c16ea9c24e7e8051fd2c4d2
|
|
4
|
+
data.tar.gz: 3b3e78cde2ceb995c2cb2dc327cb7da82e69ec5f
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
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
|
|
data/lib/brocket/version.rb
CHANGED
|
@@ -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"
|
data/spec/brocket/docker_spec.rb
CHANGED
|
@@ -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
|