dpl 1.6.1.travis.449.1 → 1.6.1.travis.451.1
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 +8 -8
- data/lib/dpl/provider/openshift.rb +3 -2
- data/spec/provider/openshift_spec.rb +2 -2
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
---
|
|
2
2
|
!binary "U0hBMQ==":
|
|
3
3
|
metadata.gz: !binary |-
|
|
4
|
-
|
|
4
|
+
YWFjMGQwZTc4MjAyZmQ5ODA0MDc4OTJmNmU3NjE1ZTViOTU3NzkwNg==
|
|
5
5
|
data.tar.gz: !binary |-
|
|
6
|
-
|
|
6
|
+
YTNjZTZhZmMxNzU1ODkzZmZlN2ZlOTBmOTBhZjBkZDhiMDBkNGJjYw==
|
|
7
7
|
SHA512:
|
|
8
8
|
metadata.gz: !binary |-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
9
|
+
ZTY1M2ZhYWY5NDkyYzVlZTZlNjdlNTVmNTNjYTQyYzY0ZDQyZGExZjA4YjZi
|
|
10
|
+
NjAzZmFmNWYxMDkwYTBmZGFhMDdkZWZlNGRmYTFiOTBjZjA4OGY4NDg5MWVi
|
|
11
|
+
MTA5NmRiNzkyMWE3NWVlOWUxNDMxZWFiM2RhZDE3NWY3YzAyNGE=
|
|
12
12
|
data.tar.gz: !binary |-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
13
|
+
Njg0MTg3NmVhMTEyOGI2ZGZmNDI4MThjNzJmZTc1OTlkNGE5Y2ZiNmFkZTBi
|
|
14
|
+
ZmVhYjE2ZjRiMmRmOGYxNWFlMzIyNjI1ZjYyMzhlYWIzYjQ5MDE2YWViYjcy
|
|
15
|
+
ZGJmZTA4OWNmMWM0NGY1NmVkOWQ2ZjEwZWMwZjkwYTk2ZGZiZmQ=
|
|
@@ -34,10 +34,11 @@ module DPL
|
|
|
34
34
|
|
|
35
35
|
def push_app
|
|
36
36
|
if app.deployment_branch
|
|
37
|
+
log "deployment_branch detected: #{app.deployment_branch}"
|
|
37
38
|
context.shell "rhc app configure #{app.name} --deployment-branch #{app.deployment_branch}"
|
|
38
|
-
context.shell "git push #{app.git_url} -f #{app.deployment_branch}"
|
|
39
|
+
context.shell "git push --verbose #{app.git_url} -f #{app.deployment_branch}"
|
|
39
40
|
else
|
|
40
|
-
context.shell "git push #{app.git_url} -f"
|
|
41
|
+
context.shell "git push --verbose #{app.git_url} -f"
|
|
41
42
|
end
|
|
42
43
|
end
|
|
43
44
|
|
|
@@ -67,7 +67,7 @@ describe DPL::Provider::Openshift do
|
|
|
67
67
|
describe "#push_app" do
|
|
68
68
|
example "when app.deployment_branch is not set" do
|
|
69
69
|
expect(provider.app).to receive :deployment_branch
|
|
70
|
-
expect(provider.context).to receive(:shell).with("git push git://something -f")
|
|
70
|
+
expect(provider.context).to receive(:shell).with("git push --verbose git://something -f")
|
|
71
71
|
provider.push_app
|
|
72
72
|
end
|
|
73
73
|
|
|
@@ -75,7 +75,7 @@ describe DPL::Provider::Openshift do
|
|
|
75
75
|
allow(provider.app).to receive(:deployment_branch) { "test-branch" }
|
|
76
76
|
|
|
77
77
|
expect(provider.context).to receive(:shell).with("rhc app configure example --deployment-branch test-branch")
|
|
78
|
-
expect(provider.context).to receive(:shell).with("git push git://something -f test-branch")
|
|
78
|
+
expect(provider.context).to receive(:shell).with("git push --verbose git://something -f test-branch")
|
|
79
79
|
provider.push_app
|
|
80
80
|
end
|
|
81
81
|
end
|