Bug 1418593: Enable linux64 builds in taskcluster; r=Fallen
authorTom Prince <mozilla@hocat.ca>
Wed, 01 Nov 2017 12:33:54 -0600
changeset 29497 8a7e6dbec102041287c3e12f97e2f70ccd94670c
parent 29496 5bfdd8678f3e7a2fbcad324df2faf73aaf5a080f
child 29498 c61cae26239bb36cddc40f1b93efca1bc9a1d493
push id2108
push userclokep@gmail.com
push dateMon, 22 Jan 2018 17:53:55 +0000
treeherdercomm-beta@c44930d8ad9b [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersFallen
bugs1418593
Bug 1418593: Enable linux64 builds in taskcluster; r=Fallen MozReview-Commit-ID: 7GLGUZM8ahI
mozharness/builds/taskcluster_base_thunderbird.py
taskcluster/ci/build/kind.yml
taskcluster/ci/build/linux.yml
new file mode 100644
--- /dev/null
+++ b/mozharness/builds/taskcluster_base_thunderbird.py
@@ -0,0 +1,7 @@
+config = {
+    'stage_product': 'thunderbird',
+    'stage_username': 'tbirdbld',
+    'stage_ssh_key': 'tbirdbld_rsa',
+    'app_name': 'comm/mail',
+    'objdir': 'obj-thunderbird',
+}
new file mode 100644
--- /dev/null
+++ b/taskcluster/ci/build/kind.yml
@@ -0,0 +1,19 @@
+# This Source Code Form is subject to the terms of the Mozilla Public
+# License, v. 2.0. If a copy of the MPL was not distributed with this
+# file, You can obtain one at http://mozilla.org/MPL/2.0/.
+
+loader: taskgraph.loader.transform:loader
+
+kind-dependencies:
+    - toolchain
+
+transforms:
+    - taskgraph.transforms.build:transforms
+    - taskgraph.transforms.build_attrs:transforms
+    - taskgraph.transforms.build_lints:transforms
+    - taskgraph.transforms.use_toolchains:transforms
+    - taskgraph.transforms.job:transforms
+    - taskgraph.transforms.task:transforms
+
+jobs-from:
+    - linux.yml
new file mode 100644
--- /dev/null
+++ b/taskcluster/ci/build/linux.yml
@@ -0,0 +1,59 @@
+linux64/opt:
+    description: "Linux64 Opt"
+    treeherder:
+        platform: linux64/opt
+        symbol: tc(B)
+    worker-type: aws-provisioner-v1/gecko-{level}-b-linux
+    worker:
+        docker-image: {in-tree: "desktop-build"}
+        max-run-time: 36000
+        env:
+            TOOLTOOL_MANIFEST: "comm/mail/config/tooltool-manifests/linux64/releng.manifest"
+    run:
+        using: mozharness
+        comm-checkout: true
+        actions: [build check-test update]
+        config-paths:
+            - comm/mozharness
+        config:
+            - builds/taskcluster_base_thunderbird.py
+            - builds/releng_base_linux_64_builds.py
+            - balrog/production.py
+        script: "mozharness/scripts/fx_desktop_build.py"
+        tooltool-downloads: public
+        need-xvfb: true
+    toolchains:
+        - linux64-clang
+        - linux64-gcc
+        - linux64-rust
+        - linux64-sccache
+
+linux64/debug:
+    description: "Linux64 Debug"
+    treeherder:
+        platform: linux64/debug
+        symbol: tc(B)
+    worker-type: aws-provisioner-v1/gecko-{level}-b-linux
+    worker:
+        max-run-time: 36000
+        env:
+            TOOLTOOL_MANIFEST: "comm/mail/config/tooltool-manifests/linux64/releng.manifest"
+    run:
+        using: mozharness
+        comm-checkout: true
+        actions: [build check-test update]
+        config-paths:
+            - comm/mozharness
+        config:
+            - builds/taskcluster_base_thunderbird.py
+            - builds/releng_base_linux_64_builds.py
+            - balrog/production.py
+        script: "mozharness/scripts/fx_desktop_build.py"
+        custom-build-variant-cfg: debug
+        tooltool-downloads: public
+        need-xvfb: true
+    toolchains:
+        - linux64-clang
+        - linux64-gcc
+        - linux64-sccache
+        - linux64-rust