Commit Graph
82 Commits
Author SHA1 Message Date
Julien Cristau 049301f820 Bug 1914410 - publish fenix/focus to candidates dir during release promotion. r=releng-reviewers,gbrown
Change beetmover-android-app to upload to pub/{fenix,focus}/candidates/ and run
during the `promote` release phase; add `push-to-releases` tasks for fenix and
focus, that run in the `ship` phase.

Differential Revision: https://phabricator.services.mozilla.com/D219946
2024-08-28 15:17:45 +00:00
Julien Cristau b756ce936d Bug 1914344 - remove upstream_artifact_task transform. r=taskgraph-reviewers,releng-reviewers,gbrown
This was relying on a "dependent-tasks" entry, which used to be set by
the multi_dep loader, but is now no longer there, turning
upstream_artifact_task into dead code.

Differential Revision: https://phabricator.services.mozilla.com/D219856
2024-08-23 08:18:46 +00:00
Iulian Moraru 4f07ff3911 Backed out 2 changesets (bug 1906365, bug 1893181) for causing mass android-all build bustages. CLOSED TREE
Backed out changeset 71eaffe86901 (bug 1893181)
Backed out changeset 0ecbe936878e (bug 1906365)
2024-08-15 19:58:27 +03:00
Nicolas Guichard 8aa18297f1 Bug 1906365 - Configure the Glean Gradle Plugin to use our vendored glean_parser. r=nalexander,geckoview-reviewers,android-reviewers,owlish
The Glean Gradle plugin now exposes ext.gleanPythonEnvDir for users to
point to an existing Python virtualenv where glean_parser is available.

As documented in https://mozilla.github.io/glean/book/language-bindings/android/android-build-configuration-options.html,
the Glean Gradle plugin options such as ext.gleanPythonEnvDir must be
set before applying the plugin.

This enables us to use gradle offline for Android builds (except the
android-gradle-dependencies task of course).

Differential Revision: https://phabricator.services.mozilla.com/D215795
2024-08-15 12:31:39 +00:00
Andrew Halberstadt 09e65bbce3 Bug 1901281 - [ci] Use upstream Taskgraph's transform loader, r=taskgraph-reviewers,releng-reviewers,bhearsum
Differential Revision: https://phabricator.services.mozilla.com/D213429
2024-06-12 19:26:43 +00:00
Andrew Halberstadt 5c6c732c80 Bug 1901281 - Update Taskgraph vendor to v9.0.0, r=taskgraph-reviewers,releng-reviewers,mach-reviewers,bhearsum
Differential Revision: https://phabricator.services.mozilla.com/D213425
2024-06-12 19:26:41 +00:00
Aaron Train 27a9eb1a52 Bug 1898010 - Add x86 and ARM v7a android-startup-test tasks for Fenix and Focus r=ohorvath,ahal,RyanVM
Differential Revision: https://phabricator.services.mozilla.com/D211104
2024-06-04 13:07:52 +00:00
Julien Cristau 8f7a21dcaa Bug 1899142 - don't show android-components dummy tasks on treeherder. r=aryx,releng-reviewers,bhearsum
These tasks will never fail, and don't have logs, so having them on
treeherder can be confusing.

Rename `post-signing` to `post-signing-dummy` to benefit from the
special handling in `verify_dependency_tiers`.

Differential Revision: https://phabricator.services.mozilla.com/D211746
2024-05-27 15:45:53 +00:00
Geoff Brown 7ea7089879 Bug 1881513 - Remove android-gradle-python-envs toolchain r=releng-reviewers,jcristau
Move the contents of the gradle-python-envs artifact into gradle-android-dependencies, stop referencing gradle-python-envs, and remove the android-gradle-python-envs toolchain task.

Differential Revision: https://phabricator.services.mozilla.com/D209149
2024-05-02 17:12:29 +00:00
Andrew Halberstadt a680bcd3e1 Bug 1868440 - [ci] Upgrade taskcluster-taskgraph to v7.4.0, r=perftest-reviewers,geckoview-reviewers,ci-and-tooling,devtools-reviewers,taskgraph-reviewers,releng-reviewers,mach-reviewers,omc-reviewers,jmaher,hneiva,aminomancer,jari,dom-storage-reviewers,afinder,asuth,bhearsum,owlish
Differential Revision: https://phabricator.services.mozilla.com/D206260
2024-04-18 20:39:09 +00:00
Stanca Serban 3dbb534055 Backed out 2 changesets (bug 1868440) for gecko decision task broken. CLOSED TREE
Backed out changeset 4b22948d849a (bug 1868440)
Backed out changeset 837bdcb3694a (bug 1868440)
2024-04-18 21:25:43 +03:00
Andrew Halberstadt ef4f1e168b Bug 1868440 - [ci] Upgrade taskcluster-taskgraph to v7.4.0, r=perftest-reviewers,geckoview-reviewers,ci-and-tooling,devtools-reviewers,taskgraph-reviewers,releng-reviewers,mach-reviewers,omc-reviewers,jmaher,hneiva,aminomancer,jari,dom-storage-reviewers,afinder,asuth,bhearsum,owlish
Differential Revision: https://phabricator.services.mozilla.com/D206260
2024-04-18 17:50:50 +00:00
Geoff Brown 86bbeb723e Bug 1888309 - Run more firefox-android tasks on b-linux-medium-gcp r=jmaher,jcristau
Change build-apk, build-bundle, test-components, test-apk and ui-test-apk to b-linux-medium-gcp, to get the same (similar, for ui-test-apk) machine type used traditionally on github.

Differential Revision: https://phabricator.services.mozilla.com/D205937
2024-03-28 21:30:03 +00:00
Cristian Tuns e21e448bf1 Backed out changeset 2b1a58a2fa54 (bug 1888309) it is not behaving as expected CLOSED TREE 2024-03-28 13:03:29 -04:00
Geoff Brown e7973867a9 Bug 1888309 - Run more firefox-android tasks on b-linux-medium-gcp r=jmaher,jcristau
Change build-apk, build-bundle, test-components, and test-apk to b-linux-medium-gcp, to get the same machine type used traditionally on github. Change ui-test-apk to t-linux-large, similar but smaller than what was used on github.

Differential Revision: https://phabricator.services.mozilla.com/D205937
2024-03-28 15:05:24 +00:00
Julien Cristau 4479cd03fc Bug 1886767 - fix nightly-all target tasks method to include ship-geckoview. r=taskgraph-reviewers,bhearsum
In bug 1882100 I updated the nightly-android method to include
ship-geckoview, but in bug 1882083 I'd picked the wrong function to
select android tasks as part of nightly-all, so geckoview ship tasks
went missing.

Remove the duplicate/confusing target_tasks_nightly from
android_taskgraph to prevent something like this happening again.

Differential Revision: https://phabricator.services.mozilla.com/D205330
2024-03-21 16:21:25 +00:00
Julien Cristau a2b0b385e7 Bug 1886656 - remove code-review attribute from android build/test tasks. r=jlorenzo DONTBUILD
We don't want to run those tasks on every phabricator patch update.

Differential Revision: https://phabricator.services.mozilla.com/D205288
2024-03-21 09:13:40 +00:00
Julien Cristau e9bf8bb49e Bug 1882100 - ship geckoview as part of the firefox-android ship graph. r=taskgraph-reviewers,bhearsum,releng-reviewers,gabriel
Differential Revision: https://phabricator.services.mozilla.com/D205041
2024-03-20 07:37:24 +00:00
Julien Cristau 9ccd8510b3 Bug 1885917 - Backed out changeset a13052a3e0b9 (bug 1839869), served its purpose. r=releng-reviewers,gbrown DONTBUILD
This backs out "Bug 1839869 - push fenix/focus nightly to the internal track on
play store.", and reverts to pushing to the default track instead.

Differential Revision: https://phabricator.services.mozilla.com/D204934
2024-03-19 17:00:32 +00:00
Geoff Brown d3aedb6de3 Bug 1886053 - Use nightly-<project> as default update channel for android builds r=jcristau
Differential Revision: https://phabricator.services.mozilla.com/D205072
2024-03-19 14:55:16 +00:00
Geoff Brown 5f529cd585 Bug 1883499 - Update task schedule optimizations for firefox-android. r=aryx
Simplify scheduling of firefox-android tasks:
 - remove the gradle_optimization transform, which added project-specific skip-unless-changed optimizations
 - remove skip-unless-changed from task definitions, which were only in support of gradle_optimization
 - add skip-unless-backstop for firebase-based tests, to try to reduce runs of these expensive tasks on autoland.

The overall intent is for most firefox-android tasks to behave like geckoview tasks do today, with the exception of firebase-based tests (ui-test-apk, etc) which should be less likely to run on non-backstop pushes on autoland.

Differential Revision: https://phabricator.services.mozilla.com/D204204
2024-03-07 13:32:25 -07:00
Julien Cristau df5e4d2cba Bug 1839869 - push fenix/focus nightly to the internal track on play store. r=gbrown,ryanvm
To reduce risk from the migration we'd like the first nightly build to be
verified by internal testers before shipping it more broadly.

Differential Revision: https://phabricator.services.mozilla.com/D203642
2024-03-05 18:44:11 +01:00
Julien Cristau 4ce4b78a60 Bug 1882313 - remove unused android "signing" index builder. r=gabriel,releng-reviewers,taskgraph-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D202828
2024-02-27 15:41:09 +01:00
Julien Cristau 471c7ad7f5 Bug 1882313 - use generic index paths for signing-apk tasks. r=gbrown,releng-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D202827
2024-02-27 15:37:34 +01:00
Julien Cristau 9ee11b565a Bug 1878034 - adjust run-on-projects for android build/signing tasks. r=bhearsum,releng-reviewers
No need to run nightly and beta builds and tests everywhere on push;
only sign when required by dependencies.

Differential Revision: https://phabricator.services.mozilla.com/D201551
2024-02-01 10:29:17 +01:00
Geoff Brown 0d761835df Bug 1877823 - remove treeherder-group attribute. r=gabriel,releng-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D201549
2024-01-31 15:13:23 -07:00
Geoff Brown fd33987e86 Bug 1877823 - remove unused android_taskgraph release_deps transform. r=ahal,releng-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D201548
2024-01-31 15:04:24 -07:00
Geoff Brown 9c4d980e7a Bug 1877823 - remove nightly-task attribute. r=ahal,releng-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D201547
2024-01-31 14:45:22 -07:00
Geoff Brown 90880c1114 Bug 1877823 - remove unused github_release transform. r=gbrown,geckoview-reviewers,releng-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D201546
2024-01-31 14:22:44 -07:00
Geoff Brown fc45ba0edf Bug 1877823 - remove text-artifact-template and github-name references. r=gbrown,releng-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D201545
2024-01-31 14:14:16 -07:00
Julien Cristau f3755fdc3a Bug 1824856 - use maven repos populated by a-g-d in firefox-android tasks. r=glandium,bhearsum,firefox-build-system-reviewers
Not using gradle-offline at this point because that needs more work for glean_parser.

Differential Revision: https://phabricator.services.mozilla.com/D201542
2024-01-25 19:10:08 +01:00
Julien Cristau 25779fd452 Bug 1877661 - use non-shippable geckoview for regular build-components. r=bhearsum,releng-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D201521
2024-01-19 16:44:07 +01:00
Julien Cristau 7866a827d8 Bug 1822393 - set MOZ_UPDATE_CHANNEL for firefox-android builds. r=glandium,geckoview-reviewers,firefox-build-system-reviewers
The update channel is part of the geckoview aar's name, so downstream
tasks need to know what to look for.

We copy the update-channel attribute from the corresponding geckoview
build, accounting for it being missing e.g. on autoland.

Differential Revision: https://phabricator.services.mozilla.com/D201530
2024-02-01 14:34:00 +01:00
Julien Cristau a6d5ac67db Bug 1822393 - set MOZ_ANDROID_FAT_AAR_ARCHITECTURES for all firefox-android gradlew jobs. r=owlish,geckoview-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D201518
2024-01-19 17:20:58 +01:00
Julien Cristau 9404f573bd Bug 1822393 - move some logic from android_taskgraph to a script. r=glandium,firefox-build-system-reviewers
The logic around this was getting too messy to keep directly in the
payload.  We now use mozconfig.no-compile since we don't actually need
to build any C++ in these tasks.  Likewise nodejs and API keys.
We also point GRADLE_MAVEN_REPOSITORIES at the upstream geckoview build.

Differential Revision: https://phabricator.services.mozilla.com/D201517
2024-01-16 13:56:34 +01:00
Julien Cristau 7cc585dea9 Bug 1822393 - use mozconfig from build-fat-aar in firefox-android tasks. r=glandium,firefox-build-system-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D201512
2024-01-15 14:01:44 +01:00
Julien Cristau 67502a1344 Bug 1824856 - set MOZ_BUILD_DATE in firefox-android gradle tasks. r=glandium,bhearsum,firefox-build-system-reviewers,releng-reviewers
We can then use this variable to point at our geckoview build.

Differential Revision: https://phabricator.services.mozilla.com/D201508
2024-01-12 17:12:09 +01:00
Julien Cristau 3583de6535 Bug 1824856 - call mach configure before gradlew tasks. r=bhearsum,releng-reviewers
configure sets up the mach environment that we now read from gradle to
find our configuration.

Differential Revision: https://phabricator.services.mozilla.com/D201507
2024-01-26 17:13:04 +01:00
Julien Cristau 2be1554918 Bug 1824856 - add gradle-python-envs fetch for firefox-android tasks. r=ahochheiden,firefox-build-system-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D201503
2024-01-26 15:19:49 +01:00
Julien Cristau fc6e13c69e Bug 1876338 - use android-gradle-dependencies instead of external-gradle-dependencies. r=glandium,firefox-build-system-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D201502
2024-01-09 16:57:08 +01:00
Geoff Brown 9f5f2ed380 Bug 1824856 - fetch maven archive from geckoview build tasks in firefox-android builds/tests. r=bhearsum,releng-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D201498
2024-01-22 16:56:30 +01:00
Gabriel Luong 9fd9941c03 Bug 1870123 - Remove the GitHubPlugin and GithubDetailsTask. r=owlish,geckoview-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D201490
2023-12-18 12:55:16 -05:00
Julien Cristau 652552544a Bug 1876318 - consolidate android version-bump task with desktop release-version-bump. r=bhearsum,releng-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D201479
2023-10-03 17:43:00 +02:00
Julien Cristau ae19e56a7e Bug 1876318 - android_taskgraph: update release-type and release promotion filters. r=gbrown,releng-reviewers
Ensure firefox-android release promotion picks up the right tasks.

Differential Revision: https://phabricator.services.mozilla.com/D201477
2023-09-28 14:57:59 +02:00
Julien Cristau a7fef2ab02 Bug 1876318 - port release-mark-as-shipped for firefox-android. r=gbrown,geckoview-reviewers,releng-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D201473
2023-09-27 11:43:40 +02:00
Julien Cristau 47bfba1e2c Bug 1876318 - port firefox-android release notifications. r=owlish,bhearsum,geckoview-reviewers,releng-reviewers,taskgraph-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D201472
2023-09-27 11:18:19 +02:00
Julien Cristau 60a40687ca Bug 1876318 - migrate firefox-android release promotion. r=bhearsum,releng-reviewers
Add a filter on the release product to pick up tasks that aren't tied to a release type.

Differential Revision: https://phabricator.services.mozilla.com/D201471
2023-09-27 13:39:42 +02:00
Julien Cristau 4593b69e69 Bug 1824856 - remove android_taskgraph "complete" transforms. r=gbrown,releng-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D201464
2023-09-08 16:14:02 +02:00
Julien Cristau 5103780e34 Bug 1825116 - android_taskgraph: ruff fixes. r=gabriel,releng-reviewers
Generated with:
`./mach lint -l ruff --fix taskcluster/android_taskgraph`

Differential Revision: https://phabricator.services.mozilla.com/D201458
2023-09-07 15:13:58 +02:00
Julien Cristau 2e7b65e20c Bug 1825116 - fix python formatting issues in firefox-android scripts. r=bhearsum,amejiamarmol,geckoview-reviewers,releng-reviewers
Generated by
`./mach lint -l black --fix taskcluster/android_taskgraph/ taskcluster/scripts/lint/ taskcluster/scripts/write-dummy-secret.py mobile/android/fenix/app/src/androidTest/java/org/mozilla/fenix/experimentintegration/conftest.py mobile/android/fenix/automation/taskcluster/androidTest/parse-ui-test-fromfile.py mobile/android/focus-android/automation/taskcluster/androidTest/parse-ui-test*`

Differential Revision: https://phabricator.services.mozilla.com/D201457
2023-09-07 13:38:12 +02:00