Comments (9)
from cf-nodejs-client.
cloudfoundry/staticfile-buildpack#44
from cf-nodejs-client.
from cf-nodejs-client.
https://github.com/jiangmiao/node-curl
from cf-nodejs-client.
http://apidocs.cloudfoundry.org/214/apps/uploads_the_bits_for_an_app.html
from cf-nodejs-client.
Output from cf push with CF_TRACE=true
Uploading StaticWebsiteHelloWorld...
REQUEST: [2015-08-06T14:11:31+02:00]
PUT /v2/resource_match HTTP/1.1
Host: api.MY_IP.xip.io
Accept: application/json
Authorization: [PRIVATE DATA HIDDEN]
Content-Type: application/json
User-Agent: go-cli 6.12.1-56792aa / windows
[{"fn":"index.html","sha1":"b657e91776782799aa20eee057603fe03ead4004","size":122},{"fn":"output.txt","sha1":"cc81d5428688235ff1e3cff139a5369d7a817a99","size":12479}]
RESPONSE: [2015-08-06T14:11:31+02:00]
HTTP/1.1 200 OK
Content-Length: 2
Content-Type: application/json;charset=utf-8
Date: Thu, 06 Aug 2015 12:10:03 GMT
Server: nginx
X-Cf-Requestid: 30904f59-005c-4ca1-48a3-2ed46996ba45
X-Content-Type-Options: nosniff
X-Vcap-Request-Id: 8acb0876-9116-473c-6d0a-9939167ada31::69998296-3130-46d6-9f16-ada90aaa309c
[]
Uploading app files from: C:\Users\PATH\StaticWebsite_HelloWorld
Uploading 13.3K, 2 files
REQUEST: [2015-08-06T14:11:31+02:00]
PUT /v2/apps/f7ea4e1b-49a1-4b3f-8c67-eff9574b0a9e/bits?async=true HTTP/1.1
Host: api.MY_IP.xip.io
Accept: application/json
Authorization: [PRIVATE DATA HIDDEN]
Content-Type: multipart/form-data; boundary=3a1765597317479ad0600360e4a73537c4da9271587bff5a4d6d06089486
User-Agent: go-cli 6.12.1-56792aa / windows
[MULTIPART/FORM-DATA CONTENT HIDDEN]
Done uploading
RESPONSE: [2015-08-06T14:11:31+02:00]
HTTP/1.1 201 Created
Content-Length: 270
Content-Type: application/json;charset=utf-8
Date: Thu, 06 Aug 2015 12:10:04 GMT
Server: nginx
X-Cf-Requestid: 1653aed7-b9a7-41ca-5b50-43bd63b592d9
X-Content-Type-Options: nosniff
X-Vcap-Request-Id: caa69d25-9159-4253-4748-fff9206b41ef::22095047-4e1c-452d-aafa-cce7968094e5
{
"metadata": {
"guid": "7ed54165-8205-4a36-946e-40a55e7636fb",
"created_at": "2015-08-06T12:10:04Z",
"url": "/v2/jobs/7ed54165-8205-4a36-946e-40a55e7636fb"
},
"entity": {
"guid": "7ed54165-8205-4a36-946e-40a55e7636fb",
"status": "queued"
}
}
from cf-nodejs-client.
https://github.com/danwrong/restler
from cf-nodejs-client.
https://github.com/danwrong/restler
from cf-nodejs-client.
Test with zips which the content has more than 1GB.
2015-08-11T14:26:33.45+0200 [STG/0] OUT -----> Downloaded app package (79M)
2015-08-11T14:27:03.90+0200 [STG/0] ERR Cloning into '/tmp/buildpacks/s
taticfile-buildpack'...
2015-08-11T14:27:05.76+0200 [STG/0] OUT Submodule 'compile-extensions'
(https://github.com/cloudfoundry-incubator/compile-extensions.git) registered fo
r path 'compile-extensions'
2015-08-11T14:27:05.82+0200 [STG/0] ERR Cloning into 'compile-extensions'..
.
2015-08-11T14:27:07.31+0200 [STG/0] OUT Submodule path 'compile-extensions'
: checked out 'ce9345a9a6e7b00266194cadd18dbef37e791a7b'
2015-08-11T14:27:07.42+0200 [STG/0] OUT -------> Buildpack version 1.2.1
2015-08-11T14:27:10.34+0200 [STG/0] ERR grep: Staticfile: No such file or d
irectory
2015-08-11T14:27:10.34+0200 [STG/0] OUT -----> Using root folder
2015-08-11T14:27:10.36+0200 [STG/0] OUT -----> Copying project files into p
ublic/
2015-08-11T14:27:46.71+0200 [STG/0] OUT -----> Setting up nginx
2015-08-11T14:27:47.02+0200 [STG/0] ERR grep: Staticfile: No such file or d
irectory
2015-08-11T14:28:41.67+0200 [STG/0] OUT -----> Uploading droplet (161M)
2015-08-11T14:29:00.77+0200 [DEA/0] OUT Starting app instance (index 0) wit
h guid 6d3a3dc5-8583-4c60-bafc-33f42f987378
2015-08-11T14:29:43.65+0200 [API/0] OUT App instance exited with guid 6d3a3
dc5-8583-4c60-bafc-33f42f987378 payload: {"cc_partition"=>"default", "droplet"=>
"6d3a3dc5-8583-4c60-bafc-33f42f987378", "version"=>"c9259319-ae71-4558-a4d9-cb12
efb914af", "instance"=>"279de86840e84462876f350fddb31162", "index"=>0, "reason"=
>"CRASHED", "exit_status"=>-1, "exit_description"=>"failed to start", "crash_tim
estamp"=>1439296183}
from cf-nodejs-client.
Related Issues (20)
- Rename HttpCodes to HttpStatus HOT 1
- Get all feature flags
- Enable Docker on Diego
- Get Info about a featured flag
- Add new tests about Events to Debug apps
- Update project to release Minor Version v0.13.0 HOT 1
- Error uploading app HOT 2
- Respect .cfignore when uploading an application
- How to create a cf app through this client HOT 1
- Not getting detailed information of the log
- Travis build is broken
- Logs dont work HOT 2
- Using this in general
- Request to Add options to set environment Variable. HOT 1
- Unable to create Service which need CF-AsyncRequired(10001)
- How to use getApps with filters HOT 1
- Copy bits from Source App to Target App
- Add API methods for app scaling HOT 1
- Apps.upload() method not working
- How to use cf-nodejs-client to control the start and stop of hana cloud
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cf-nodejs-client.