Giter VIP home page Giter VIP logo

chief's Introduction

Description

Chief is a simple web interface to assist in the deployment of web applications.

Installation

  1. git clone git://github.com/jbalogh/chief.git; cd chief
  2. cp settings.py.dist settings.py
  3. Fill in settings. The "script" will be run in 3 stages:
    1. /usr/bin/commander $script pre_update
    2. /usr/bin/commander $script update
    3. /usr/bin/commander $script deploy
  4. Hook up chief.app to mod_wsgi, gunicorn, etc.

Requirements

Making an RPM

  1. Install fpm
  2. Use fpm like the following example: sudo fpm -s dir -t rpm -n "chief" -v 0.1.2 --url "http://github.com/mozilla/chief/" --provides chief -a all --description "Chief is a simple web interface to assist in the deployment of web applications." --maintainer "[email protected]" -d gunicorn -d python26-redis -d Flask -d python-werkzeug -d python-wtforms -d Jinja2 --prefix "/var/www/chief" --exclude ".git*" /path/to/chief/

Change Log

  • v0.1.4 - fixes bug with history page and unicode characters in redis
  • v0.1.3 - adds support for history pagination, support for arbitrary task runners, and some notification support. Thanks @oremj, @cturra, and @willkg
  • v0.1.2.1 - fix for /chief/ not including a line break, fixes #5
  • v0.1.2 - adds proper index page for /chief/, fixes #3
  • v0.1.1 - adds a logs directory, fixes #2
  • v0.1 - tagged to make an rpm for deployments, by @solarce, fixes #1

chief's People

Contributors

cturra avatar jasonthomas avatar mattbasta avatar oremj avatar potch avatar solarce avatar superawesome avatar willkg avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

chief's Issues

Unable to use name of person who deployed

For things like reporting a deployment to New Relic, it would be useful to be able to refer to the person's name entered on the big red button page.

As far as I can tell, there is no way to get at this from inside the script that contains the pre_update(), update() and deploy() tasks.

please add a LICENSE file

It's not clear under what license this code is being distributed. Please add a LICENSE file to clarify. Otherwise no one knows what rights they have when copying it (or even whether they can copy it).

history pages for chiefs with lots of history sometimes kicks up ISE

If you are amazing superfly devops person and do lots of deployments or if you hook up your chief to a cron script that runs every 5 minutes for a month, you can end up with a lot of history.

At that point, the history page may not load in time and kick up an ISE. For example, the input-dev history page is now 1.3mb and occasionally kicks up an ISE.

I suspect it'd be better if history was paginated.

CODE_OF_CONDUCT.md file missing

As of January 1 2019, Mozilla requires that all GitHub projects include this CODE_OF_CONDUCT.md file in the project root. The file has two parts:

  1. Required Text - All text under the headings Community Participation Guidelines and How to Report, are required, and should not be altered.
  2. Optional Text - The Project Specific Etiquette heading provides a space to speak more specifically about ways people can work effectively and inclusively together. Some examples of those can be found on the Firefox Debugger project, and Common Voice. (The optional part is commented out in the raw template file, and will not be visible until you modify and uncomment that part.)

If you have any questions about this file, or Code of Conduct policies and procedures, please reach out to [email protected].

(Message COC001)

add tests and quickstart guide

It'd be good to have a quickstart for contributors. The instructions in the README seem more involved than I'd like. It might be fine to just make the defaults friendlier for the "you just cloned this repository for the purposes of contributing to this project" context.

It'd be good to have tests.

Both of these are generally good project things. I'll look into fixing both of them if I find myself or others contributing more to chief. I figured it was a good idea to jot it down in the issues list in case someone else had a hankering to work on them.

Wiki changes

FYI: The following changes were made to this repository's wiki:

  • defacing spam has been removed

  • the wiki has been disabled, as it was not used

These were made as the result of a recent automated defacement of publically writeable wikis.

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.