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

45 Коммитов

Автор SHA1 Сообщение Дата
Mitchell Hentges d5cf547ec2
Evaluate is_staging condition in tc.yml 2019-07-04 12:58:07 -07:00
Mitchell Hentges 18926376b3
Adds signing 2019-07-04 09:57:09 -07:00
Mitchell Hentges 864c490948
Allows staging releases 2019-07-04 09:57:09 -07:00
Mihai Tabara 3b95516bce
Bug 1547928 - prevent releases to be retriggered by editing their fields 2019-05-26 10:54:13 +03:00
Edouard Oger 84e077d153
Publish on Maven via beetmover
Co-authored-by: Mihai Tabara <mtabara@mozilla.com>
2019-04-24 15:31:20 -04:00
Edouard Oger 9d1ad0af6c
Notify Taskcluster failures by email 2019-04-18 17:18:56 -04:00
Edouard Oger 66c21b1d3d
Add a flag to allow all architectures to be run on CI 2019-04-17 17:04:26 -04:00
Edouard Oger 42d387bbd1 Per-module Taskcluster tasks 2019-03-20 15:11:07 -04:00
Edouard Oger 09d4caa65f Generate and upload breakpad symbols for Android 2019-03-18 13:07:54 -04:00
Edouard Oger 0db3e2752f Restrict tasks creation to collaborators 2019-03-15 02:42:16 -04:00
Edouard Oger 7ddc8ae56c Only build linux-x86-64 arch on PRs tasks 2019-03-14 23:31:43 -04:00
Edouard Oger b5370283c7
Use taskclusterProxy instead of relengApiProxy for tooltool (#765) 2019-03-13 20:59:53 -04:00
Edouard Oger d5cefcbea8 Use --tags for release fetch 2019-03-12 21:42:19 -04:00
Edouard Oger f420aa4f31 Add beetmover comments 2019-03-12 21:28:46 -04:00
Edouard Oger f7300be284 Remove un-used GITHUB_PULL_TITLE var 2019-03-12 21:28:46 -04:00
Edouard Oger 8877711085 Create task on push - only for master 2019-03-12 21:28:46 -04:00
Edouard Oger b9f45401fa Refactor .taskcluster.yml 2019-03-12 21:28:46 -04:00
Edouard Oger 2cdd7fd341 Fix Taskcluster not running on master 2019-03-12 19:54:28 -04:00
Nick Alexander c1731dee35 Fix TC scopes for "tag" event. 2018-11-27 15:45:19 -08:00
Nick Alexander 4299b40855 [automation] Cross compile libs from host Linux to target macOS.
This does a bunch of things:

- cross compiles OpenSSL and SQLcipher from host Linux to target macOS
- enables running the `testDebug` targets for the library projects
-- this runs the existing tests for logins against a real SQLcipher DB \o/

The `.a` files are not yet packaged for consumption by local builders;
that'll come next.
2018-11-01 20:40:29 -07:00
Nick Alexander 6093eebe68 [automation] Rewrite Taskcluster integration to be based on servo's decisionlib.
There's a lot here:

- uses Taskcluster YAML v1
- splits the libs/ tasks and caches them by the hash of the libs/ directory
- uses decisionlib to streamline task graph creation
- uses new `application-services-r` worker type
- uses many Taskcluster caches to greatly improve inter-task sharing
  of results (via sccache, Gradle caching, and Cargo caching)

This maintains the existing:

- Docker images
- publication to nalexander's personal bintray repository
2018-10-30 16:41:20 -07:00
Thom Chiovoloni 3bd00fd11a Fix fxaclient artifact and group ids to be consistent, and bump to 0.7.1 2018-10-23 16:01:37 -07:00
Vlad Filippov 91a43a3ccb
Fix TaskCluster validation schema (#273) 2018-10-02 18:03:19 -04:00
Nick Alexander a20afc62b6 [automation/fxa client] Part 4: Build FxA client AAR rather than ZIP. 2018-09-19 11:09:48 -07:00
Nick Alexander 96defcfa8e [automation/fxa client] Part 1b: Patch up paths. 2018-09-19 11:09:48 -07:00
Nick Alexander 8039ffb1ee Give release task secrets access. 2018-09-17 14:53:04 -07:00
Thom 4a8291cbf6
loginsapi: bump version to 0.4.2, fix taskcluster rust version (#247)
* Update taskcluster rust version so that `opt-level = "z"` is usable

* loginsapi: Bump version to 0.4.2
2018-09-17 14:40:38 -07:00
Nick Alexander a3bcf301bf
Publish logins AAR to nalexander's personal bintray. (Fixes #189) (#199) r=vladikoff,tcsc
* Pre: Bump version to 0.3.2.

This just needs to be greater than 0.3.1, the last version I pushed in
testing.

* Publish logins AAR to nalexander's personal bintray.

* Post: Bump task timeout for build and publishing.

Building everything for three architectures just takes a long time --
15 minutes per architecture or more.

I investigated speeding this up, and I conclude that compiling the
architectures in parallel is both work (you need to work around cargo
a little bit, and you need to use a Make jobserver to limit the total
thread pool) and doesn't pay off (I witnessed only about a 5-10%
speed-up locally).  My guess is that it pays off even less in AWS,
where IO throughput is relatively low and context switching relatively
more expensive.
2018-09-12 11:39:25 -07:00
Nick Alexander ef47e0565c [logins-api] Build `org.mozilla.sync15.logins` AAR. (#178)
* [logins-api] Pre: Extract version and dependency details to top-level project.

* [logins-api] Pre: Fix issue with launching intents on Android 21 devices.

When invoked outside of an `Activity` `Context`, we need to launch a
new Android task.

* [logins-api] Use `rust-android-gradle` plugin to integrate Rust into logins-api.

* [logins-api] Publish `org.mozilla.sync15.logins` when tagged.

* Add `scopes` map to the tag task in .taskcluster.yml

* Comment out bintray portions of .taskcluster.yml for now (#189)
2018-08-20 10:41:04 -07:00
Edouard Oger 1a70dc04a8 Fix taskcluster artifact location 2018-08-14 21:58:42 -07:00
Edouard Oger 86c78dcdac Clone in application-services
This should hopefully fix CI
2018-08-13 10:26:51 -07:00
Nick Alexander ab293349d8
[fxa-client] Statically link OpenSSL into `libfxa_client.so`. (Fixes #172) (#173) r=@eoger
This reduces the set of artifacts and will require changes in the
`android-components` repository.

SQLcipher is still built (statically), but it's not exposed as a Task
Cluster artifact.  When we get to shipping the Logins API, we'll use
`libsqlcipher.a` (statically, like we do `lib{crypto,ssl}.a`.
2018-08-09 16:49:02 -07:00
Nick Alexander a0733d77a5
[fxa-client] Target Android API 21 when building native code. (#170) r=@eoger
It's non-trivial to build OpenSSL and target Android API 21.  NDK
r17{b} has problems that I wasn't able to work-around, either for
OpenSSL 1.0.2* or for 1.1.0*.  Using an older NDK with the
--deprecated-headers flag to `make_standalone_toolchain.py` (in the
Docker image) addresses the problem... but the --deprecated-headers
flag is itself removed from r17*.
2018-08-09 16:23:42 -07:00
Edouard Oger c23022ab96 Rename fxa-rust-client to fxa-client 2018-08-09 15:32:18 -04:00
Nick Alexander 85a266775e
Build SQLcipher for Android in automation. (#148) r=eoger
SQLcipher depends on OpenSSL, so it's not worth much effort to try to
separate them.
2018-08-03 16:26:45 -07:00
Nick Alexander ac7e7fb4ae
Build FxA Rust client in pull requests. (#141) r=eoger
There are a number of changes here.  The most obvious is that we run a
decision task and build a taskgraph for PRs now.  But internally, many
things are ready to generalize to non-FxA Rust Client projects.  The
NDK and Rust toolchains are built into a Docker image (with a very
verbose name!) that is shared with Mentat.  It's nice!  The standalone
toolchains are installed in that image.  The image sets:

ANDROID_NDK_HOME=/build/android-ndk
ANDROID_NDK_API_VERSION=26
ANDROID_NDK_TOOLCHAIN_DIR=/build/android-ndk-toolchain

In $ANDROID_NDK_TOOLCHAIN_DIR the toolchains are named like
$ARCH-$ANDROID_NDK_API_VERSION; this allows to cache multiple versions
of the toolchain (if needed).  So we have, say

/build/android-ndk-toolchain/arm-26
/build/android-ndk-toolchain/arm64-26
/build/android-ndk-toolchain/x86-26

This configuration is what the `rust-android-gradle` plugin expects.
That plugin will be used for the Android Logins API in this repository.

The Dockerfile is in the Mentat repository right now, but I expect it
to migrate to application-services (or even android-components)
eventually.
2018-08-03 16:25:10 -07:00
Edouard Oger 0f72142e10 Reduce produced binary size 2018-07-11 16:42:01 -04:00
Edouard Oger f52e8ccf37 Point to the right zips 2018-06-21 11:39:38 -04:00
Edouard Oger 9901717918 Do not zip fxa-client* folders 2018-06-21 10:43:28 -04:00
Edouard Oger 9c4ab24677 Flatten taskcluster dependencies 2018-06-20 11:29:49 -04:00
Edouard Oger 77060e57ea Use event.version instead of event.head.sha 2018-06-19 16:12:30 -04:00
Edouard Oger 4a401e0a85 Quote variables in command 2018-06-19 16:05:43 -04:00
Edouard Oger 61df378017 Fix .taskcluster.yml 2018-06-19 16:00:11 -04:00
Edouard Oger 44a34ca451
Add taskcluster versionned route (#75) 2018-06-18 10:02:08 -07:00
Edouard Oger 16eb3cb98d
Taskcluster Android build (#72) 2018-06-07 14:54:11 -04:00