cf 4.2.0 → 4.2.1.rc1
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.
- data/lib/cf/cli/app/start.rb +1 -1
- data/lib/cf/cli/interactive.rb +1 -1
- data/lib/cf/version.rb +1 -1
- data/spec/cf/cli/app/start_spec.rb +1 -0
- data/spec/integration/push_flow_spec.rb +6 -5
- metadata +4 -10
data/lib/cf/cli/app/start.rb
CHANGED
@@ -110,7 +110,7 @@ module CF::App
|
|
110
110
|
indented { print_instances_summary(instances) }
|
111
111
|
|
112
112
|
if all_instances_running?(instances)
|
113
|
-
line "#{c("Push successful! App '#{app.name}' available at http://#{app.
|
113
|
+
line "#{c("Push successful! App '#{app.name}' available at http://#{app.subdomain}.#{app.domain}", :good)}"
|
114
114
|
return
|
115
115
|
end
|
116
116
|
rescue CFoundry::NotStaged
|
data/lib/cf/cli/interactive.rb
CHANGED
data/lib/cf/version.rb
CHANGED
@@ -7,6 +7,7 @@ if ENV["CF_V2_RUN_INTEGRATION"]
|
|
7
7
|
|
8
8
|
let(:run_id) { TRAVIS_BUILD_ID.to_s + Time.new.to_f.to_s.gsub(".", "_") }
|
9
9
|
let(:app) { "hello-sinatra-#{run_id}" }
|
10
|
+
let(:subdomain) { "hello-sinatra-subdomain-#{run_id}" }
|
10
11
|
let(:service_name) { "dummy-service-#{run_id}" }
|
11
12
|
|
12
13
|
before do
|
@@ -52,14 +53,14 @@ if ENV["CF_V2_RUN_INTEGRATION"]
|
|
52
53
|
|
53
54
|
runner.send_up_arrow
|
54
55
|
expect(runner).not_to say "Memory Limit>"
|
55
|
-
runner.
|
56
|
+
runner.send_keys subdomain
|
56
57
|
|
57
58
|
expect(runner).to say "1:"
|
58
59
|
expect(runner).to say "Domain>"
|
59
60
|
runner.send_keys "1"
|
60
61
|
|
61
|
-
expect(runner).to say(/Creating route #{
|
62
|
-
expect(runner).to say(/Binding #{
|
62
|
+
expect(runner).to say(/Creating route #{subdomain}\..*\.\.\. OK/)
|
63
|
+
expect(runner).to say(/Binding #{subdomain}\..* to #{app}\.\.\. OK/)
|
63
64
|
|
64
65
|
expect(runner).to say "Create services for application?> n"
|
65
66
|
runner.send_up_arrow
|
@@ -94,11 +95,11 @@ if ENV["CF_V2_RUN_INTEGRATION"]
|
|
94
95
|
runner.send_return
|
95
96
|
|
96
97
|
expect(runner).to say "Uploading #{app}... OK", 180
|
97
|
-
expect(runner).to say "
|
98
|
+
expect(runner).to say "Preparing to start #{app}... OK", 180
|
98
99
|
expect(runner).to say "Checking status of app '#{app}'...", 180
|
99
100
|
expect(runner).to say "0 of 1 instances running (1 starting)"
|
100
101
|
expect(runner).to say "1 of 1 instances running"
|
101
|
-
expect(runner).to say "Push successful! App '#{app}' available at http://#{
|
102
|
+
expect(runner).to say "Push successful! App '#{app}' available at http://#{subdomain}.a1-app.cf-app.com", 30
|
102
103
|
end
|
103
104
|
end
|
104
105
|
|
metadata
CHANGED
@@ -1,8 +1,8 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cf
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 4.2.
|
5
|
-
prerelease:
|
4
|
+
version: 4.2.1.rc1
|
5
|
+
prerelease: 6
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
8
|
- Cloud Foundry Team
|
@@ -619,18 +619,12 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
619
619
|
- - ! '>='
|
620
620
|
- !ruby/object:Gem::Version
|
621
621
|
version: '0'
|
622
|
-
segments:
|
623
|
-
- 0
|
624
|
-
hash: -3067736144323404377
|
625
622
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
626
623
|
none: false
|
627
624
|
requirements:
|
628
|
-
- - ! '
|
625
|
+
- - ! '>'
|
629
626
|
- !ruby/object:Gem::Version
|
630
|
-
version:
|
631
|
-
segments:
|
632
|
-
- 0
|
633
|
-
hash: -3067736144323404377
|
627
|
+
version: 1.3.1
|
634
628
|
requirements: []
|
635
629
|
rubyforge_project: cf
|
636
630
|
rubygems_version: 1.8.25
|