Bug 1418593: Enable linux64 builds in taskcluster. draft
authorTom Prince <mozilla@hocat.ca>
Wed, 01 Nov 2017 12:33:54 -0600
changeset 23157 e6778dc87ec135ee1fb12068946e3d6a7e6d1cf0
parent 23156 ad5686d00bcd85fb7ab54020195116ebf6525b7e
child 23158 92ca7161e906360bc72a4dce4302a08e97e2fc7a
push id150
push userbmo:mozilla@hocat.ca
push dateMon, 20 Nov 2017 06:17:02 +0000
bugs1418593
Bug 1418593: Enable linux64 builds in taskcluster. 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