gecko-dev/testing/mozharness
Jordan Lund 9e528a95fa Bug 1277041 - add unique hg share option and rev in push with migration runs, DONTBUILD r=gps
this patch:

* forces always passing '-r' when pushing after a migration run
* removes '--new-branch' from beta_to_release push. we don't generate new branches on releases anymore because of release promotion!
* has migration runs use a unique share dir for each repo.

this can be used as a stop gap. maybe even a more permanent solution so we don't need to add complexity to robustcheckout for an edgecase like this.

MozReview-Commit-ID: HXY5vDI1pIt

--HG--
extra : rebase_source : 717e48dbf79115817e48adba8ed2f082d832fca0
2016-05-31 19:44:26 -07:00
..
configs Bug 1277041 - add unique hg share option and rev in push with migration runs, DONTBUILD r=gps 2016-05-31 19:44:26 -07:00
docs Bug 1154796 - make a copy of mozharness and put it in gecko tree, based on 4d855a6835ed, r=mshal 2015-07-03 09:04:58 -07:00
examples Bug 1154796 - make a copy of mozharness and put it in gecko tree, based on 4d855a6835ed, r=mshal 2015-07-03 09:04:58 -07:00
external_tools Bug 1272176 - Synchronize performance artifact schema with upstream; r=wlach 2016-05-17 14:45:12 -07:00
mozfile Bug 1154796 - make a copy of mozharness and put it in gecko tree, based on 4d855a6835ed, r=mshal 2015-07-03 09:04:58 -07:00
mozharness Bug 1277041 - add unique hg share option and rev in push with migration runs, DONTBUILD r=gps 2016-05-31 19:44:26 -07:00
mozinfo Bug 1154796 - make a copy of mozharness and put it in gecko tree, based on 4d855a6835ed, r=mshal 2015-07-03 09:04:58 -07:00
mozprocess Bug 1154796 - make a copy of mozharness and put it in gecko tree, based on 4d855a6835ed, r=mshal 2015-07-03 09:04:58 -07:00
scripts Bug 1277041 - add unique hg share option and rev in push with migration runs, DONTBUILD r=gps 2016-05-31 19:44:26 -07:00
test Bug 1270317 - Use robustcheckout extension for checking out Mercurial repos; r=jlund 2016-05-16 16:56:14 -07:00
LICENSE Bug 1154796 - make a copy of mozharness and put it in gecko tree, based on 4d855a6835ed, r=mshal 2015-07-03 09:04:58 -07:00
mach_commands.py Bug 1238079 - remove the desktop web runtime; r=fabrice,mossop,gps,jryans,jmaher,marco 2016-03-07 13:33:12 -08:00
README.txt Bug 1240733 - Improve tox configuration for optional arguments. r=jlund DONTBUILD 2016-01-20 11:01:19 +01:00
requirements.txt Bug 1270317 - Upgrade to Mercurial 3.7.3 in the mozharness test environment; r=jlund 2016-05-06 10:49:08 -07:00
setup.cfg Bug 1154796 - make a copy of mozharness and put it in gecko tree, based on 4d855a6835ed, r=mshal 2015-07-03 09:04:58 -07:00
setup.py Bug 1154796 - make a copy of mozharness and put it in gecko tree, based on 4d855a6835ed, r=mshal 2015-07-03 09:04:58 -07:00
tox.ini Bug 1270317 - Upgrade to Mercurial 3.7.3 in the mozharness test environment; r=jlund 2016-05-06 10:49:08 -07:00
unit.sh Bug 1154796 - make a copy of mozharness and put it in gecko tree, based on 4d855a6835ed, r=mshal 2015-07-03 09:04:58 -07:00

# Mozharness

## Docs
* https://developer.mozilla.org/en-US/docs/Mozharness_FAQ
* https://wiki.mozilla.org/ReleaseEngineering/Mozharness
* http://moz-releng-mozharness.readthedocs.org/en/latest/mozharness.mozilla.html
* http://moz-releng-docs.readthedocs.org/en/latest/software.html#mozharness

## Submitting changes
Like any Gecko change, please create a patch or submit to Mozreview and
open a Bugzilla ticket under the Mozharness component:
https://bugzilla.mozilla.org/enter_bug.cgi?product=Release%20Engineering&component=Mozharness

This bug will get triaged by Release Engineering

## Run unit tests
To run the unit tests of mozharness the `tox` package needs to be installed:

```
pip install tox
```

There are various ways to run the unit tests. Just make sure you are within the `$gecko_repo/testing/mozharness` directory before running one of the commands below:

```
tox                            # run all unit tests
tox -- -x                      # run all unit tests but stop after first failure
tox -- test/test_base_log.py   # only run the base log unit test
```

Happy contributing! =)