gecko-dev/testing/mozharness
Armen Zambrano Gasparnian 6e7426cf02 Bug 1203552 - Upload buildbot_properties.json for all builds. r=mshal
There are now Buildbot jobs which can be triggered via the Buildbot Bridge.
Buildbot test jobs triggered by BBB builds do not receive the installer and test
urls with a sendchange, hence, failling to run.

In order to pass the installer and test urls to Buildbot test jobs triggered
via BBB (which run with --read-buildbot-configs) we have added functionality
to find these build artifacts by querying TaskCluster.

Up until last quarter this worked because the Buildbot Bridge uploaded a proprties.json
file for every task it created to mirror a Buildbot job (bug 1221091).

Since that is broken, I have found that we can generate a buildbot_properties.json
file and upload it. The current upload mechanism for Buildbot build jobs is that
it creates a TC task and uploads the artifacts there. In this code change, we
determine when a Buildbot job is being driven by a task on TC (aka BBB) and tell
the upload system to use that task instead of creating a new one.

By doing that, tools like Mozilla CI tools can schedule TC graphs out of band by
specifying 'parent_task_id' and getting to the buildbot_properties.json file uploaded
by the parent build job.

--HG--
extra : commitid : 20XrR5whTms
extra : histedit_source : 2f41ffcd33ea7bb0a1fca1c95f92a2c4218b803e%2C7806527c93fc234daf87fa2c704138d4cd368cca
2015-11-10 12:56:58 -05:00
..
configs Bug 1211402. Re-enable the upload step, but take out the stuff that no longer works (as in, everything.) r=me 2015-10-29 11:39:49 -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 724190 - Move hgtool.py and gittool.py into external_tools/. DONTBUILD. r=jlund 2015-08-14 08:56:14 -04: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 1203552 - Upload buildbot_properties.json for all builds. r=mshal 2015-11-10 12:56:58 -05: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 1220641 - Push to mirrors prefix is too greedy. r=rail DONTBUILD 2015-11-10 10:00:49 -05:00
test Bug 1192068 - Use long hg revision for sourcestamp in mozharness; r=gps,jlund 2015-08-06 15:39:38 -04: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
README.txt Bug 1180063 - update mozharness docs, DONTBUILD r=me a=testing 2015-07-29 11:24:36 -07:00
requirements.txt 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.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 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
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

README.txt

# 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

### 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

### To run mozharness unit tests
```
pip install tox
tox  # from within the $gecko_repo/testing/mozharness directory
```

Happy contributing! =)