Commit graph

101 commits

Author SHA1 Message Date
Tom Prince
abadb30b3a Bug 1527313: [taskgraph] Remove workspace-key from mozharness tasks; r=glandium
Since mozharness tasks are no longer caching the workspace directory, we don't
need a key for different tasks.

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

--HG--
extra : moz-landing-system : lando
2020-03-05 23:22:10 +00:00
Tom Prince
fa69ebf563 Bug 1527313: Move objdir out of source directory for all mozharness builds; r=glandium,Callek
This moves the object directory and source directories around in all mozharness
jobs, to allow enabling caching on windows builders.

This makes a number of changes that all need to land at once:
- Move the source checkout for the workspace cache mount, to the checkouts
  cache mount.
- Makes the object directoy from underneath the source directory, to directly
  in the work directory (which is still under `workspace`).
- Sets the object directory to `obj-build` instead of `obj-firefox`.
- Stops caching the workspace directory (it is still a volume in docker workers,
  so writes perform well; a followup revision add some checks around this).
- Removes one level of directory in the mozharness workdir (things were under
  `workspace/build`, but are now just under `workspace/`.
- Adjust paths in environment variables and artifact specifications to match
  the above changes.

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

--HG--
extra : moz-landing-system : lando
2020-03-06 08:51:21 +00:00
Aki Sasaki
0c5930c33a Bug 1562412 - remove unneeded repackage check. r=Callek
Differential Revision: https://phabricator.services.mozilla.com/D57733

--HG--
extra : moz-landing-system : lando
2020-02-25 15:36:21 +00:00
Dorel Luca
fd844326f2 Backed out 17 changesets (bug 1562412) for for build-notarization failures.
Backed out changeset 9c3d85e9b9fe (bug 1562412)
Backed out changeset e39e5d6a77a8 (bug 1562412)
Backed out changeset aa62038d5d76 (bug 1562412)
Backed out changeset 2143a26de372 (bug 1562412)
Backed out changeset 5b7ca7cf6649 (bug 1562412)
Backed out changeset 7870fa417606 (bug 1562412)
Backed out changeset bf7896916b91 (bug 1562412)
Backed out changeset cd6f0176af52 (bug 1562412)
Backed out changeset af8ccde58367 (bug 1562412)
Backed out changeset 9be172fa19e1 (bug 1562412)
Backed out changeset 9ccdef3b8c9d (bug 1562412)
Backed out changeset 0fc1845ea46c (bug 1562412)
Backed out changeset 861e4a4a13aa (bug 1562412)
Backed out changeset 32f31a6daaa8 (bug 1562412)
Backed out changeset b51ce1cea46d (bug 1562412)
Backed out changeset b8ddcf8368c5 (bug 1562412)
Backed out changeset 19ac1668f0db (bug 1562412)
2020-02-25 02:54:24 +02:00
Aki Sasaki
1f6ed91cab Bug 1562412 - remove unneeded repackage check. r=Callek
Differential Revision: https://phabricator.services.mozilla.com/D57733

--HG--
extra : moz-landing-system : lando
2020-02-20 23:47:55 +00:00
Ricky Stewart
0fa8a98bdb Bug 1524639: [taskgraph] Enforce unicode strings in schemas r=tomprince
Differential Revision: https://phabricator.services.mozilla.com/D18376

--HG--
extra : moz-landing-system : lando
2020-01-21 17:12:08 +00:00
Razvan Maries
ffc90b2ec8 Backed out changeset a57aed49dc58 (bug 1524639) for beetmover bustages. a=backout 2020-01-16 14:04:31 +02:00
Ricky Stewart
fecc988cc6 Bug 1524639: [taskgraph] Enforce unicode strings in schemas r=tomprince
Differential Revision: https://phabricator.services.mozilla.com/D18376

--HG--
extra : moz-landing-system : lando
2020-01-15 20:33:20 +00:00
Aki Sasaki
5196fd1fa8 Bug 1599223 - remove target.bz2.complete.mar r=tomprince
Differential Revision: https://phabricator.services.mozilla.com/D54613

--HG--
extra : moz-landing-system : lando
2019-11-25 21:49:47 +00:00
Mike Hommey
ace4568daa Bug 1573435 - Use toolchain fetches for all remaining toolchain uses, part 2. r=nalexander
This part removes the use_toolchains transform, and adjusts all task
definitions accordingly.

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

MANUAL PUSH: avoid closing autoland while docker images and toolchains
are rebuilt.
2019-08-15 11:22:23 +09:00
Tom Prince
15fe3c2e5a Bug 1458385: Repackage windows builds on linux. r=glandium,Callek
This only uses cross-platform tools, so switch to running these on linux, which
cuts the runtime down from ~20m to ~3m.

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

--HG--
extra : moz-landing-system : lando
2019-07-11 16:40:25 +00:00
Tom Prince
0cd3337d90 Bug 1458385: Package mar and mbsdiff as a toolchain; r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D24229

--HG--
extra : moz-landing-system : lando
2019-07-11 16:40:13 +00:00
Tom Prince
2208f1c2cf Bug 1458385: Generate MARs with the appropriate channel-id explicitly; r=nthomas
Rather than relying on the mar-channel-id set in the `mar` binary, set the channel
explicitly from taskcluster. This allows us to re-use the `mar` binary between
builds/channels.

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

--HG--
extra : moz-landing-system : lando
2019-07-11 16:40:13 +00:00
Tom Prince
e0ca5b4dd8 Bug 1532783: [taskgraph] Switch to using worker aliases for docker-worker and generic-worker; r=dustin
Differential Revision: https://phabricator.services.mozilla.com/D24238

--HG--
extra : moz-landing-system : lando
2019-04-30 22:58:06 +00:00
Daniel Varga
6d6f6dadce Backed out 4 changesets (bug 1458385) for nightly updates fail. a=backout
Backed out changeset 09338587b68e (bug 1458385)
Backed out changeset f7791b680d46 (bug 1458385)
Backed out changeset cc06a7beb3d1 (bug 1458385)
Backed out changeset 3b10487587c3 (bug 1458385)
2019-04-10 21:09:46 +03:00
Tom Prince
5f84cb1802 Bug 1458385: Repackage windows builds on linux. r=glandium,Callek
This only uses cross-platform tools, so switch to running these on linux, which
cuts the runtime down from ~20m to ~3m.

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

--HG--
extra : moz-landing-system : lando
2019-04-06 05:49:55 +00:00
Tom Prince
b4e1868e59 Bug 1458385: Package mar and mbsdiff as a toolchain; r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D24229

--HG--
extra : moz-landing-system : lando
2019-04-06 05:49:31 +00:00
Oana Pop Rus
d9ec36d04f Backed out 3 changesets (bug 1458385) for windows partial bustages. a=backout
Backed out changeset 8036c03c3b51 (bug 1458385)
Backed out changeset 99fa5539c2bd (bug 1458385)
Backed out changeset 9a5f255979c2 (bug 1458385)
2019-03-28 15:13:13 +02:00
Tom Prince
d0ad5f9a38 Bug 1458385: Repackage windows builds on linux. r=glandium,Callek
This only uses cross-platform tools, so switch to running these on linux, which
cuts the runtime down from ~20m to ~3m.

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

--HG--
extra : moz-landing-system : lando
2019-03-27 22:30:54 +00:00
Tom Prince
fbb8603385 Bug 1458385: Package mar and mbsdiff as a toolchain; r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D24229

--HG--
extra : moz-landing-system : lando
2019-03-27 22:30:44 +00:00
Tom Prince
a4c16d10ba Bug 1532783: Implement worker aliases; r=aki,glandium,jmaher,dustin
There are a number of ways we want to vary workers over time and jobs, including

 - we are working on migrating to gce
 - pgo builds have a dedicated worker-type for running the instrumented build
   at level 3 but not level 1

Rather than have all tasks know about how the machines are provisioned, this
moves to using short-names for the worker types, and then has a config mapping
those to the actual worker types.

This adds support for aliases, and an initial set of them. Follow up work will
switch the existing uses of these worker types to using the aliases.

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

--HG--
extra : moz-landing-system : lando
2019-03-19 19:13:56 +00:00
Dorel Luca
5d73bddbc6 Merge mozilla-central to autoland 2019-03-02 01:23:22 +02:00
Tom Prince
2c45a3a4a2 Bug 1519472: Disable caches on windows repackage builds; r=aki a=tomprince
They appear to be causing tasks to take several hours to complete.

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

--HG--
extra : rebase_source : a55cfc24527662427bbeccf0d03f97dca047a3cb
extra : amend_source : 5e352a1ff382353460fdd143d7d0ba52251a5b8a
2019-03-01 13:15:37 -07:00
Tom Prince
ffdd3d2a3c Bug 1531592: [taskgraph] Ensure that treeherder platform has the correct format; r=dustin
A recent change caused the treeherder platform for several jobs to have an extra `/` in it.
This add a check to ensure that the platform is formatted correctly, and fixes the tasks
with the incorrect format.

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

--HG--
extra : moz-landing-system : lando
2019-03-01 19:44:29 +00:00
Justin Wood
f6a3f70adb Bug 1522111 - Make l10n kind depend on -pgo where available instead of opt. r=tomprince
This avoids opt being pulled in even when l10n is optimized out

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

--HG--
extra : moz-landing-system : lando
2019-02-18 17:55:38 +00:00
Noemi Erli
7f0a1d33d8 Backed out 5 changesets (bug 1522111) for breaking windows opt wpts
Backed out changeset aa6103c8ef0f (bug 1522111)
Backed out changeset 14e9ed41b8be (bug 1522111)
Backed out changeset c10783ea070b (bug 1522111)
Backed out changeset cc97d772a8db (bug 1522111)
Backed out changeset 6fbfc8bc2388 (bug 1522111)
2019-02-16 00:06:17 +02:00
Justin Wood
2326f1cc69 Bug 1522111 - Make l10n kind depend on -pgo where available instead of opt. r=tomprince
This avoids opt being pulled in even when l10n is optimized out

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

--HG--
extra : moz-landing-system : lando
2019-02-15 15:36:50 +00:00
Tom Prince
ff1ba692a9 Bug 1524639: [taskgraph] Add a helper to Schema to allow referencing downstream schema entries; r=dustin
Differential Revision: https://phabricator.services.mozilla.com/D18377

--HG--
extra : moz-landing-system : lando
2019-02-04 22:42:00 +00:00
Matt Howell
18090fd14b Bug 1514806 Part 6 - Disable running UPX in the installer package for targets it doesn't support. r=firefox-build-system-reviewers,mshal#firefox-build-system-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D15984

--HG--
extra : moz-landing-system : lando
2019-01-22 21:58:55 +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
Tom Prince
ac7b92625c Bug 1515652: Pass arch to repackage bz2 mars as well; r=Callek
The argument is required, so this causes builds to fail when bz2 mars are created.

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

--HG--
extra : moz-landing-system : lando
2018-12-20 17:05:12 +00:00
Tom Prince
18724ec869 Bug 1515652: [release] Only build bz2 mars based on esr60 release-type (rather than specific branches);
Differential Revision: https://phabricator.services.mozilla.com/D15116

--HG--
extra : moz-landing-system : lando
2018-12-20 17:04:04 +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
Razvan Maries
f658ebcbab Merge mozilla-inbound to mozilla-central a=merge 2018-12-20 07:04:06 +02:00
Tom Prince
afa141b26c Bug 1514124: [win64-aarch64] Pass the architecture to mar generation, so that it can pass the appropriate arch flag to xz; r=aki,Callek
XZ supports rewritting addresses in executable code, which is architechture
specific. The updater is compiled with support for the target architecture
only, so we can't always compress updates passing `--x86` to XZ. This threads
the architecture through to the repackage steps, so we can pass the appropraite
flags to the update packaging scripts.

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

--HG--
extra : moz-landing-system : lando
2018-12-17 21:45:09 +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
becc9482f9 Bug 1507898: [taskgraph] Factor out schema validation in transformations; r=dustin
Most jobs include at least one transform that verifies the input of all the
tasks against a schema. This code is duplicated in each transform. Refactor it,
so that we only need one copy of the logic.

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

--HG--
extra : moz-landing-system : lando
2018-11-20 23:44:12 +00:00
Narcis Beleuzu
8a7fef1076 Backed out changeset e947694d0ed7 (bug 1507898) for Linting failure. CLOSED TREE 2018-11-21 00:29:17 +02:00
Tom Prince
4d5bceb588 Bug 1507898: [taskgraph] Factor out schema validation in transformations; r=dustin
Most jobs include at least one transform that verifies the input of all the
tasks against a schema. This code is duplicated in each transform. Refactor it,
so that we only need one copy of the logic.

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

--HG--
extra : moz-landing-system : lando
2018-11-20 22:09:34 +00:00
Justin Wood
44f471f3a2 Bug 1475510 - Taskgraph msi generation. r=aki
Differential Revision: https://phabricator.services.mozilla.com/D9335

--HG--
extra : moz-landing-system : lando
2018-11-07 17:44:25 +00:00
Justin Wood
eaf783d789 Bug 1475510 - Use locale from dep job attributes. r=aki
Differential Revision: https://phabricator.services.mozilla.com/D9333

--HG--
extra : moz-landing-system : lando
2018-11-07 17:44:15 +00: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
Tom Prince
af51107381 Bug 1501776: [taskgraph] Make single_dep use primary-dependency to match multi_dep; r=aki
To make switching between `single_dep` and `multi_dep` easier, change
the `dependent-task` to `primary-dependency`.

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

--HG--
extra : moz-landing-system : lando
2018-10-24 22:41:38 +00:00
Rob Lemley
e1efc2daaf Bug 1489355 - Windows installer build fixes r=Callek
Bug 1484264 made changes to how the repackage tasks is configured.
The package-name field was hard-coded to "firefox". This field is later
used to build the Windows installer, and Thunderbird requires that it
be set to "thunderbird" or the build fails.

This patch changes package-name to be a templated field like the others.

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

--HG--
extra : moz-landing-system : lando
2018-09-07 17:51:02 +00:00
Tom Prince
2336c65041 Bug 1481121: [release] Get artifacts to sign in repackage-signing task from release-artifacts metadata; r=Callek
Differential Revision: https://phabricator.services.mozilla.com/D3816

--HG--
extra : rebase_source : 89c536fb371d8b6734531283847e9745205313bc
extra : histedit_source : c4a2a73125d8c60a93f232f6ecbbad3af5a08e2a
2018-08-20 12:40:15 -06:00
Tom Prince
e60f19d241 Bug 1481121: [release] Build bz2 mar's on mozilla-esr60; r=Callek
Differential Revision: https://phabricator.services.mozilla.com/D3811

--HG--
extra : rebase_source : 549ac804da6fbd01359bd15aaf928fd06ff22cab
extra : histedit_source : 3b3ef722261d4a7bce33d9215b288ba366f38dee
2018-08-17 12:23:42 -06:00
Tom Prince
02057f7793 Bug 1484264: [taskgraph] Populate repackage artifacts from repackaged formats; r=Callek
Differential Revision: https://phabricator.services.mozilla.com/D3623

--HG--
extra : rebase_source : bea53b745abc93367d8dbfcdb4092dca79246432
extra : histedit_source : 6464b8def9a3a7f82ecef3a01f8d6b99eb68fd43
2018-08-17 10:27:50 -06:00
Tom Prince
38c55c9a6d Bug 1484264: [mozharness] Move repacakge config from mozharness to taskcluster; r=Callek
Differential Revision: https://phabricator.services.mozilla.com/D3624

--HG--
extra : rebase_source : b97304799f7c192cef73434a3973f71d52e1792f
extra : histedit_source : 19fb857824f51ca4dc7e551c82ddaf9a769c4db8
2018-08-17 09:40:57 -06:00
Tom Prince
5b57b42215 Bug 1484012: [mozharness] Use fetch-content to download inputs in repackage tasks; r=Callek
Differential Revision: https://phabricator.services.mozilla.com/D3559

--HG--
extra : rebase_source : c910810629d16dbf507241fc609f3955afcf50e8
2018-08-15 15:12:33 -06:00