/ship-it

Internal tool to manage release builds

Primary LanguagePython

Release Kick-off

CI Build Status

Build Status Coverage Status Code Health

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, Windows, or 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, please enter some releases to feed the database.

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