Git Product home page Git Product logo

ship-it's Introduction

Release Kick-off

CI Build Status

Build Status Coverage Status

Product-details JSON sync status: Build Status

About

Release kick-off (ship-it) is a Mozilla "internal" tool used to start the release of Firefox Desktop, Android and Thunderbird. This tool is specific to Mozilla workflows and tools.

Python Deps

Dependencies are listed in requirements/*.txt.

  • compiled+prod are required to run in production
  • compiled+prod+dev are required to run the standalone server/tests

Running Locally

To get the list of options:

$ python kickoff-web.py --help

To run release-kickoff using mysql with docker:

  • docker-compose build
  • docker-compose up

To run release-kickoff using a sqlite database

  • python kickoff-web.py -d sqlite://///var/www/update.db --username=admin --password=password

Or with MySQL:

  • python kickoff-web.py -d mysql://root@localhost/ship_it --username=admin --password=password

Open your Firefox on: http://127.0.0.1:5000/

If you're on Mac or Windows, you'll need Docker for Mac or Docker for Windows v1.12.0 or higher. Or if you're running Docker in a VM for another reason, you'll need to replace 127.0.0.1 with the IP of your VM.

To have the auto completion in the various forms there needs to be some releases in the database. A snapshot of data is included in the repo. You can reset the db by removing the .cache/mysql directory and run docker-compose up.

Testing

To run python and JS tests with docker:

  • docker build -t shipit-test-runner -f Dockerfile-tests ./
  • docker run --rm -v $(pwd):/src -ti shipit-test-runner /src/scripts/run_tests.sh

Deployment

After a PR is merged to master, it is automatically deployed (checked every 10 minutes) to https://ship-it-dev.allizom.org/ and https://ship-it.allizom.org/. In order to deploy to production, the master branch should be pushed to the production branch:

git push origin origin/master:production

The current revision can be verified by browsing at https://ship-it.mozilla.org/static/revision_info.txt

ship-it's People

Contributors

sylvestre avatar bhearsum avatar johanlorenzo avatar pascalchevrel avatar nthomas-mozilla avatar flodolo avatar callek avatar clokep avatar gerva avatar johnlzeller avatar kyoshino avatar jcristau avatar bkero avatar linux-modder avatar marco-c avatar kewisch avatar lsblakk avatar moul avatar ninadbhat avatar rimas-kudelis avatar theochevalier avatar

Watchers

James Cloos avatar  avatar

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.