cf_script 0.0.1.beta.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 +7 -0
- data/.gitignore +15 -0
- data/CHANGELOG.md +0 -0
- data/Gemfile +12 -0
- data/LICENSE +22 -0
- data/README.md +84 -0
- data/Rakefile +33 -0
- data/cf_script.gemspec +34 -0
- data/lib/cf_script/callbacks.rb +43 -0
- data/lib/cf_script/command/base.rb +57 -0
- data/lib/cf_script/command/cf/apps/app.rb +19 -0
- data/lib/cf_script/command/cf/apps/apps.rb +44 -0
- data/lib/cf_script/command/cf/apps/env.rb +20 -0
- data/lib/cf_script/command/cf/apps/push.rb +47 -0
- data/lib/cf_script/command/cf/apps/restage.rb +19 -0
- data/lib/cf_script/command/cf/apps/restart.rb +19 -0
- data/lib/cf_script/command/cf/apps/set_env.rb +18 -0
- data/lib/cf_script/command/cf/apps/start.rb +19 -0
- data/lib/cf_script/command/cf/apps/stop.rb +19 -0
- data/lib/cf_script/command/cf/apps/unset_env.rb +18 -0
- data/lib/cf_script/command/cf/apps.rb +55 -0
- data/lib/cf_script/command/cf/general/api.rb +36 -0
- data/lib/cf_script/command/cf/general/auth.rb +28 -0
- data/lib/cf_script/command/cf/general/login.rb +42 -0
- data/lib/cf_script/command/cf/general/logout.rb +15 -0
- data/lib/cf_script/command/cf/general/target.rb +64 -0
- data/lib/cf_script/command/cf/general.rb +15 -0
- data/lib/cf_script/command/cf/routes/check_route.rb +17 -0
- data/lib/cf_script/command/cf/routes/create_route.rb +19 -0
- data/lib/cf_script/command/cf/routes/delete_route.rb +19 -0
- data/lib/cf_script/command/cf/routes/map_route.rb +30 -0
- data/lib/cf_script/command/cf/routes/routes.rb +40 -0
- data/lib/cf_script/command/cf/routes/unmap_route.rb +30 -0
- data/lib/cf_script/command/cf/routes.rb +17 -0
- data/lib/cf_script/command/cf/spaces/space.rb +36 -0
- data/lib/cf_script/command/cf/spaces/spaces.rb +23 -0
- data/lib/cf_script/command/cf/spaces.rb +9 -0
- data/lib/cf_script/command/error.rb +5 -0
- data/lib/cf_script/command/line.rb +105 -0
- data/lib/cf_script/command/registry.rb +50 -0
- data/lib/cf_script/command/runner.rb +97 -0
- data/lib/cf_script/command.rb +44 -0
- data/lib/cf_script/config.rb +60 -0
- data/lib/cf_script/executor/non_blocking.rb +107 -0
- data/lib/cf_script/executor/recorder.rb +16 -0
- data/lib/cf_script/executor/simple.rb +17 -0
- data/lib/cf_script/executor.rb +5 -0
- data/lib/cf_script/manifest.rb +38 -0
- data/lib/cf_script/object/api_endpoint.rb +10 -0
- data/lib/cf_script/object/app_info.rb +69 -0
- data/lib/cf_script/object/app_list.rb +24 -0
- data/lib/cf_script/object/app_spec.rb +55 -0
- data/lib/cf_script/object/attribute.rb +18 -0
- data/lib/cf_script/object/attribute_list.rb +40 -0
- data/lib/cf_script/object/instance_status.rb +29 -0
- data/lib/cf_script/object/route_info.rb +14 -0
- data/lib/cf_script/object/space.rb +17 -0
- data/lib/cf_script/object/target.rb +23 -0
- data/lib/cf_script/object.rb +24 -0
- data/lib/cf_script/output/buffer.rb +74 -0
- data/lib/cf_script/output/parser/attributes.rb +44 -0
- data/lib/cf_script/output/parser/section.rb +15 -0
- data/lib/cf_script/output/parser/table.rb +46 -0
- data/lib/cf_script/output/parser.rb +15 -0
- data/lib/cf_script/output/tests.rb +51 -0
- data/lib/cf_script/output/utils.rb +13 -0
- data/lib/cf_script/output.rb +62 -0
- data/lib/cf_script/scope/app/env.rb +15 -0
- data/lib/cf_script/scope/app/routes.rb +21 -0
- data/lib/cf_script/scope/app/state.rb +33 -0
- data/lib/cf_script/scope/app/utils.rb +32 -0
- data/lib/cf_script/scope/app.rb +94 -0
- data/lib/cf_script/scope/proxy.rb +36 -0
- data/lib/cf_script/scope/script.rb +59 -0
- data/lib/cf_script/scope/space.rb +9 -0
- data/lib/cf_script/scope/target.rb +90 -0
- data/lib/cf_script/scope.rb +68 -0
- data/lib/cf_script/ui.rb +261 -0
- data/lib/cf_script/utils.rb +19 -0
- data/lib/cf_script/version.rb +3 -0
- data/lib/cf_script.rb +105 -0
- data/test/fixtures/commands/apps/app/good.yml +18 -0
- data/test/fixtures/commands/apps/app/not_found.yml +8 -0
- data/test/fixtures/commands/apps/app/running.yml +19 -0
- data/test/fixtures/commands/apps/apps/good.yml +14 -0
- data/test/fixtures/commands/apps/apps/no_apps.yml +10 -0
- data/test/fixtures/commands/apps/env/empty.yml +37 -0
- data/test/fixtures/commands/apps/env/good.yml +41 -0
- data/test/fixtures/commands/apps/push/good.yml +60 -0
- data/test/fixtures/commands/apps/restage/good.yml +48 -0
- data/test/fixtures/commands/apps/restage/not_found.yml +8 -0
- data/test/fixtures/commands/apps/restart/good.yml +35 -0
- data/test/fixtures/commands/apps/restart/not_found.yml +8 -0
- data/test/fixtures/commands/apps/set_env/empty.yml +5 -0
- data/test/fixtures/commands/apps/set_env/good.yml +9 -0
- data/test/fixtures/commands/apps/set_env/not_found.yml +8 -0
- data/test/fixtures/commands/apps/start/good.yml +32 -0
- data/test/fixtures/commands/apps/start/not_found.yml +8 -0
- data/test/fixtures/commands/apps/start/with_container.yml +98 -0
- data/test/fixtures/commands/apps/stop/good.yml +8 -0
- data/test/fixtures/commands/apps/stop/not_found.yml +8 -0
- data/test/fixtures/commands/apps/unset_env/empty.yml +5 -0
- data/test/fixtures/commands/apps/unset_env/good.yml +9 -0
- data/test/fixtures/commands/apps/unset_env/not_found.yml +8 -0
- data/test/fixtures/commands/common/fail.yml +5 -0
- data/test/fixtures/commands/common/no_endpoint.yml +11 -0
- data/test/fixtures/commands/common/no_login.yml +8 -0
- data/test/fixtures/commands/general/api/bad_argument.yml +9 -0
- data/test/fixtures/commands/general/api/bad_endpoint.yml +9 -0
- data/test/fixtures/commands/general/api/good.yml +7 -0
- data/test/fixtures/commands/general/api/not_set.yml +7 -0
- data/test/fixtures/commands/general/api/set.yml +7 -0
- data/test/fixtures/commands/general/auth/empty.yml +5 -0
- data/test/fixtures/commands/general/auth/good.yml +10 -0
- data/test/fixtures/commands/general/auth/rejected.yml +10 -0
- data/test/fixtures/commands/general/login/good.yml +8 -0
- data/test/fixtures/commands/general/login/rejected.yml +23 -0
- data/test/fixtures/commands/general/logout/good.yml +8 -0
- data/test/fixtures/commands/general/target/empty.yml +5 -0
- data/test/fixtures/commands/general/target/good.yml +11 -0
- data/test/fixtures/commands/general/target/no_space.yml +10 -0
- data/test/fixtures/commands/general/target/not_found.yml +9 -0
- data/test/fixtures/commands/general/target/production.yml +11 -0
- data/test/fixtures/commands/general/target/staging.yml +11 -0
- data/test/fixtures/commands/general/target/staging_org.yml +11 -0
- data/test/fixtures/commands/general/target/test.yml +11 -0
- data/test/fixtures/commands/routes/check_route/good.yml +9 -0
- data/test/fixtures/commands/routes/check_route/no_domain.yml +9 -0
- data/test/fixtures/commands/routes/check_route/no_route.yml +9 -0
- data/test/fixtures/commands/routes/create_route/exists.yml +9 -0
- data/test/fixtures/commands/routes/create_route/good.yml +8 -0
- data/test/fixtures/commands/routes/delete_route/good.yml +8 -0
- data/test/fixtures/commands/routes/delete_route/not_exist.yml +8 -0
- data/test/fixtures/commands/routes/map_route/good.yml +10 -0
- data/test/fixtures/commands/routes/map_route/host_taken.yml +10 -0
- data/test/fixtures/commands/routes/map_route/invalid.yml +9 -0
- data/test/fixtures/commands/routes/map_route/no_app.yml +8 -0
- data/test/fixtures/commands/routes/map_route/no_domain.yml +9 -0
- data/test/fixtures/commands/routes/routes/good.yml +14 -0
- data/test/fixtures/commands/routes/unmap_route/good.yml +8 -0
- data/test/fixtures/commands/routes/unmap_route/no_app.yml +8 -0
- data/test/fixtures/commands/routes/unmap_route/no_domain.yml +9 -0
- data/test/fixtures/commands/spaces/space/empty.yml +5 -0
- data/test/fixtures/commands/spaces/space/good.yml +16 -0
- data/test/fixtures/commands/spaces/space/staging.yml +16 -0
- data/test/fixtures/commands/spaces/spaces/empty.yml +5 -0
- data/test/fixtures/commands/spaces/spaces/good.yml +12 -0
- data/test/lib/cf_script/command/base_test.rb +21 -0
- data/test/lib/cf_script/command/cf/apps/app_test.rb +56 -0
- data/test/lib/cf_script/command/cf/apps/apps_test.rb +81 -0
- data/test/lib/cf_script/command/cf/apps/env_test.rb +55 -0
- data/test/lib/cf_script/command/cf/apps/push_test.rb +46 -0
- data/test/lib/cf_script/command/cf/apps/restage_test.rb +47 -0
- data/test/lib/cf_script/command/cf/apps/restart_test.rb +47 -0
- data/test/lib/cf_script/command/cf/apps/set_env_test.rb +38 -0
- data/test/lib/cf_script/command/cf/apps/start_test.rb +55 -0
- data/test/lib/cf_script/command/cf/apps/stop_test.rb +35 -0
- data/test/lib/cf_script/command/cf/apps/unset_env_test.rb +38 -0
- data/test/lib/cf_script/command/cf/general/api_test.rb +55 -0
- data/test/lib/cf_script/command/cf/general/auth_test.rb +76 -0
- data/test/lib/cf_script/command/cf/general/login_test.rb +80 -0
- data/test/lib/cf_script/command/cf/general/logout_test.rb +34 -0
- data/test/lib/cf_script/command/cf/general/target_test.rb +110 -0
- data/test/lib/cf_script/command/cf/routes/check_route_test.rb +31 -0
- data/test/lib/cf_script/command/cf/routes/create_route_test.rb +19 -0
- data/test/lib/cf_script/command/cf/routes/delete_route_test.rb +19 -0
- data/test/lib/cf_script/command/cf/routes/map_route_test.rb +56 -0
- data/test/lib/cf_script/command/cf/routes/routes_test.rb +24 -0
- data/test/lib/cf_script/command/cf/routes/unmap_route_test.rb +36 -0
- data/test/lib/cf_script/command/cf/spaces/space_test.rb +55 -0
- data/test/lib/cf_script/command/cf/spaces/spaces_test.rb +47 -0
- data/test/lib/cf_script/command/line_test.rb +59 -0
- data/test/lib/cf_script/object/api_endpoint_test.rb +19 -0
- data/test/lib/cf_script/object/app_info_test.rb +127 -0
- data/test/lib/cf_script/object/app_list_test.rb +51 -0
- data/test/lib/cf_script/object/attribute_list_test.rb +42 -0
- data/test/lib/cf_script/object/attribute_test.rb +29 -0
- data/test/lib/cf_script/object/instance_status_test.rb +37 -0
- data/test/lib/cf_script/object/space_test.rb +31 -0
- data/test/lib/cf_script/object/target_test.rb +41 -0
- data/test/lib/cf_script/output/buffer_test.rb +73 -0
- data/test/lib/cf_script/output/parser/attributes_test.rb +102 -0
- data/test/lib/cf_script/output/parser/section_test.rb +60 -0
- data/test/lib/cf_script/output/parser/table_test.rb +108 -0
- data/test/lib/cf_script/output/tests_test.rb +91 -0
- data/test/lib/cf_script/output_test.rb +134 -0
- data/test/lib/cf_script/scope/app/state_test.rb +61 -0
- data/test/lib/cf_script/scope/app_test.rb +101 -0
- data/test/lib/cf_script/scope/script_test.rb +88 -0
- data/test/lib/cf_script/scope/space_test.rb +27 -0
- data/test/lib/cf_script/scope/target_test.rb +158 -0
- data/test/lib/cf_script/scope_test.rb +41 -0
- data/test/lib/cf_script/utils_test.rb +20 -0
- data/test/lib/cf_script_test.rb +73 -0
- data/test/support/assertions.rb +14 -0
- data/test/support/helpers/config_context.rb +19 -0
- data/test/support/helpers/fixture_executor.rb +79 -0
- data/test/support/helpers/mock_execution.rb +58 -0
- data/test/support/helpers/object_helpers.rb +29 -0
- data/test/support/helpers/output_sink.rb +25 -0
- data/test/support/helpers.rb +3 -0
- data/test/support/shared_examples/command_object.rb +38 -0
- data/test/support/shared_examples.rb +30 -0
- data/test/test_helper.rb +34 -0
- metadata +321 -0
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
---
|
|
2
|
+
stdout: |
|
|
3
|
+
Restaging app worker in org ACME / space development as user@example.com...
|
|
4
|
+
Creating container
|
|
5
|
+
Successfully created container
|
|
6
|
+
Downloading app package...
|
|
7
|
+
Downloaded app package (255B)
|
|
8
|
+
Downloading buildpacks (https://github.com/cloudfoundry/binary-buildpack.git), build artifacts cache...
|
|
9
|
+
Downloading build artifacts cache...
|
|
10
|
+
Downloaded build artifacts cache (108B)
|
|
11
|
+
Downloaded buildpacks
|
|
12
|
+
Staging...
|
|
13
|
+
Exit status 0
|
|
14
|
+
Staging complete
|
|
15
|
+
Uploading droplet, build artifacts cache...
|
|
16
|
+
Uploading droplet...
|
|
17
|
+
Uploading build artifacts cache...
|
|
18
|
+
Uploaded build artifacts cache (108B)
|
|
19
|
+
Uploaded droplet (357B)
|
|
20
|
+
Uploading complete
|
|
21
|
+
|
|
22
|
+
1 of 1 instances running
|
|
23
|
+
|
|
24
|
+
App started
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
OK
|
|
28
|
+
|
|
29
|
+
App email-worker was started using this command `./worker`
|
|
30
|
+
|
|
31
|
+
Showing health and status for app worker in org ACME / space development as user@example.com...
|
|
32
|
+
OK
|
|
33
|
+
|
|
34
|
+
requested state: started
|
|
35
|
+
instances: 1/2
|
|
36
|
+
usage: 4M x 1 instances
|
|
37
|
+
urls:
|
|
38
|
+
last uploaded: Wed Dec 24 23:59:00 UTC 2015
|
|
39
|
+
stack: cflinuxfs2
|
|
40
|
+
buildpack: https://github.com/cloudfoundry/binary-buildpack.git
|
|
41
|
+
|
|
42
|
+
state since cpu memory disk details
|
|
43
|
+
#0 running 2015-12-25 00:00:00 AM 42.0% 12.3M of 256M 45.6M of 1G
|
|
44
|
+
#1 stopped 2015-12-25 00:00:00 AM 0.0% 0M of 256M 45.6M of 1G
|
|
45
|
+
|
|
46
|
+
stderr: ''
|
|
47
|
+
status:
|
|
48
|
+
exitstatus: 0
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
---
|
|
2
|
+
stdout: |
|
|
3
|
+
Stopping app worker in org ACME / space development as user@example.com...
|
|
4
|
+
OK
|
|
5
|
+
|
|
6
|
+
Starting app email-worker in org ACME / space development as user@example.com...
|
|
7
|
+
|
|
8
|
+
0 of 1 instances running, 1 starting
|
|
9
|
+
1 of 1 instances running
|
|
10
|
+
|
|
11
|
+
App started
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
OK
|
|
15
|
+
|
|
16
|
+
App worker was started using this command `./worker`
|
|
17
|
+
|
|
18
|
+
Showing health and status for app development-worker in org ACME / space development as user@example.com...
|
|
19
|
+
OK
|
|
20
|
+
|
|
21
|
+
requested state: started
|
|
22
|
+
instances: 1/2
|
|
23
|
+
usage: 256M x 1 instances
|
|
24
|
+
urls:
|
|
25
|
+
last uploaded: Wed Dec 24 23:59:00 UTC 2015
|
|
26
|
+
stack: cflinuxfs2
|
|
27
|
+
buildpack: https://github.com/cloudfoundry/binary-buildpack.git
|
|
28
|
+
|
|
29
|
+
state since cpu memory disk details
|
|
30
|
+
#0 running 2015-12-25 00:00:00 AM 42.0% 12.3M of 256M 45.6M of 1G
|
|
31
|
+
#1 stopped 2015-12-25 00:00:00 AM 0.0% 0M of 256M 45.6M of 1G
|
|
32
|
+
|
|
33
|
+
stderr: ''
|
|
34
|
+
status:
|
|
35
|
+
exitstatus: 0
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
---
|
|
2
|
+
stdout: |
|
|
3
|
+
Starting app development-worker in org ACME / space development as user@example.com...
|
|
4
|
+
|
|
5
|
+
0 of 2 instances running, 1 starting
|
|
6
|
+
1 of 2 instances running
|
|
7
|
+
|
|
8
|
+
App started
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
OK
|
|
12
|
+
|
|
13
|
+
App development-worker was started using this command `./worker`
|
|
14
|
+
|
|
15
|
+
Showing health and status for app development-worker in org ACME / space development as user@example.com...
|
|
16
|
+
OK
|
|
17
|
+
|
|
18
|
+
requested state: started
|
|
19
|
+
instances: 1/2
|
|
20
|
+
usage: 256M x 1 instances
|
|
21
|
+
urls:
|
|
22
|
+
last uploaded: Wed Dec 24 23:59:00 UTC 2015
|
|
23
|
+
stack: cflinuxfs2
|
|
24
|
+
buildpack: https://github.com/cloudfoundry/binary-buildpack.git
|
|
25
|
+
|
|
26
|
+
state since cpu memory disk details
|
|
27
|
+
#0 running 2015-12-25 00:00:00 AM 42.0% 12.3M of 256M 45.6M of 1G
|
|
28
|
+
#1 stopped 2015-12-25 00:00:00 AM 0.0% 0M of 256M 45.6M of 1G
|
|
29
|
+
|
|
30
|
+
stderr: ''
|
|
31
|
+
status:
|
|
32
|
+
exitstatus: 0
|
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
---
|
|
2
|
+
stdout: |
|
|
3
|
+
Starting app frontend in org ACME / space development as user@example.com...
|
|
4
|
+
Creating container
|
|
5
|
+
Successfully created container
|
|
6
|
+
Downloading app package...
|
|
7
|
+
Downloaded app package (31K)
|
|
8
|
+
No buildpack specified; fetching standard buildpacks to detect and build your application.
|
|
9
|
+
Downloading buildpacks (staticfile_buildpack, java_buildpack, ruby_buildpack, nodejs_buildpack, go_buildpack, python_buildpack, php_buildpack, liberty_buildpack, binary_buildpack), build artifacts cache...
|
|
10
|
+
Downloading nodejs_buildpack...
|
|
11
|
+
Downloading staticfile_buildpack...
|
|
12
|
+
Downloading java_buildpack...
|
|
13
|
+
Downloading go_buildpack...
|
|
14
|
+
Downloaded java_buildpack
|
|
15
|
+
Downloading liberty_buildpack...
|
|
16
|
+
Downloaded staticfile_buildpack
|
|
17
|
+
Downloading python_buildpack...
|
|
18
|
+
Downloading php_buildpack...
|
|
19
|
+
Downloaded nodejs_buildpack
|
|
20
|
+
Downloading ruby_buildpack...
|
|
21
|
+
Downloaded liberty_buildpack
|
|
22
|
+
Downloading binary_buildpack...
|
|
23
|
+
Downloaded binary_buildpack
|
|
24
|
+
Downloading build artifacts cache...
|
|
25
|
+
Downloaded php_buildpack
|
|
26
|
+
Downloaded ruby_buildpack
|
|
27
|
+
Downloaded build artifacts cache (23.7M)
|
|
28
|
+
Downloaded buildpacks
|
|
29
|
+
Staging...
|
|
30
|
+
cat: ../VERSION: No such file or directory
|
|
31
|
+
-------> Buildpack version 1.6.9
|
|
32
|
+
Downloaded [file:///tmp/buildpacks/7fd367595cc31484469444925764759b/dependencies/https___pivotal-buildpacks.s3.amazonaws.com_ruby_binaries_shared_bundler-1.9.7.tgz]
|
|
33
|
+
-----> Compiling Ruby/Rails
|
|
34
|
+
Downloaded [file:///tmp/buildpacks/7fd367595cc31484469444925764759b/dependencies/https___pivotal-buildpacks.s3.amazonaws.com_concourse-binaries_ruby_ruby-2.2.3-linux-x64.tgz]
|
|
35
|
+
-----> Using Ruby version: ruby-2.2.3
|
|
36
|
+
-----> Installing dependencies using bundler 1.9.7
|
|
37
|
+
Downloaded [file:///tmp/buildpacks/7fd367595cc31484469444925764759b/dependencies/https___pivotal-buildpacks.s3.amazonaws.com_ruby_binaries_cflinuxfs2_libyaml-0.1.6.tgz]
|
|
38
|
+
Running: bundle install --without development:test --path vendor/bundle --binstubs vendor/bundle/bin -j4 --deployment
|
|
39
|
+
Using json 1.8.3
|
|
40
|
+
Using rake 10.4.2
|
|
41
|
+
Using minitest 5.8.3
|
|
42
|
+
Using rack 1.6.4
|
|
43
|
+
Using mime-types 2.99
|
|
44
|
+
Using bundler 1.9.7
|
|
45
|
+
Using mail 2.6.3
|
|
46
|
+
Bundle complete! 12 Gemfile dependencies, 49 gems now installed.
|
|
47
|
+
Gems in the groups development and test were not installed.
|
|
48
|
+
Bundled gems are installed into ./vendor/bundle.
|
|
49
|
+
Bundle completed (0.38s)
|
|
50
|
+
Cleaning up the bundler cache.
|
|
51
|
+
Downloaded [file:///tmp/buildpacks/7fd367595cc31484469444925764759b/dependencies/https___pivotal-buildpacks.s3.amazonaws.com_node_beta-binaries_node-0.12.7-linux-x64.tar.gz]
|
|
52
|
+
-----> Preparing app for Rails asset pipeline
|
|
53
|
+
Running: rake assets:precompile
|
|
54
|
+
Cleaning assets
|
|
55
|
+
Running: rake assets:clean
|
|
56
|
+
###### WARNING:
|
|
57
|
+
You have not declared a Ruby version in your Gemfile.
|
|
58
|
+
To set your Ruby version add this line to your Gemfile:
|
|
59
|
+
ruby '2.2.3'
|
|
60
|
+
# See https://devcenter.heroku.com/articles/ruby-versions for more information.
|
|
61
|
+
###### WARNING:
|
|
62
|
+
No Procfile detected, using the default web server (webrick)
|
|
63
|
+
https://devcenter.heroku.com/articles/ruby-default-web-server
|
|
64
|
+
Staging complete
|
|
65
|
+
Uploading droplet, build artifacts cache...
|
|
66
|
+
Uploading droplet...
|
|
67
|
+
Uploading build artifacts cache...
|
|
68
|
+
Uploaded build artifacts cache (23.6M)
|
|
69
|
+
Uploaded droplet (29M)
|
|
70
|
+
Uploading complete
|
|
71
|
+
|
|
72
|
+
1 of 2 instances running
|
|
73
|
+
|
|
74
|
+
App started
|
|
75
|
+
|
|
76
|
+
|
|
77
|
+
OK
|
|
78
|
+
|
|
79
|
+
App frontend was started using this command `bin/rails server -p $PORT -e $RAILS_ENV`
|
|
80
|
+
|
|
81
|
+
Showing health and status for app frontend in org ACME / space development as user@example.com...
|
|
82
|
+
OK
|
|
83
|
+
|
|
84
|
+
requested state: started
|
|
85
|
+
instances: 1/2
|
|
86
|
+
usage: 256M x 1 instances
|
|
87
|
+
urls:
|
|
88
|
+
last uploaded: Sat Dec 24 23:59:00 UTC 2015
|
|
89
|
+
stack: cflinuxfs2
|
|
90
|
+
buildpack: ruby
|
|
91
|
+
|
|
92
|
+
state since cpu memory disk details
|
|
93
|
+
#0 running 2015-12-25 00:00:00 AM 42.0% 12.3M of 256M 45.6M of 1G
|
|
94
|
+
#1 stopped 2015-12-25 00:00:00 AM 0.0% 0M of 256M 45.6M of 1G
|
|
95
|
+
|
|
96
|
+
stderr: ''
|
|
97
|
+
status:
|
|
98
|
+
exitstatus: 0
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
---
|
|
2
|
+
stdout: |
|
|
3
|
+
API endpoint: https://api.run.pivotal.io
|
|
4
|
+
Authenticating...
|
|
5
|
+
Credentials were rejected, please try again.
|
|
6
|
+
|
|
7
|
+
Password>
|
|
8
|
+
Authenticating...
|
|
9
|
+
Credentials were rejected, please try again.
|
|
10
|
+
|
|
11
|
+
Password>
|
|
12
|
+
Authenticating...
|
|
13
|
+
Credentials were rejected, please try again.
|
|
14
|
+
FAILED
|
|
15
|
+
Unable to authenticate.
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
API endpoint: https://api.run.pivotal.io (API version: 2.44.0)
|
|
19
|
+
Not logged in. Use 'cf login' to log in.
|
|
20
|
+
|
|
21
|
+
stderr: ''
|
|
22
|
+
status:
|
|
23
|
+
exitstatus: 1
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
---
|
|
2
|
+
stdout: |
|
|
3
|
+
Creating route frontend.cfapps.io for org ACME / space development as user@example.com...
|
|
4
|
+
FAILED
|
|
5
|
+
Error resolving route:
|
|
6
|
+
Server error, status code: 400, error code: 210003, message: The host is taken: api
|
|
7
|
+
|
|
8
|
+
stderr: ''
|
|
9
|
+
status:
|
|
10
|
+
exitstatus: 1
|