Bug 1499590 - Taskcluster configuration for blocklist.xml updates. r=darktrojan
authorRob Lemley <rob@thunderbird.net>
Wed, 17 Oct 2018 02:35:03 +0000
changeset 33615 4595e058edbd7784c8a3e1577bb79c047a8217fe
parent 33614 078e0cf338b5f1ed49475909d4634e0f93dfbe29
child 33616 089769dbf2568287383d74bb514286f3776b6149
push id388
push userclokep@gmail.com
push dateMon, 28 Jan 2019 20:54:56 +0000
reviewersdarktrojan
bugs1499590
Bug 1499590 - Taskcluster configuration for blocklist.xml updates. r=darktrojan - Create new cron job to run the update - Create new kind to generate take for Thunderbird Differential Revision: https://phabricator.services.mozilla.com/D8947
taskcluster/ci/docker-image/kind.yml
taskcluster/ci/repo-update/kind.yml
--- a/taskcluster/ci/docker-image/kind.yml
+++ b/taskcluster/ci/docker-image/kind.yml
@@ -12,10 +12,11 @@ jobs:
     - debian7-amd64-build
     - debian7-base
     - debian7-i386-build
     - debian9-base
     - desktop1604-test
     - fetch
     - image_builder
     - lint
+    - periodic-updates
     - toolchain-build
     - update-verify
new file mode 100644
--- /dev/null
+++ b/taskcluster/ci/repo-update/kind.yml
@@ -0,0 +1,48 @@
+# 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
+
+transforms:
+   - taskgraph.transforms.repo_update:transforms
+   - taskgraph.transforms.task:transforms
+
+
+job-defaults:
+   worker:
+      env:
+         DO_BLOCKLIST:
+            by-project:
+               comm-central: "1"
+               comm-esr60: "1"
+               comm-beta: "1"
+               default: ""
+         USE_MOZILLA_CENTRAL: ""
+
+
+jobs:
+   blocklist-update:
+      name: periodic_file_update
+      description: Blocklist update
+      run-on-projects: []  # Only run via cron
+      treeherder:
+         kind: build
+         platform: linux64/opt
+         symbol: pfu
+         tier: 1
+      worker-type: aws-provisioner-v1/gecko-{level}-b-linux
+      worker:
+         implementation: docker-worker
+         os: linux
+         docker-image: {in-tree: periodic-updates}
+         max-run-time: 3600  # Max 1hr, takes ~5mins in testing
+         env:
+            PRODUCT: thunderbird
+            REVIEWERS: "rjl"
+         command:
+            - /runme.sh
+         taskcluster-proxy: true
+
+      scopes:
+         - secrets:get:project/comm/thunderbird/releng/build/level-{level}/arc-phabricator-token