Skip to content

Instantly share code, notes, and snippets.

View mwawrusch's full-sized avatar

Martin Wawrusch mwawrusch

View GitHub Profile
@mwawrusch
mwawrusch / gist:6296020
Created August 21, 2013 15:34
circleci.com Jitsu Script
#!/bin/bash
BASEDIR=$(dirname $0)
pushd $(dirname $0)
JITSUCONF=`pwd`
JITSUCONF=$JITSUCONF/.jitsuconf
popd
echo $BASEDIR
./bin
~/Documents/blankstatement/site ~/Documents/blankstatement/site
info: Welcome to Nodejitsu blankstatement
info: jitsu v0.13.0, node v0.10.10
info: It worked if it ends with Nodejitsu ok
info: Executing command deploy
info: Analyzing application dependencies in lib/index.js
debug: { method: 'GET',
debug: uri: 'https://api.nodejitsu.com/apps/blankstatement/blankstatement-site',
debug: headers:
Uploading: [=============================] 100%
error: Error running command deploy
error: Nodejitsu Error (401): Not Authorized
error: Authorization failed with the provided credentials.
help: For help with this error contact Nodejitsu Support:
help: webchat: <http://webchat.nodejitsu.com/>
help: irc: <irc://chat.freenode.net/#nodejitsu>
help: email: <support@nodejitsu.com>
help:
help: Copy and paste this output to a gist (http://gist.github.com/)
Martin Wawrusch
Martin Wawrusch
Aug 18 07:37 am (PDT)
Hi guys,
the site blankstatement.com (accoubt blankstatement / blankstatement-site)
is down since yesterday since all your LB issues started, and does not come
up any more, even when redeploying.
info: Creating snapshot 0.0.1-362
info Uploading: [=============================] 100%
info: Updating app blankstatement-site
info: Activating snapshot 0.0.1-362 for blankstatement-site
info: Starting app blankstatement-site
error: Error running command deploy
error: Nodejitsu Error (500): Internal Server Error
error: There was an error while attempting to deploy the app
error:
error: Rackspace Error (404): Item not found
Welcome to Nodejitsu modeista
info: jitsu v0.11.6, node v0.8.18
info: It worked if it ends with Nodejitsu ok
info: Executing command start
info: Starting app modeista-site
error: Error running command start
error: Nodejitsu Error (500): Internal Server Error
warn: Error returned from Nodejitsu
error: Error: Unhandled error
error: at Object.onError (/root/nodejitsu/lib/nodejitsu.js:75:48)
states:
start: {}
end: {}
qaChecks:
label: "QA Checks"
hideFromlane: false
allowedRoles: ['floor']
formToShow: null
transitionToNextState: "shiftManagerApproval"
shiftManagerApproval:
01/20 19:08:43 PST] [01.21 03:08:43] (10.112.36.42) [-] {-} GET /status - HTTP 200 - 6 msec
[01/20 19:09:25 PST] error: Error: connect ECONNREFUSED
[01/20 19:09:25 PST] GOT AN ERROR: object, {"code":"ECONNREFUSED","errno":"ECONNREFUSED","syscall":"connect","status":500}
[01/20 19:09:25 PST] [01.21 03:09:25] (10.112.36.47) [-] {-} POST /sessions - HTTP 500 - 488 msec
[01/20 19:09:45 PST] error: Error: connect ECONNREFUSED
[01/20 19:09:45 PST] [01.21 03:09:45] (10.112.36.47) [-] {-} POST /sessions - HTTP 500 - 451 msec
[01/20 19:09:45 PST] GOT AN ERROR: object, {"code":"ECONNREFUSED","errno":"ECONNREFUSED","syscall":"connect","status":500}
[01/20 19:09:49 PST] error: Error: connect ECONNREFUSED
[01/20 19:09:49 PST] GOT AN ERROR: object, {"code":"ECONNREFUSED","errno":"ECONNREFUSED","syscall":"connect","status":500}
[01/20 19:09:49 PST] [01.21 03:09:49] (10.112.36.47) [-] {-} POST /sessions - HTTP 500 - 475 msec
info: Creating snapshot 0.0.1-296
info Uploading: [=============================] 100%
info: Updating app modeista-site
info: Activating snapshot 0.0.1-296 for modeista-site
info: Starting app modeista-site
error: Error running command deploy
error: Nodejitsu Error (500): Internal Server Error
error: There was an error while attempting to deploy the app
error:
error: Target script does not exist: /opt/haibu/carapace-versions/0.8.16/node_modules/haibu-carapace/bin/carapace
_ = require 'underscore'
Hoek = require 'hoek'
Boom = require 'boom'
async = require 'async'
helperProductFeeds = require './helper-product-feeds'
arnConstants = require './arn-constants'
stateConstants = require './state-constants'
helperProductFeedIdFromMessage = require './helper-product-feed-id-from-message'
helperInvokeTransloadit = require './helper-invoke-transloadit'