Bug 1408215 - Update builders to rust 1.21.0. draft
authorRalph Giles <giles@mozilla.com>
Fri, 13 Oct 2017 14:01:39 -0700
changeset 680592 8b45e9f5a821483e70421913732b3f659afe35e0
parent 680578 0bd9b61304e208cdd5cc489aef45fdff04a006f2
child 735901 cdb8693aea78ecedee11e70976bd65ea65d128d5
push id84554
push userbmo:giles@thaumas.net
push dateSun, 15 Oct 2017 17:19:30 +0000
bugs1408215
milestone58.0a1
Bug 1408215 - Update builders to rust 1.21.0. New upstream release. Maintain a linux64-rust-1.20 for use verifying the minimum- supported rust version once we update it. We still use rust 1.19 to build sccache since there are network connection issues when it's built with more recent rust releases. MozReview-Commit-ID: 9KjdYAAQZRa
taskcluster/ci/toolchain/linux.yml
taskcluster/ci/toolchain/windows.yml
--- a/taskcluster/ci/toolchain/linux.yml
+++ b/taskcluster/ci/toolchain/linux.yml
@@ -296,39 +296,63 @@ linux64-android-gradle-dependencies:
             - 'mobile/android/config/mozconfigs/common*'
         toolchain-artifact: public/build/android-gradle-dependencies.tar.xz
         toolchain-alias: android-gradle-dependencies
     toolchains:
         # Aliases aren't allowed for toolchains depending on toolchains.
         - linux64-android-sdk-linux-repack
         - linux64-proguard-jar-repack
 
-linux64-rust-1.20:
+linux64-rust-1.21:
     description: "rust repack"
     treeherder:
         kind: build
         platform: toolchains/opt
         symbol: TL(rust)
         tier: 1
     worker-type: aws-provisioner-v1/gecko-{level}-b-linux
     worker:
         docker-image: {in-tree: desktop-build}
         max-run-time: 7200
         env:
           UPLOAD_DIR: artifacts
     run:
         using: toolchain-script
         script: repack_rust.py
         arguments: [
+            '--channel', '1.21.0',
+            '--host', 'x86_64-unknown-linux-gnu',
+            '--target', 'x86_64-unknown-linux-gnu',
+            '--target', 'i686-unknown-linux-gnu',
+        ]
+        toolchain-alias: linux64-rust
+        toolchain-artifact: public/build/rustc.tar.xz
+
+linux64-rust-1.20:
+    description: "rust repack"
+    treeherder:
+        kind: build
+        platform: toolchains/opt
+        symbol: TL(rust-1.20)
+        tier: 1
+    worker-type: aws-provisioner-v1/gecko-{level}-b-linux
+    worker:
+        docker-image: {in-tree: desktop-build}
+        max-run-time: 7200
+        env:
+          UPLOAD_DIR: artifacts
+    run:
+        using: toolchain-script
+        script: repack_rust.py
+        arguments: [
             '--channel', '1.20.0',
             '--host', 'x86_64-unknown-linux-gnu',
             '--target', 'x86_64-unknown-linux-gnu',
             '--target', 'i686-unknown-linux-gnu',
         ]
-        toolchain-alias: linux64-rust
         toolchain-artifact: public/build/rustc.tar.xz
 
 linux64-rust-1.19:
     description: "rust repack"
     treeherder:
         kind: build
         platform: toolchains/opt
         symbol: TL(rust-1.19)
@@ -345,59 +369,59 @@ linux64-rust-1.19:
         arguments: [
             '--channel', '1.19.0',
             '--host', 'x86_64-unknown-linux-gnu',
             '--target', 'x86_64-unknown-linux-gnu',
             '--target', 'i686-unknown-linux-gnu',
         ]
         toolchain-artifact: public/build/rustc.tar.xz
 
-linux64-rust-macos-1.20:
+linux64-rust-macos-1.21:
     description: "rust repack with macos-cross support"
     treeherder:
         kind: build
         platform: toolchains/opt
         symbol: TL(rust-macos)
         tier: 1
     worker-type: aws-provisioner-v1/gecko-{level}-b-linux
     worker:
         docker-image: {in-tree: desktop-build}
         max-run-time: 7200
         env:
           UPLOAD_DIR: artifacts
     run:
         using: toolchain-script
         script: repack_rust.py
         arguments: [
-           '--channel', '1.20.0',
+           '--channel', '1.21.0',
            '--host', 'x86_64-unknown-linux-gnu',
            '--target', 'x86_64-unknown-linux-gnu',
            '--target', 'x86_64-apple-darwin',
         ]
         toolchain-alias: linux64-rust-macos
         toolchain-artifact: public/build/rustc.tar.xz
 
-linux64-rust-android-1.20:
+linux64-rust-android-1.21:
     description: "rust repack with android-cross support"
     treeherder:
         kind: build
         platform: toolchains/opt
         symbol: TL(rust-android)
         tier: 1
     worker-type: aws-provisioner-v1/gecko-{level}-b-linux
     worker:
         docker-image: {in-tree: desktop-build}
         max-run-time: 7200
         env:
           UPLOAD_DIR: artifacts
     run:
         using: toolchain-script
         script: repack_rust.py
         arguments: [
-           '--channel', '1.20.0',
+           '--channel', '1.21.0',
            '--host', 'x86_64-unknown-linux-gnu',
            '--target', 'x86_64-unknown-linux-gnu',
            '--target', 'armv7-linux-androideabi',
            '--target', 'aarch64-linux-android',
            '--target', 'i686-linux-android',
         ]
         toolchain-alias: linux64-rust-android
         toolchain-artifact: public/build/rustc.tar.xz
--- a/taskcluster/ci/toolchain/windows.yml
+++ b/taskcluster/ci/toolchain/windows.yml
@@ -89,34 +89,34 @@ win64-clang-tidy:
         script: build-clang-tidy64-windows.sh
         resources:
             - 'build/clang-plugin/**'
             - 'build/build-clang/build-clang.py'
             - 'build/build-clang/clang-tidy-win32.json'
             - 'taskcluster/scripts/misc/build-clang-windows-helper64.sh'
         toolchain-artifact: public/build/clang-tidy.tar.bz2
 
-win64-rust-1.20:
+win64-rust-1.21:
     description: "rust repack"
     treeherder:
         kind: build
         platform: toolchains/opt
         symbol: TW64(rust)
         tier: 1
     worker-type: aws-provisioner-v1/gecko-{level}-b-linux
     worker:
         docker-image: {in-tree: desktop-build}
         max-run-time: 7200
         env:
           UPLOAD_DIR: artifacts
     run:
         using: toolchain-script
         script: repack_rust.py
         arguments: [
-          '--channel', '1.20.0',
+          '--channel', '1.21.0',
           '--host', 'x86_64-pc-windows-msvc',
           '--target', 'x86_64-pc-windows-msvc',
         ]
         toolchain-alias: win64-rust
         toolchain-artifact: public/build/rustc.tar.bz2
 
 win64-rust-1.19:
     description: "rust repack"
@@ -136,58 +136,58 @@ win64-rust-1.19:
         script: repack_rust.py
         arguments: [
           '--channel', '1.19.0',
           '--host', 'x86_64-pc-windows-msvc',
           '--target', 'x86_64-pc-windows-msvc',
         ]
         toolchain-artifact: public/build/rustc.tar.bz2
 
-win32-rust-1.20:
+win32-rust-1.21:
     description: "rust repack"
     treeherder:
         kind: build
         platform: toolchains/opt
         symbol: TW32(rust)
         tier: 1
     worker-type: aws-provisioner-v1/gecko-{level}-b-linux
     worker:
         docker-image: {in-tree: desktop-build}
         max-run-time: 7200
         env:
           UPLOAD_DIR: artifacts
     run:
         using: toolchain-script
         script: repack_rust.py
         arguments: [
-          '--channel', '1.20.0',
+          '--channel', '1.21.0',
           '--host', 'i686-pc-windows-msvc',
           '--target', 'i686-pc-windows-msvc',
         ]
         toolchain-alias: win32-rust
         toolchain-artifact: public/build/rustc.tar.bz2
 
-mingw32-rust-1.20:
+mingw32-rust-1.21:
     description: "rust repack"
     treeherder:
         kind: build
         platform: toolchains/opt
         symbol: TMW(rust)
         tier: 1
     worker-type: aws-provisioner-v1/gecko-{level}-b-linux
     worker:
         docker-image: {in-tree: desktop-build}
         max-run-time: 7200
         env:
           UPLOAD_DIR: artifacts
     run:
         using: toolchain-script
         script: repack_rust.py
         arguments: [
-          '--channel', '1.20.0',
+          '--channel', '1.21.0',
           '--host', 'i686-unknown-linux-gnu',
           '--target', 'i686-pc-windows-gnu',
           '--target', 'x86_64-unknown-linux-gnu',
           '--target', 'i686-unknown-linux-gnu',
         ]
         toolchain-alias: mingw32-rust
         toolchain-artifact: public/build/rustc.tar.xz