Changes

Jump to: navigation, search

ReleaseEngineering

2,837 bytes added, 09:04, 2 August 2018
no edit summary
* [[ReleaseEngineering/Day_1_Checklist|day 1 checklist]]
* [[ReleaseEngineering/Day_-1_Checklist|day -1 checklist]]
 
= Run the tasks to staging pools (OSX/Linux) =
* Clone mozilla-central to local machine: hg clone ssh://hg.mozilla.org/mozilla-central
* Add the following changes to taskcluster/taskgraph/transforms/task.py file:
<pre>
@transforms.add
def replace_level_in_workertype(config, tasks):
"""
This transform replaces {level} in workerType name with actual scm level.
"""
for task in tasks:
level = str(config.params['level'])
task['worker-type'] = task['worker-type'].format(level=level)
yield task
 
@transforms.add
def use_beta_workertypes(config, tasks):
"""
This transform uses a dictionary of worker type names to worker type names
in order to map one set of worker types to another set. This is typically
useful when you want to run a try push against a staging set of worker
types, that you want to test before rolling them out to production.
"""
find_replace_dict = {
"releng-hardware/gecko-t-osx-1010": "releng-hardware/gecko-t-osx-1010-beta",
}
# This will replace releng-hardware/gecko-t-osx-1010 worker-type with releng-hardware/gecko-t-osx-1010-beta
# for Linux, you will need to use releng-hardware/geck-t-linux-talos with releng-hardware/geck-t-linux-talos-b
for task in tasks:
if task['worker-type'] in find_replace_dict:
task['worker-type'] = find_replace_dict[task['worker-type']]
yield task
 
@transforms.add
def build_task(config, tasks):
for task in tasks:
level = str(config.params['level'])
provisioner_id, worker_type = task['worker-type'].split('/', 1)
</pre>
* Commit the changes using the following commit message: hg commit -m "<commit_message>; try: -b do -p macosx64 -u all -t none". The <commit_message> will be a message that will describe your action, like: Run all tests on OSX staging workers.
* Push the changes into try repository: hg push -f -r . ssh://hg.mozilla.org/try
* You will receive an email like this:
<pre>
Thank you for your try submission. It's the best!
 
Results will be displayed on Treeherder as they come in:
https://treeherder.mozilla.org/#/jobs?repo=try&revision=6657878a04024803ce0aae0601627810b2d8d95e
 
It looks like this submission has talos jobs. You can compare the performance of your push against a baseline revision here:
https://treeherder.mozilla.org/perf.html#/comparechooser?newProject=try&newRevision=6657878a04024803ce0aae0601627810b2d8d95e
 
Once completed, all build and log artifacts will be available through the Treeherder URL above.
 
All Taskcluster based artifacts can also be found in the Taskcluster Artifact Index:
e.g. https://tools.taskcluster.net/index/artifacts/gecko.v2.try.revision.6657878a04024803ce0aae0601627810b2d8d95e
 
Summary: Test linux generic-worker; try: -b do -p linux64 -u none -t chromez-e10s
</pre>
12
edits

Navigation menu