Commit Graph

242 Commits

Author SHA1 Message Date
Aki Sasaki
86f7b2f5e3 bug 1431799 - add RC secondary tasks. r=bhearsum
MozReview-Commit-ID: 2hq4K5QVbWy

--HG--
rename : taskcluster/ci/release-balrog-publishing/kind.yml => taskcluster/ci/release-secondary-balrog-publishing/kind.yml
rename : taskcluster/ci/release-notify-ship/kind.yml => taskcluster/ci/release-secondary-notify-ship/kind.yml
extra : rebase_source : 58a1297f50f182209290a1a968ece11eb8216e13
extra : source : 4887dd855680205a24f34f54a64a85de31d1bfa9
2018-01-29 16:19:52 -08:00
Aki Sasaki
5795b692ae bug 1431799 - add version input to release promotion action. r=bhearsum
also clean up and move more config to the promotion config.

MozReview-Commit-ID: FmTWNNPcEaZ

--HG--
extra : rebase_source : 40431217fafb6796dbd65c7dfeab0e891ac1bbd4
extra : source : 0f5418a83477c1b6b221e4d28515792410e504d0
2018-01-26 13:09:35 -08:00
Sylvestre Ledru
3a35e750f3 Bug 1433417 - Fix a bunch of typo in the doc r=ahal
MozReview-Commit-ID: LRgL0CMJdDP

--HG--
extra : rebase_source : b99364bb96c1501a674a1726a3b5fdf0664a8e4f
2018-01-26 12:50:07 +01:00
Johan Lorenzo
7d18b55efa Bug 1431397 - Pass release_eta down from action task input r=bhearsum
MozReview-Commit-ID: Ggybpiv5XQo

--HG--
extra : rebase_source : 9ac9de595aad73b874e6c4850c83a9000be55e53
2018-01-18 15:10:53 +01:00
Dustin J. Mitchell
74237a9cc3 Bug 1403519: reset SCHEDULES.exclusive if set multiple times; r=gps
MozReview-Commit-ID: Kycd9i5f19P

--HG--
extra : rebase_source : 9d9557f82982f0ef2605645db28adf68289e1cfa
2018-01-16 22:33:08 +00:00
Noemi Erli
1c9bbfbebc Backed out 2 changesets (bug 1403519) for bustage on \python\mozbuild\mozbuild\test\frontend\test_reader.py on a CLOSED TREE
Backed out changeset f53f8adcd578 (bug 1403519)
Backed out changeset 5b293bcd3fc7 (bug 1403519)
2018-01-17 07:23:40 +02:00
Dustin J. Mitchell
9888ac630f Bug 1403519: reset SCHEDULES.exclusive if set multiple times; r=gps
MozReview-Commit-ID: Kycd9i5f19P

--HG--
extra : rebase_source : d20a7b921c138a7ecae9e31c57a509c201eda8cf
2018-01-16 22:33:08 +00:00
Tom Prince
345a5d6fda Bug 1430006: Allow configuring scriptworkers per-graph config; r=aki
Differential Revision: https://phabricator.services.mozilla.com/D379

--HG--
extra : rebase_source : c52684c1a65017698d29979f35afed646ca5c90c
2018-01-09 10:44:04 -07:00
Dustin J. Mitchell
74d1082c88 Bug 1426275: document SCHEDULES in reStructuredText; r=ahal
MozReview-Commit-ID: 9TdVLzBfXHF

--HG--
extra : rebase_source : 39c95d50dc05577c6724536c54432e5e0af2035a
2017-12-27 22:19:45 +00:00
Johan Lorenzo
2edb319949 Bug 1385401 - Fetch Google Play listings outside of the push-apk task r=aki
MozReview-Commit-ID: HVFVqjliqor

--HG--
extra : rebase_source : a1f4ac27254b42766661677132ccae4427a3c494
2018-01-08 16:14:26 +01:00
Johan Lorenzo
46a0fff037 Backed out changeset a32acea9d091 (Bug 1385401)
It broke the upload of Fennec nightly onto Google Play
2018-01-07 08:12:28 +01:00
Mike Hommey
f2d7b58712 Bug 1427312 - Add mechanism to create tasks to compare Firefox builds. r=dustin
There are e.g. some build infrastructure changes that we want to have a
controlled impact on the Firefox builds we produce. We have, in multiple
occasions, gone through manual work to compare Firefox builds, most of
the time using the diffoscope tool (https://diffoscope.org/).

This change introduces a new task kind that takes two Firefox builds as
input, either by name (reference to a build from the current task graph)
or by index (reference to a build from a previous push), and compares
them.

In order to get a Firefox build by index, we rely on dummy tasks with
an optimization we expect to always hit, so we add the necessary bits
to ensure those dummy tasks can go through up to the optimization phase
and be optimized out there.

--HG--
extra : rebase_source : 37482f67652dab2fcef2db4e6b8efe653999bae5
2017-12-28 12:14:34 +09:00
Johan Lorenzo
3757bebc72 Bug 1385401 - Fetch Google Play listings outside of the push-apk task r=aki
MozReview-Commit-ID: 2PTvLx4Atj5

--HG--
extra : rebase_source : e455755b3a20c290b0a54fb60b90efb6ca756fb4
2018-01-05 13:49:59 +01:00
Mike Hommey
9446498abc Bug 1427326 - Add support for building Debian packages. r=dustin
--HG--
extra : rebase_source : 6006d84f619ffdc6c64028ca589ed78dc65c6898
2017-12-29 13:02:23 +09:00
Ben Hearsum
803588341a bug 1398793: enable cross platform update verify for in-tree releases. r=aki 2018-01-03 14:28:24 -05:00
Johan Lorenzo
5a8139bcbc bug 1423081 - Add balrog publishing task. r=callek
MozReview-Commit-ID: 3FF9KI0JUYN

--HG--
extra : rebase_source : 50d29053c4ce4b82a699116d988721057905cd57
extra : source : 7c06d92874cfa532b333cb2004ce3ecdc8c4885e
extra : histedit_source : 5b4e0595811ed93ddbb73d30994a55344bdc89d3
2017-12-13 11:42:58 -06:00
Aki Sasaki
39ddc8bb6f bug 1423081 - add checksums builder. r=callek
MozReview-Commit-ID: Gyd6DPzWi35

--HG--
extra : rebase_source : 80d1af2897d3cd934261309cd8d0c6949427f557
extra : histedit_source : 6a9c119981685a3dad7a94537604abe527ffa853
2017-12-07 16:05:25 -08:00
Aki Sasaki
356fe445dd bug 1423081 - desktop tc relpro taskcluster docs. r=callek
MozReview-Commit-ID: JJGlzcJbBR4

--HG--
extra : rebase_source : faf176f24eca794e11dc4df94a0c45ffdc71f4ed
extra : histedit_source : c320c92a781e22bf1daf0cec1d0266b5c80ea6ce
2017-12-05 19:42:24 -08:00
Aki Sasaki
65e5de7f35 bug 1423081 - desktop release update/final verify support. r=callek
MozReview-Commit-ID: AJsterLOwYg

--HG--
extra : rebase_source : b8e3a27ed48316d1c1bbf3a343ad104628c7cda9
extra : histedit_source : 5a1d06e70f0f81028c34212c6430323e0708ed74
2017-12-05 19:21:21 -08:00
Aki Sasaki
ded142a67b bug 1423081 - add firefox + devedition relpro. r=callek
Add support for the three firefox and devedition relpro flavors (we
could probably reduce devedition to 2).

Also, instead of defining which kinds to use from the previous graph
in `previous_graph_kinds`, specify which kinds to rebuild (ignore)
from the previous graph in `rebuild_kinds`. This list will be much
smaller (currently empty).

MozReview-Commit-ID: 5rH1TW7GbAD

--HG--
extra : rebase_source : b4294a0d17a99b2ffd48f5d62821c724324b242c
extra : histedit_source : b3fe87101e4595f5fc5c7daaa2d4a0bd88418667
2017-12-05 19:09:19 -08:00
Armen Zambrano G.
a97dfc7c07 Bug 1422133 - Generate runnable-jobs.json.gz file as part of the Gecko decision task run. r=dustin
The runnable jobs API on Treeherder is timing out quite frequently.
This is due that it downloads the full-task-graph.json artifact from the Gecko decision task.

This file has grown to be massive (over 30MB) and that takes too long to fetch. The API times out after 20 seconds.

The data we need from the artifact is minimal. We can generate a file with just the minimum amount of data needed.

This code change adds logic to generate a runnable-jobs.json.gz file after the full-task-graph.json artifact is generated.

MozReview-Commit-ID: 9u2H7HbUAcl

--HG--
extra : rebase_source : f450527e7dd565e29cfe2e04dc52761e77827cc0
2017-11-30 16:05:53 -05:00
Bill McCloskey
45299a7808 Bug 1418188 - Run Searchfox indexing in TaskCluster on a daily basis (r=dustin,chmanchester)
MozReview-Commit-ID: FKrA8ejwuic
2017-11-23 07:25:12 -08:00
Bill McCloskey
e00b31adbc Revert "Bug 1418188 - Run Searchfox indexing in TaskCluster on a daily basis (r=dustin,chmanchester)"
This reverts commit ae02e7fc64ac3c3faa991cee297defdf69643101.
2017-11-22 15:17:11 -08:00
Bill McCloskey
6e72ea5d62 Bug 1418188 - Run Searchfox indexing in TaskCluster on a daily basis (r=dustin,chmanchester)
MozReview-Commit-ID: FKrA8ejwuic
2017-11-22 14:33:50 -08:00
Tom Prince
3852b33ae4 Bug 1415619: Add some sphinx documentation pointing at taskgraph configuration. r=dustin
MozReview-Commit-ID: 3EAu9bkln8h

--HG--
extra : rebase_source : 0acb6c32a3a1a4bec24513006a586e9a422e1728
2017-11-15 14:17:07 -07:00
Tom Prince
dd4df1aec9 Bug 1415619: Add a separate trust-domain to cached tasks. r=dustin,gps
This allows firefox and thunderbird builds to avoid using each others bits.

MozReview-Commit-ID: KYQYDd2tkGj

--HG--
extra : rebase_source : 42f1d13ec609f066cb3bd3050ed894296b72d982
2017-11-09 17:15:29 -07:00
Tom Prince
e034757087 Bug 1415619: Use gecko.caches for indexing docker tasks. r=dustin
MozReview-Commit-ID: IN17XmVk7HJ

--HG--
extra : rebase_source : 213d14d89b920db74887714b45df8c1d64a6dbb6
2017-11-09 17:08:41 -07:00
Aki Sasaki
f70d96b001 bug 1415391 - add shipping_phase and shipping_product attributes. r=dustin
These two new attributes will help us determine which tasks belong in which release promotion graphs. In the future, we'll specify these for all shippable builds as well, and we can reduce the usage of the `product` keys. However, sometimes we need `product` to differ from `shipping-product` (e.g., `mobile` vs `fennec`; in this case we mean `stage_product` vs `shipping_product`), so I haven't yet touched those key/value pairs.

MozReview-Commit-ID: LEuf4CS277Q

--HG--
extra : rebase_source : 4971883500658ace209bec97a639a54c94292b50
2017-11-08 18:02:28 -08:00
Aki Sasaki
ec4ec0f124 bug 1415391 - parameterize next_version and build_number. r=dustin
Instead of relying on environment variables, pass these in as parameters.

MozReview-Commit-ID: An58Bu2kd1g

--HG--
extra : rebase_source : 9c7b6beb13b676a3376a897f2c8143cc042b8276
2017-11-08 15:52:48 -08:00
Andrew Halberstadt
1fdddacae3 Bug 1414919 - [taskgraph] Create a 'rebuild' morph template, r=dustin
This template takes a single integer as input, and sets the 'task_duplicates'
attribute on any tasks that were explicitly specified by try_task_config.json.
This means dependent tasks or 'always_target' tasks will not be rebuilt.

To support this template, the apply_jsone_templates morph now requires the
entire try_task_config object instead of just the templates.

MozReview-Commit-ID: DwxUtlC5VD5

--HG--
extra : rebase_source : c57a80ada2fc4591a5ce4c94965b8c9f02bb53b1
2017-11-07 10:22:35 -05:00
Andrew Halberstadt
1ec6a60b5b Bug 1414919 - [taskgraph] Allow morph templates to also modify task attributes, r=dustin
The motivation for this change is to create a 'rebuild' template that sets
'attributes.task_duplicates'. A nice side effect is that if any of 'task'
or 'attributes' aren't explicitly set, we can ignore the result which means
we don't need to have a whole bunch of 'else' clauses in the templates.

MozReview-Commit-ID: DX3UyFGb4ff

--HG--
extra : rebase_source : b768cb9f9df3cb22827209519f1cd2a4944af74f
2017-11-07 10:18:56 -05:00
Andrew Halberstadt
7e8349c9a0 Bug 1408352 - [taskgraph] Implement 'always_target' attribute, r=dustin
Tasks that have the 'always_target' attribute set will be always be included
in the target_task_graph, regardless of target task filtering.

Furthermore, if they were only added because of this attribute (i.e, the
filters would have excluded the task), then the task will be a candidate for
optimization even if the 'optimize_target_tasks' parameter is False.

MozReview-Commit-ID: 9eoVJ5qpAMO

--HG--
extra : rebase_source : 9635002720d088ca9870649f3143d6293c666610
2017-10-30 09:41:51 -04:00
Rok Garbas
a81412addb Bug 1412690 - fennec release driver emails. r=aki
This patch adds the `release-notify-promote` and `release-notify-publish` kinds. It also genericizes all the notifications, and updates the kinds that use those notifications.

MozReview-Commit-ID: 9ymXKzthVF4

--HG--
extra : rebase_source : 6d7db48afa14e4124834321784da65e8d1e84c98
2017-10-29 17:35:03 -07:00
Aki Sasaki
6abeef4e00 bug 1412690 - beetmover-cdns. r=rail
This patch adds the beetmover-cdns kind, and adds it to
`publish_fennec`.

This was the first non-buildbot-bridge, non-dummy relpro task, so this
needed a new transform.

This patch also updates the `previous_graph_kinds` and updates the
beetmover scopes in scriptworker.py.

MozReview-Commit-ID: 3rpkjuLjjXz

--HG--
extra : rebase_source : d491f1ce5d10ee8f2602698236106007e203c358
2017-10-29 17:32:22 -07:00
Rok Garbas
5ef4a1dd30 Bug 1412690 - fennec version bump in-tree task. r=aki
This patch adds the initial `release-version-bump` kind, and adds it to
the `publish_fennec` `target_tasks_method`.

It also adds support for `next_version`.

MozReview-Commit-ID: 9YRswddeuZ3

--HG--
extra : rebase_source : 991cbf89b40c4ef980c42251001e81be5cedaf00
2017-10-29 17:25:01 -07:00
Rail Aliiev
1538ea94d6 Bug 1412690 - Fennec uptake monitoring in-tree task. r=aki
This patch adds the initial `release-uptake-monitoring` kind, and adds
it to the `publish_fennec` `target_tasks_method`.

MozReview-Commit-ID: 3RDMNGrbBwD

--HG--
extra : rebase_source : f504c8e173337d45bc9f374bd0349c6823b50ffb
2017-10-29 17:23:12 -07:00
Rail Aliiev
530a285ff2 Bug 1412690 - Fennec bouncer aliases in-tree task. r=aki
This patch adds the initial `release-bouncer-aliases` kind, and adds it
to the `publish_fennec` `target_tasks_method`.

It also adds the ability to specify the `tuxedo_server_url`
`by-project`.

MozReview-Commit-ID: 9I4IaUlbCCD

--HG--
extra : rebase_source : d0ed88a687ef6fb9f97dc67c0f04742bbfeb201d
2017-10-29 17:18:46 -07:00
Rail Aliiev
9fe373f8ea Bug 1412690 - Fennec mark release as shipped in-tree task. r=aki
This patch adds the initial `release-mark-as-shipped` kind, and adds it to
the `publish_fennec` `target_tasks_method`.

MozReview-Commit-ID: F8AYscJQWlh

--HG--
extra : rebase_source : 9522b95f65b5b373a54bc0fc01a20c72adbee0cb
2017-10-29 17:16:37 -07:00
Aki Sasaki
98dd2a1e7a bug 1412690 - add fennec release bouncer sub. r=rail
This patch adds the first releasetask as a new kind. To support this, we
added a new `release-promotion` flag in the buildbot job. If this is
set, we use the new `bb_release_worker` function; otherwise we fall back
to the `bb_ci_worker` function (this is the old behavior, factored out
into a separate function).

We also added `build_number` and `release_promotion` attributes in the
task definition.  Finally, `build_number` now defaults to 1, allowing us
to create the task graph locally without forcing us to set
`BUILD_NUMBER` in the environment.

MozReview-Commit-ID: 8vNMHJemqAG

--HG--
extra : rebase_source : c8816d3e7b2f5358ea51ee8d5fb12585e67e9853
2017-10-29 17:11:41 -07:00
Aki Sasaki
f6e2f73426 bug 1397552 - add a release promotion action. r=bstack
Add a release promotion custom action for releng's TC release promotion migration work.

This action generates a graph dependent on previously built tasks. To track these, we add the `do_not_optimize` and `existing_tasks` parameters. The `do_not_optimize` parameter specifies tasks that we want to explicitly exclude from taskgraph optimization. The `existing_tasks` parameter specifies a label-to-taskid map for tasks from previous graphs.

MozReview-Commit-ID: 1vKrNUavM4V

--HG--
extra : rebase_source : b8ba95d270aafe1464c2b3bfc318b9568500a7a1
2017-10-24 15:28:19 -07:00
Mike Hommey
f88329d02f Bug 1409260 - Remove tc-vcs caches. r=dustin,gps
--HG--
extra : rebase_source : bc8a0e8807c1dd6d2a662c7c1fc8ad33af88efe9
2017-10-17 15:12:18 +09:00
Dustin J. Mitchell
3e72eff02a Bug 1403342 - default to -j none and do not optimize_target_tasks for try; r=ahal
With this in place, all `-j`obs will not run by default on try.  This will omit
such jobs in most try pushes even if files-changed matches. This is
unfortunate, but better than running them unconditionally.  Fuzzy selections,
and later `just try it` pushes, are the ultimate solution here.

With this change, a push with no try syntax or try_task_config.json will schedule
no tasks at all.

MozReview-Commit-ID: FGjqlDW1FT6

--HG--
extra : rebase_source : 727ceafb1b6d24f83c0c7382b6a877ecb65863ab
2017-10-03 21:15:15 +00:00
Tom Prince
688b333cd7 Bug 1385055 - Add some taskgraph parameters for dealing with comm-central and related repositories. r=dustin
MozReview-Commit-ID: 4tdxfJcx8Fz

--HG--
extra : rebase_source : 9e4002a409b9d2a4134cd8ef745e9ca874d1730a
2017-07-27 12:26:48 -06:00
Andrew Halberstadt
776ed09b77 Bug 1404067 - [tryselect] Improve error message on parameter mismatch, r=dustin
MozReview-Commit-ID: GMiGuNApoUF

--HG--
extra : rebase_source : 326df920793b54806cd4423ec0bf0e20df6cd42d
2017-09-28 15:25:34 -04:00
Brian Stack
17f6f5f45c Bug 1400223 - Merge tasks added by action tasks into graphs used for subsequent tasks r=dustin
MozReview-Commit-ID: 7ZTbS5h0vPA

--HG--
extra : rebase_source : c1acea26ac526c672f6630504ae69bbe7dbd6677
2017-09-20 12:52:29 -07:00
Justin Wood
66724b3aca Bug 1402457 - Add periodic file update task, but don't run it yet. r=dustin
MozReview-Commit-ID: GD7qRLxwDn5

--HG--
extra : rebase_source : 7a4874f7229a69630cdd3e44815de682678cb1f2
2017-09-22 14:25:28 -04:00
Dustin J. Mitchell
0ee5e3c281 Bug 1383880: parse try config during the decision task; r=ahal
This sets the try_mode property, and parses the try message (if given), early
in the decision task and puts the results into the parameters.

The proximate need is to set optimze_target_tasks for some try modes and not
others. This also replaces the existing logic for parsing messages for certain
kinds, and makes the distinction between the different try modes a little
clearer.

MozReview-Commit-ID: AXJEGLh6pEV

--HG--
extra : rebase_source : 25e9966696d78d899783d9f38533d5ae66f9ccb9
extra : source : b53ff084c2d7968a1d9864d1343f2d9381fb652b
2017-08-21 23:14:14 +00:00
Dustin J. Mitchell
400f6f88ad Bug 1383880: optimize in three phases; r=ahal
In preparation for much more thorough optimization of task-graphs, this
makes a few changes:

 * optimization is split into thre phases, with task removal in one phase
   (following dependency links) and task replacement in the next (in the
   reverse order).
 * optimization uses class instances instead of functions for optimizations;
   this allows different functions for different phases, and also leaves open
   the possibility of composing optimizations.
 * the replacement phase can also support removal; this is when utility tasks
   like symbol uploads can be optimized away iff their parent task is
   optimized.

MozReview-Commit-ID: C5QznNpwqXn

--HG--
extra : rebase_source : cf1654036041a64398a2cd38e35e8de4f3596ff9
extra : source : c25af2c111a5be4e3381d0b002641691d15fe4e8
2017-08-20 20:00:17 +00:00
Phil Ringnalda
aad01e0dc2 Backed out 12 changesets (bug 1383880) for decision task bustage
CLOSED TREE

Backed out changeset fd3615e7e0a3 (bug 1383880)
Backed out changeset 8cceb6a82bfb (bug 1383880)
Backed out changeset 571a6c9054a5 (bug 1383880)
Backed out changeset ec2b8ba5a949 (bug 1383880)
Backed out changeset 8e5847d9acda (bug 1383880)
Backed out changeset b354fdf6e233 (bug 1383880)
Backed out changeset ebdd6ccbcfca (bug 1383880)
Backed out changeset ebcc9d20981a (bug 1383880)
Backed out changeset 97eedc84d6e8 (bug 1383880)
Backed out changeset a3116da52b4e (bug 1383880)
Backed out changeset b3eb0c939720 (bug 1383880)
Backed out changeset 7c07cb798530 (bug 1383880)

MozReview-Commit-ID: EPDuQHr7w2y
2017-09-20 19:57:39 -07:00
Dustin J. Mitchell
7e1b6b079a Bug 1383880: parse try config during the decision task; r=ahal
This sets the try_mode property, and parses the try message (if given), early
in the decision task and puts the results into the parameters.

The proximate need is to set optimze_target_tasks for some try modes and not
others. This also replaces the existing logic for parsing messages for certain
kinds, and makes the distinction between the different try modes a little
clearer.

MozReview-Commit-ID: AXJEGLh6pEV

--HG--
extra : rebase_source : 03a10610aa3337269fe76a1196bb9b1665e1ab20
extra : source : b53ff084c2d7968a1d9864d1343f2d9381fb652b
2017-08-21 23:14:14 +00:00