taskcluster/taskgraph/transforms/gecko_v2_whitelist.py
author Aki Sasaki <asasaki@mozilla.com>
Thu, 24 Aug 2017 18:14:28 -0700
changeset 653944 acf7e3e5c7fd7b4faff64ebdaba535026172cfba
parent 652560 e3c51a9aa108081c96ad8d5a993e6c513b00e84e
child 653964 a933f4ce887f3d1c27dd836ea4e92c157eb33259
permissions -rw-r--r--
bug 1383771 - back out e3c51a9aa108 until we fix bug 1393639. r=backout a=release

# 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/.
"""
This file contains a whitelist of gecko.v2 index route job names.  The intent
of this whitelist is to raise an alarm when new jobs are added.  If those jobs
already run in Buildbot, then it's important that the generated index routes
match (and that only one of Buildbot and TaskCluster be tier-1 at any time).
If the jobs are new and never ran in Buildbot, then their job name can be added
here without any further fuss.

Once all jobs have been ported from Buildbot, this file can be removed.
"""

from __future__ import absolute_import, print_function, unicode_literals

# please keep me in lexical order
JOB_NAME_WHITELIST = set([
    'android-aarch64-opt',
    'android-api-15-debug',
    'android-api-15-gradle-dependencies-opt',
    'android-api-15-gradle-opt',
    'android-api-15-opt',
    'android-api-15-old-id-opt',
    'android-x86-opt',
    'android-x86-old-id-opt',
    'browser-haz-debug',
    'linux-debug',
    'linux-devedition',
    'linux-opt',
    'linux-pgo',
    'linux64-add-on-devel',
    'linux64-artifact-opt',
    'linux64-asan-debug',
    'linux64-asan-opt',
    'linux64-base-toolchains-debug',
    'linux64-base-toolchains-opt',
    'linux64-fuzzing-asan-opt',
    'linux64-ccov-opt',
    'linux64-clang-tidy',
    'linux64-debug',
    'linux64-devedition',
    'linux64-jsdcov-opt',
    'linux64-noopt-debug',
    'linux64-opt',
    'linux64-pgo',
    'linux64-st-an-debug',
    'linux64-st-an-opt',
    'linux64-stylo-debug',
    'linux64-stylo-opt',
    'linux64-valgrind-opt',
    'linux64-dmd-opt',
    'macosx64-add-on-devel',
    'macosx64-clang-tidy',
    'macosx64-debug',
    'macosx64-nightly-repackage',
    'macosx64-nightly-repackage-signing',
    'macosx64-noopt-debug',
    'macosx64-opt',
    'macosx64-devedition-nightly-repackage',
    'macosx64-devedition-nightly-repackage-signing',
    'macosx64-st-an-debug',
    'macosx64-st-an-opt',
    'macosx64-dmd-opt',
    'shell-haz-debug',
    'sm-arm-sim-debug',
    'sm-arm64-sim-debug',
    'sm-asan-opt',
    'sm-compacting-debug',
    'sm-fuzzing',
    'sm-mozjs-sys-debug',
    'sm-msan-opt',
    'sm-nonunified-debug',
    'sm-package-opt',
    'sm-plain-opt',
    'sm-plaindebug-debug',
    'sm-rootanalysis-debug',
    'sm-tsan-opt',
    'win32-add-on-devel',
    'win32-clang-tidy',
    'win32-debug',
    'win32-devedition-nightly-repackage',
    'win32-devedition-nightly-repackage-signing',
    'win32-devedition-opt',
    'win32-nightly-repackage',
    'win32-nightly-repackage-signing',
    'win32-noopt-debug',
    'win32-opt',
    'win32-pgo',
    'win32-st-an-debug',
    'win32-st-an-opt',
    'win32-dmd-opt',
    'win64-add-on-devel',
    'win64-clang-tidy',
    'win64-debug',
    'win64-devedition-opt',
    'win64-devedition-nightly-repackage',
    'win64-devedition-nightly-repackage-signing',
    'win64-nightly-repackage',
    'win64-nightly-repackage-signing',
    'win64-noopt-debug',
    'win64-opt',
    'win64-pgo',
    'win64-st-an-debug',
    'win64-st-an-opt',
    'win64-asan-debug',
    'win64-asan-opt',
    'win64-dmd-opt',
])

JOB_NAME_WHITELIST_ERROR = """\
The gecko-v2 job name {} is not in the whitelist in gecko_v2_whitelist.py.
If this job runs on Buildbot, please ensure that the job names match between
Buildbot and TaskCluster, then add the job name to the whitelist.  If this is a
new job, there is nothing to check -- just add the job to the whitelist.
"""