Skip to content

Instantly share code, notes, and snippets.

View ingydotnet's full-sized avatar

Ingy döt Net ingydotnet

View GitHub Profile
$ curl -i -k -H "Authorization: $TOK" https://api.stackato-ingy.local/stackato/components
HTTP/1.1 200 OK
Server: nginx/0.7.65
Date: Tue, 14 Feb 2012 22:26:07 GMT
Content-Type: application/json; charset=utf-8
Transfer-Encoding: chunked
Connection: keep-alive
Keep-Alive: timeout=20
ETag: "99914b932bd37a50b983c5e7c90ae93b"
Cache-Control: max-age=0, private, must-revalidate
name: photobooth
framework:
type: perl
hooks:
pre-staging:
- git clone git://github.com/ActiveState/stackato-samples.git
- (cd stackato-samples && git submodule update --init)
- mv stackato-samples/perl/mojo-photobooth/* .
ingy@thinkingy:~/.work/as/stackato-samples/node/node-env$ stackato start env-test4 -t
Request GET, application/json: http://api.stackato-ingy.local/info
Response Code: HTTP/1.1 200 OK
Response Code': 200
Response Status: ok
Response Error:
Response Headers: Server nginx/0.7.65 Date {Wed, 22 Feb 2012 05:24:40 GMT} Content-Type {application/json; charset=utf-8} Transfer-Encoding chunked Connection close ETag {"68a12f1009d2bfa4a9cc93e23c46fe9c"} Cache-Control {max-age=0, private, must-revalidate} X-UA-Compatible IE=Edge
Response Body: {"name":"vcap","build":2222,"support":"[email protected]","version":"0.999","vendor_version":"v0.9.0-181-g51ca366","description":"ActiveState Stackato","allow_debug":true,"user":"[email protected]","limits":{"memory":8192,"app_uris":16,"services":50,"apps":100},"usage":{"memory":64,"apps":1,"services":0},"frameworks":{"rails3":{"name":"rails3","runtimes":[{"name":"ruby18","version":"1.8.7","description":"Ruby 1.8.7"},{"name":"ruby19","version":"1.9.2p290","
name: photobooth-test2
framework:
type: perl
hooks:
pre-staging:
- git clone git://github.com/ActiveState/stackato-samples.git
- (cd stackato-samples && git submodule update --init)
- mv stackato-samples/perl/mojo-photobooth/* .
name: env
framework:
type: node
hooks:
pre-staging:
- git clone git://github.com/ActiveState/stackato-samples.git
- (cd stackato-samples && git submodule update --init)
- mv stackato-samples/node/node-env/* .
/opt/rubies/1.9.2-p290/lib/ruby/gems/1.9.1/gems/bundler-1.0.22/lib/bundler/rubygems_integration.rb:219:in `block in replace_bin_path': can't find executable rake (Gem::Exception)
from /opt/rubies/1.9.2-p290/lib/ruby/gems/1.9.1/bin/rake:19:in `<main>'
Using config file /home/stackato/stackato/etc/vcap/cloud_controller.yml
/opt/rubies/1.9.2-p290/lib/ruby/gems/1.9.1/gems/activesupport-3.0.5/lib/active_support/dependencies.rb:239:in `require': no such file to load -- vcap/util (LoadError)
from /opt/rubies/1.9.2-p290/lib/ruby/gems/1.9.1/gems/activesupport-3.0.5/lib/active_support/dependencies.rb:239:in `block in require'
from /opt/rubies/1.9.2-p290/lib/ruby/gems/1.9.1/gems/activesupport-3.0.5/lib/active_support/dependencies.rb:227:in `load_dependency'
from /opt/rubies/1.9.2-p290/lib/ruby/gems/1.9.1/gems/activesupport-3.0.5/lib/active_support/dependencies.rb:239:in `require'
from /home/stackato/stackato/vcap/cloud_controller/config/final_stage/message_bus.rb:9:in `<top (requi
Response Code: HTTP/1.1 500 Internal Server Error
Response Code': 500
Response Status: ok
Response Error:
Response Headers: Server nginx/0.7.65 Date {Thu, 23 Feb 2012 21:45:58 GMT} Content-Type {application/json; charset=utf-8} Transfer-Encoding chunked Connection close Cache-Control no-cache X-UA-Compatible IE=Edge
Response Body: {"code":310,"description":"Failed to stage application:\n Unable to start this application. You need to either define 'stackato/processes/web' in manifest.yml, or define 'processes/web' in stackato.yml\n"}
Failed to stage application:
Unable to start this application. You need to either define 'stackato/processes/web' in manifest.yml, or define 'processes/web' in stackato.yml
ingy@thinkingy:~/push-tests/bugzilla$ ^C
diff --git a/console/web/js/console.control.js b/console/web/js/console.control.js
index 8f15d23..6d8b7f0 100644
--- a/console/web/js/console.control.js
+++ b/console/web/js/console.control.js
@@ -1634,8 +1634,12 @@ $Console.rearrange = function(input, start, config) {
output.push(set);
}
if (config.ymin) {
+ var series = output[0].data;
+ var x = series.length
name: mezzanine
mem: 64M
env:
DJANGO_SETTINGS_MODULE: settings
# This hack is needed to install from the App Store on Stackato 1.0
pre-running:
- export DJANGO_SETTINGS_MODULE=settings
if (SvROK(node)) {
SV *rnode = SvRV(node);
U32 ref_type = SvTYPE(rnode);
if (ref_type == SVt_PVHV)
dump_hash(dumper, node, anchor, tag);