Граф коммитов

35 Коммитов

Автор SHA1 Сообщение Дата
Justin Wood 32a8663622 Bug 1606899 - Fix 'NameError: global name ...' error which regressed from Bug 1604749. r=tomprince a=releng DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com//D58646

--HG--
extra : amend_source : f10cc928406410f16f036279db824f803977b692
2020-01-03 22:06:19 +02:00
Tom Prince bff49201f2 Bug 1604749: [taskgraph] Fix tests for index morph; r=Callek
Differential Revision: https://phabricator.services.mozilla.com/D58412

--HG--
extra : moz-landing-system : lando
2019-12-31 04:26:11 +00:00
Tom Prince bc367203d4 Bug 1604749: Get misc worker-type from graph config; r=Callek
This will allow comm branches to use their own worker type.

Differential Revision: https://phabricator.services.mozilla.com/D58408

--HG--
extra : moz-landing-system : lando
2019-12-30 22:54:10 +00:00
Andrew Halberstadt c1a671d9c9 Bug 1496768 - [taskgraph] Move remaining try configs from the morph to full_task_graph generation, r=tomprince
Handles 'env' and 'chemspill-prio' configs in the transforms. The 'rebuild'
task config is purposefully excluded from the full_task_graph and instead
handled at the target_tasks stage. Otherwise if a user ran '--rebuild 20' then
retriggered one of those tasks, they'd instead get another 20 which is almost
certainly not what we want.

Differential Revision: https://phabricator.services.mozilla.com/D51417

--HG--
extra : moz-landing-system : lando
2019-11-22 23:28:57 +00:00
Tom Prince bbeda44922 Bug 1589706: [firefox-ci] Switch gecko-misc workers to aws-provider worker pools; r=Callek a=me
Differential Revision: https://phabricator.services.mozilla.com/D52075

--HG--
extra : rebase_source : c73e03a1685f83d8ade7d42a4ff6996adced97c5
extra : histedit_source : ca2fd9ed960a04b31c1a0eeb8f41a4dde9208a84
2019-11-06 10:20:11 -07:00
Rob Lemley 19e0476128 Bug 1559199 - Add 'comm' prefix to list of potential index prefixes. r=dustin
Fixes failing index jobs on Thunderbird builds.

Differential Revision: https://phabricator.services.mozilla.com/D38107

--HG--
extra : moz-landing-system : lando
2019-07-16 18:27:31 +00:00
Tom Prince 6e635b61b5 Bug 1524639: [taskgraph] Change `load_yaml` to accept any number of path components; r=dustin
Differential Revision: https://phabricator.services.mozilla.com/D18374

--HG--
extra : moz-landing-system : lando
2019-02-04 16:55:54 +00:00
Dustin J. Mitchell 536dc55522 Bug 1492664 - add {artifact-reference: ..}; r=tomprince
This provides an easy way to encode an artifact URL in static data such as
taskcluster/ci/nightly-l10n/kind.yml, without knowing in advance the format of
the URL.

--HG--
extra : rebase_source : 5b5229d96aad2916b1b3c8e72045c1d461fc1c02
extra : source : 9c35dd209c6b407bc3a45ce7b4c27272ef1bb486
2018-09-25 20:26:55 +00:00
Sebastian Hengst 767c971623 Backed out 21 changesets (bug 1492664) for breaking cron task for nightlies. a=backout
Backed out changeset a7d50dbb2c8e (bug 1492664)
Backed out changeset 2d876c4ece8b (bug 1492664)
Backed out changeset c82285d253de (bug 1492664)
Backed out changeset bf6d089640eb (bug 1492664)
Backed out changeset d9a7f2ce49c3 (bug 1492664)
Backed out changeset 06c466ab4323 (bug 1492664)
Backed out changeset c1ea4a10cc8d (bug 1492664)
Backed out changeset 4c63a04fdd47 (bug 1492664)
Backed out changeset 742b038bb1dd (bug 1492664)
Backed out changeset 911b4b0fb683 (bug 1492664)
Backed out changeset 870c8cec99e5 (bug 1492664)
Backed out changeset 77699b51336b (bug 1492664)
Backed out changeset 29f33f22fd8b (bug 1492664)
Backed out changeset e7f305408708 (bug 1492664)
Backed out changeset 335a92b1f424 (bug 1492664)
Backed out changeset c566f1c8dcdf (bug 1492664)
Backed out changeset c77ae59aba41 (bug 1492664)
Backed out changeset 9c35dd209c6b (bug 1492664)
Backed out changeset a972d6b4434e (bug 1492664)
Backed out changeset 5ea6f03f845e (bug 1492664)
Backed out changeset 0699d3873e44 (bug 1492664)

--HG--
extra : histedit_source : 5cb1f7e50f25d4a875c1a58c86b7dce902e1a89c%2C20f1ab1a843b612cfcc67cf5c6ff745d65abf076
2018-12-20 12:43:22 +02:00
Dustin J. Mitchell e860ab8925 Bug 1492664 - add {artifact-reference: ..}; r=tomprince
This provides an easy way to encode an artifact URL in static data such as
taskcluster/ci/nightly-l10n/kind.yml, without knowing in advance the format of
the URL.

--HG--
extra : rebase_source : 25c99d392e9b71c514f236379a816fae971e161a
2018-09-25 20:26:55 +00:00
Margareta Eliza Balazs 2e5e28f518 Backed out 16 changesets (bug 1492664) for breaking developer artifact builds, requested by standard8 a=backout
Backed out changeset 31e500489665 (bug 1492664)
Backed out changeset f4945658d45f (bug 1492664)
Backed out changeset 6d17291b8b92 (bug 1492664)
Backed out changeset 90f3faa36137 (bug 1492664)
Backed out changeset 0b229b00818a (bug 1492664)
Backed out changeset 5eb2c77d70a9 (bug 1492664)
Backed out changeset e1ebad5d89c5 (bug 1492664)
Backed out changeset 3017e5890739 (bug 1492664)
Backed out changeset c8b7e620eabf (bug 1492664)
Backed out changeset d3dfbd848236 (bug 1492664)
Backed out changeset 5c92bb5ac895 (bug 1492664)
Backed out changeset fb7cfca6ebc3 (bug 1492664)
Backed out changeset 0c4101230d4d (bug 1492664)
Backed out changeset b93a0fcc86f3 (bug 1492664)
Backed out changeset 6dc9522ee0bf (bug 1492664)
Backed out changeset 85d7f8b330eb (bug 1492664)
2018-12-19 11:45:29 +02:00
Dustin J. Mitchell a63677c332 Bug 1492664 - add {artifact-reference: ..} r=tomprince
This provides an easy way to encode an artifact URL in static data such as
taskcluster/ci/nightly-l10n/kind.yml.  This could be used in
mozharness_test.py, for example, as well -- but other code (such as to support
backfilling) expects `task-reference` there.  To avoid breaking such subtle
bits, those can continue using `task-reference` with URLs generated based on
TASKCLUSTER_ROOT_URL.

Differential Revision: https://phabricator.services.mozilla.com/D14197

--HG--
extra : moz-landing-system : lando
2018-12-18 17:22:40 +00:00
Tom Prince d490d292f2 Bug 1507860: [taskgraph] Move most classes to use attrs; r=dustin
This moves most of the low-hanging fruit to use attrs.

Differential Revision: https://phabricator.services.mozilla.com/D1141

--HG--
extra : moz-landing-system : lando
2018-11-21 23:50:04 +00:00
Tom Prince 0e4ed25c34 Bug 1502749: [taskgraph] Use the correct index rank for index-tasks morphs; r=bstack
When a task gets too routes to be indexed by the queue, we create a new
dependent task that generates the index tasks. This task didn't set the index
rank, so if a task gets new routes that push it over the limit, it would stop
updating the old index, as it would be using an index of 0.

Differential Revision: https://phabricator.services.mozilla.com/D10016

--HG--
extra : moz-landing-system : lando
2018-10-28 21:54:12 +00:00
Gregory Szorc 3f4ac974d3 Bug 1469999 - Use yaml.safe_load() in taskgraph; r=dustin
yaml.load() can evaluate arbitrary Python code via syntax such as
`!!python/object/apply:os.system`. Seriously.

Let's switch taskgraph to yaml.safe_load(), which is reasonable
about limiting magic.

Differential Revision: https://phabricator.services.mozilla.com/D1736
2018-06-25 21:34:30 +00:00
Chris AtLee 9472cb160b Bug 1450029: Remove buildbot/buildbot-bridge references from taskcluster r=aki,tomprince
MozReview-Commit-ID: Hu9ju4XVQpA

--HG--
extra : rebase_source : dba8ba385a86ef24a031bca58f01c6ec553d1459
2018-05-01 16:07:19 -04: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
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
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
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
Ryan VanderMeulen 1a86da24ad Backed out 9 changesets (bug 1383880) for decision task bustage.
Backed out changeset 53f5d47a7cb0 (bug 1383880)
Backed out changeset a0abda41172a (bug 1383880)
Backed out changeset 729a7e2091e8 (bug 1383880)
Backed out changeset a33f5a14a471 (bug 1383880)
Backed out changeset 5b10d321cfee (bug 1383880)
Backed out changeset 8056488d8aed (bug 1383880)
Backed out changeset e62c90e3c1e8 (bug 1383880)
Backed out changeset 91f116ce6c2a (bug 1383880)
Backed out changeset 045498bc36c4 (bug 1383880)
2017-09-01 15:37:08 -04:00
Dustin J. Mitchell 8929e3e341 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 : fdd8c3cfb9abf759a3c43c5713e62e4772c5bd06
2017-08-21 23:14:14 +00:00
Andrew Halberstadt d042e4c525 Bug 1387135 - Add ability to apply templates to task definitions via try_task_config.json, r=dustin
This provides a mechanism to modify the behaviour of tasks from a try push. The try_task_config.json
looks something like:

{
  "tasks": ["build-linux64/opt", "test-linux64/opt-mochitest-e10s-1"],
  "templates": {
    "artifact": {"enabled": 1}
  }
}

This tells taskgraph to apply the 'artifact' template to all tasks. Templates are JSONe based
.yml files that live under taskcluster/taskgraph/templates. Taskgraph will render every template
against every task definition. The templates themselves can then use JSONe condition statements to
filter out which tasks they should or shouldn't apply to.

MozReview-Commit-ID: J8HVZzOt4mX

--HG--
extra : rebase_source : 95a78bc56d3f90ff1b34aabd84ed92aff1e3d954
2017-08-15 11:36:29 -04:00
Wander Lairson Costa 4decc6004d Bug 1367087: Update firefox.latest.macosx64-opt index. r=dustin
The current indexed task has a big rank number, we blocks a new indexed
task update.

Add an index rank to uploader task big enough to replace the old indexed
task.

MozReview-Commit-ID: Hg5Ya4D0qYt

--HG--
extra : rebase_source : c08386e5fe62ba4ee4e2832539b6aebf015d6799
2017-05-23 11:58:28 -03:00
Wander Lairson Costa 0751b1e3c1 Bug 1365350: make uploader task a dependency of tests. r=dustin,garndt
For some reason, tests sometimes start before uploader task is finished,
we then make it a dependency to avoid the bug.

MozReview-Commit-ID: JlA471DUYPN

--HG--
extra : rebase_source : 968ca3e512de17ccb26346c6a18f0a1438e8e8a2
2017-05-17 17:42:21 -03:00
Sebastian Hengst 0f7e37f8da Backed out changeset 79027b4b7762 (bug 1365350) for frequently failing gecko decision task with 'Bad Request'. r=backout 2017-05-17 20:30:03 +02:00
Wander Lairson Costa 153ff9483b Bug 1365350: make uploader task a dependency of tests. r=garndt
For some reason, tests sometimes start before uploader task is finished,
we then make it a dependency to avoid the bug.

MozReview-Commit-ID: FDkmEnHlwKo

--HG--
extra : rebase_source : 640c498719b8bff5b599aacb86a1975a422b97f3
2017-05-17 09:09:14 -03:00
Wander Lairson Costa a200fe8303 Bug 1362949: Fix macosx64-opt index routes. r=dustin
The macosx64-opt build task executes through buildbot-bridge, and there
is a specific task in which artifacts are uploaded.

MozReview-Commit-ID: GTOXBwBdwfM
2017-05-09 08:36:05 -07:00
Wander Lairson Costa be9d05d81d Bug 1350413 part 1: move macosx64/opt build to buildbot-bridge. r=dustin
Because of bug 1338651, we need to stick to BBB macosx64 builds for now.

MozReview-Commit-ID: AwQc5r6ikUN

--HG--
extra : transplant_source : %97%1B%95H%D8L1%87%84h%F4%89%0D%283w%98%7E%2C%F4
2017-05-02 16:12:51 -03:00
Dustin J. Mitchell c9c7364396 Bug 1353456: summarize index routes to avoid scope bloat; r=jonasfj
MozReview-Commit-ID: 6ACnfKy2g0z

--HG--
extra : rebase_source : dcfb5dbe3b2d3396df7281f3300065db63a7d443
2017-04-04 19:26:15 +00:00
Justin Wood 54a5d59c87 Bug 1347889 - use 'relative-datestamp' instead of typo 'relative-timestamp' in morphs, to unbreak task submission. r=dustin
MozReview-Commit-ID: 8GCKi6r4WUD

--HG--
extra : rebase_source : 511a7d54d23133b255d364b87207244d4cff7775
2017-03-16 09:44:36 -04:00
Dustin J. Mitchell b470c0ac31 Bug 1347569: don't add optmized tasks to task.dependencies; r=Callek
`task.dependencies` is part of the internal taskgraph calculations, so it must
only refer to tasks that are being created, and not to those which already
exist.  `task.task['dependencies']`, on the other hand, is what is given to
`queue.createTask` and expresses all dependencies.

MozReview-Commit-ID: GJ6JVj6JMBz

--HG--
extra : rebase_source : 553aec85134fe0e41c53f917327b13d1b66592aa
2017-03-15 14:54:12 +00:00
Dustin J. Mitchell 335fa26ed0 Bug 1333255: introduce graph morphs, use them to make index tasks; r=jonasfj
Graph morphs modify the graph after optimization, without changing its meaning.
In this case, that means adding index tasks that will insert paths into the
index beyond the relatively limited number afforded in task.routes.

MozReview-Commit-ID: AJy4exX7q2v

--HG--
extra : rebase_source : d61e7462defd41e7112739fb057edb493f495430
extra : source : c580568ed47c1ed2af40d98b47fbb0d136e63060
2017-03-07 20:39:27 +00:00