Giter Site home page Giter Site logo

deploy-tix's Introduction

deploy-tix

Python scripts to generate Bugzilla deployment tickets for Mozilla Services.

Note: still under development. FOR OPS USE ONLY.

https://travis-ci.org/rpappalax/deploy-tix.svg?branch=dev-rpapa
Supported projects
  • loop-client
  • loop-server
  • msisdn-gateway
  • shavar
  • readinglist
  • pushgo (no CHANGELOG)

Example

-------------------
RELEASE NOTES
-------------------

https://github.com/mozilla/loop-client/releases


COMPARISONS

https://github.com/mozilla/loop-client/compare/0.13.4...0.13.5
https://github.com/mozilla/loop-client/compare/0.13.5...0.14.0
https://github.com/mozilla/loop-client/compare/0.14.0...0.15.0


TAGS

https://github.com/mozilla/loop-client/releases/tag/0.15.0
https://github.com/mozilla/loop-client/commit/d706753dbcacfe17081d8c04b54652dbee36302f


CHANGELOG
0.15.0 (2015-03-09)
-------------------

 - Bug 1047040 - Add browser-specific graphic of GUM prompt to the media-wait message
 - Bug 1131550 - Loop-client extraction script should preserve locale information when importing m-c changes
 - Bug 1135133 - Loop-client extraction script should support pulling from different repositories/branches
 - Bug 1137469 - If an uncaught exception occurs whilst processing an action, the dispatcher can fail, rendering parts of Loop inactive
 - Bug 1131568 - Update the OpenTok SDK to version 2.5.0

Setup

deploy-tix will make multiple calls to github API. You're allowed up to 60 calls / hour without authentication, but you'll soon run out!

Instead, create an access token from your github home page. Go to: #. Settings > Applications > Generate New Token #. Create an environment variable 'ACCESS_TOKEN' or enter it into the config.py:

$ export ACCESS_TOKEN=<your_access_token_here>

Build

$ make build
$ source ./venv/bin/activate

Run

(venv)$ ticket
Usage: ticket [args..] [options]

-h, --help            show this help message and exit
-o REPO_OWNER, --repo-owner REPO_OWNER Example: mozilla-services  (default: mozilla-services)
-r REPO, --repo REPO  Example: loop-server (default: None)
-e ENVIRONMENT, --environment ENVIRONMENT Example: STAGE, PROD (default: STAGE)
-u BUGZILLA_USERNAME, --bugzilla-username BUGZILLA_USERNAME (default: None)
-p BUGZILLA_PASSWORD, --bugzilla-password BUGZILLA_PASSWORD (default: None)
-z, --bugzilla-prod   Add this option, and you'll post to bugzilla prod  (default: False)

Example

Post to bugzilla-dev

$ ticket -o mozilla-services -r loop-server -e STAGE -u [email protected] -p password123

Post to bugzilla (add -z option)

$ ticket -o mozilla-services -r loop-server -e STAGE -u [email protected] -p password123 -z

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.