Code Monkey home page Code Monkey logo

deploy-ninja's Introduction

Deploy Ninja Build Status

Purpose

The purpose of this application is to keep track of deployments. It is aimed to be simple and only requires an http post to the server to record a deploy. It is aimed to be used to save deploys and then access the information via a simple rest api.

Technology Requirements

  • PostgreSQL
  • Ruby 2.0.0
  • RoR

Api Documentation:

A short overview is below but you can also access /api/spec/v1.raml

  POST: api/deployment
  parameters
    - {"project": "project-name", "branch": "git-branch", "commit_sha": "lastcommitsha"}
      (optional params: errors, success)
  returns:
    - created deployment object
  GET: api/projects/:project_name/deployments
  returns:
    - deployment objects for tag
  GET: api/projects/:project_name/last_deployment
  returns:
    - last deployment object for tag

deploy-ninja's People

Contributors

brentm5 avatar

Watchers

 avatar  avatar

deploy-ninja's Issues

Add ability to tag a project

Instead of using the branch to group by we should have a tag that is also passed in. This will allow the branch to change per project if need be.

[{}][unknown] JSON::ParserError: 757: unexpected token at '{tsfs}'

See this exception on Errbit

JSON::ParserError: 757: unexpected token at '{tsfs}'

Summary

URL

http://deploy-ninja.herokuapp.com/deployments/new"

Where

unknown

Occured

Oct 18 12:00am

Similar

0

Params

{
  "{tsfs}" => nil
}

Session

{
}

Backtrace

155:  [GEM_ROOT]/gems/json-1.8.0/lib/json/common.rb -> **parse**
155:  [GEM_ROOT]/gems/json-1.8.0/lib/json/common.rb -> **parse**
51:  routes.rb -> **deploy_params**
8:  routes.rb -> **block in <top (required)>**
1541:  [GEM_ROOT]/gems/sinatra-1.4.3/lib/sinatra/base.rb -> **call**
1541:  [GEM_ROOT]/gems/sinatra-1.4.3/lib/sinatra/base.rb -> **block in compile!**
950:  [GEM_ROOT]/gems/sinatra-1.4.3/lib/sinatra/base.rb -> **[]**
950:  [GEM_ROOT]/gems/sinatra-1.4.3/lib/sinatra/base.rb -> **block (3 levels) in route!**
966:  [GEM_ROOT]/gems/sinatra-1.4.3/lib/sinatra/base.rb -> **route_eval**
950:  [GEM_ROOT]/gems/sinatra-1.4.3/lib/sinatra/base.rb -> **block (2 levels) in route!**
987:  [GEM_ROOT]/gems/sinatra-1.4.3/lib/sinatra/base.rb -> **block in process_route**
985:  [GEM_ROOT]/gems/sinatra-1.4.3/lib/sinatra/base.rb -> **catch**
985:  [GEM_ROOT]/gems/sinatra-1.4.3/lib/sinatra/base.rb -> **process_route**
948:  [GEM_ROOT]/gems/sinatra-1.4.3/lib/sinatra/base.rb -> **block in route!**
947:  [GEM_ROOT]/gems/sinatra-1.4.3/lib/sinatra/base.rb -> **each**
947:  [GEM_ROOT]/gems/sinatra-1.4.3/lib/sinatra/base.rb -> **route!**
1059:  [GEM_ROOT]/gems/sinatra-1.4.3/lib/sinatra/base.rb -> **block in dispatch!**
1041:  [GEM_ROOT]/gems/sinatra-1.4.3/lib/sinatra/base.rb -> **block in invoke**
1041:  [GEM_ROOT]/gems/sinatra-1.4.3/lib/sinatra/base.rb -> **catch**
1041:  [GEM_ROOT]/gems/sinatra-1.4.3/lib/sinatra/base.rb -> **invoke**
1056:  [GEM_ROOT]/gems/sinatra-1.4.3/lib/sinatra/base.rb -> **dispatch!**
882:  [GEM_ROOT]/gems/sinatra-1.4.3/lib/sinatra/base.rb -> **block in call!**
1041:  [GEM_ROOT]/gems/sinatra-1.4.3/lib/sinatra/base.rb -> **block in invoke**
1041:  [GEM_ROOT]/gems/sinatra-1.4.3/lib/sinatra/base.rb -> **catch**
1041:  [GEM_ROOT]/gems/sinatra-1.4.3/lib/sinatra/base.rb -> **invoke**
882:  [GEM_ROOT]/gems/sinatra-1.4.3/lib/sinatra/base.rb -> **call!**
870:  [GEM_ROOT]/gems/sinatra-1.4.3/lib/sinatra/base.rb -> **call**
18:  [GEM_ROOT]/gems/rack-protection-1.5.0/lib/rack/protection/xss_header.rb -> **call**
16:  [GEM_ROOT]/gems/rack-protection-1.5.0/lib/rack/protection/path_traversal.rb -> **call**
18:  [GEM_ROOT]/gems/rack-protection-1.5.0/lib/rack/protection/json_csrf.rb -> **call**
49:  [GEM_ROOT]/gems/rack-protection-1.5.0/lib/rack/protection/base.rb -> **call**
49:  [GEM_ROOT]/gems/rack-protection-1.5.0/lib/rack/protection/base.rb -> **call**
31:  [GEM_ROOT]/gems/rack-protection-1.5.0/lib/rack/protection/frame_options.rb -> **call**
15:  [GEM_ROOT]/gems/rack-1.5.2/lib/rack/logger.rb -> **call**
33:  [GEM_ROOT]/gems/rack-1.5.2/lib/rack/commonlogger.rb -> **call**
212:  [GEM_ROOT]/gems/sinatra-1.4.3/lib/sinatra/base.rb -> **call**
205:  [GEM_ROOT]/gems/sinatra-1.4.3/lib/sinatra/base.rb -> **call**
11:  [GEM_ROOT]/gems/rack-1.5.2/lib/rack/head.rb -> **call**
21:  [GEM_ROOT]/gems/rack-1.5.2/lib/rack/methodoverride.rb -> **call**
175:  [GEM_ROOT]/gems/sinatra-1.4.3/lib/sinatra/base.rb -> **call**
1949:  [GEM_ROOT]/gems/sinatra-1.4.3/lib/sinatra/base.rb -> **call**
1449:  [GEM_ROOT]/gems/sinatra-1.4.3/lib/sinatra/base.rb -> **block in call**
1726:  [GEM_ROOT]/gems/sinatra-1.4.3/lib/sinatra/base.rb -> **synchronize**
1449:  [GEM_ROOT]/gems/sinatra-1.4.3/lib/sinatra/base.rb -> **call**
66:  [GEM_ROOT]/gems/puma-2.0.1/lib/puma/configuration.rb -> **call**
364:  [GEM_ROOT]/gems/puma-2.0.1/lib/puma/server.rb -> **handle_request**
243:  [GEM_ROOT]/gems/puma-2.0.1/lib/puma/server.rb -> **process_client**
142:  [GEM_ROOT]/gems/puma-2.0.1/lib/puma/server.rb -> **block in run**
92:  [GEM_ROOT]/gems/puma-2.0.1/lib/puma/thread_pool.rb -> **call**
92:  [GEM_ROOT]/gems/puma-2.0.1/lib/puma/thread_pool.rb -> **block in spawn_thread**

Environment

rack_version: ["1", "2"]
rack_errors: #
rack_multithread: true
rack_multiprocess: false
rack_run_once: false
SCRIPT_NAME:
CONTENT_TYPE: application/x-www-form-urlencoded
QUERY_STRING:
SERVER_PROTOCOL: HTTP/1.1
SERVER_SOFTWARE: 2.0.1
GATEWAY_INTERFACE: CGI/1.2
REQUEST_METHOD: POST
REQUEST_PATH: /deployments/new
REQUEST_URI: /deployments/new
HTTP_VERSION: HTTP/1.1
HTTP_X_REQUEST_START: 1382068848332
HTTP_X_FORWARDED_PROTO: http
HTTP_X_FORWARDED_PORT: 80
HTTP_X_FORWARDED_FOR: 74.96.91.234
HTTP_USER_AGENT: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/30.0.1599.101 Safari/537.36
HTTP_ORIGIN: chrome-extension://hgmloofddffdnphfgcellkdfbfbjeloo
HTTP_HOST: deploy-ninja.herokuapp.com
CONTENT_LENGTH: 6
HTTP_CONNECTION: close
HTTP_ACCEPT_LANGUAGE: en-US,en;q=0.8
HTTP_ACCEPT_ENCODING: gzip,deflate,sdch
HTTP_ACCEPT: */*
SERVER_NAME: deploy-ninja.herokuapp.com
SERVER_PORT: 80
PATH_INFO: /deployments/new
REMOTE_ADDR: 10.42.102.190
puma_socket: #
rack_hijack?: true
rack_hijack: #
rack_input: #
rack_url_scheme: http
rack_after_reply: []
puma_config: #
rack_request_form_input: #
rack_request_form_hash: {"{tsfs}"=>nil}
sinatra_commonlogger: true
rack_logger: #
rack_request_query_string:
rack_request_query_hash:
sinatra_route: POST /deployments/new
sinatra_error: 757: unexpected token at '{tsfs}'

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.