diff options
author | Ryan Tseng <hinoka@google.com> | 2018-07-24 00:17:05 +0000 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2018-07-24 00:17:05 +0000 |
commit | 0011794a2776c9bac715921b07286bf7de0c0048 (patch) | |
tree | 994d16c1d48910d5a811b64e7d3ec062bcd958d9 | |
parent | 717b5746b2827c93bc1d202bce71971095946f34 (diff) | |
download | pdfium-0011794a2776c9bac715921b07286bf7de0c0048.tar.xz |
Add luci configs
This adds:
* cr-buildbucket.cfg: Adds and configures buckets and builders
* luci-milo.cfg: For display settings
* luci-logdog.cfg: For logs, re-uses chromium settings since this is public.
* luci-scheduler.cfg: For waterfall builders that trigger off git
Change-Id: I250906ca822465d5bec8a18ff238b6f98e4e4b1a
Reviewed-on: https://pdfium-review.googlesource.com/38650
Reviewed-by: Lei Zhang <thestig@chromium.org>
Commit-Queue: Ryan Tseng <hinoka@google.com>
-rw-r--r-- | cr-buildbucket.cfg | 302 | ||||
-rw-r--r-- | luci-logdog.cfg | 14 | ||||
-rw-r--r-- | luci-milo.cfg | 261 | ||||
-rw-r--r-- | luci-scheduler.cfg | 269 |
4 files changed, 846 insertions, 0 deletions
diff --git a/cr-buildbucket.cfg b/cr-buildbucket.cfg index 4d336843fa..e735cbfe41 100644 --- a/cr-buildbucket.cfg +++ b/cr-buildbucket.cfg @@ -28,3 +28,305 @@ buckets { identity: "dsinclair@chromium.org" } } + +builder_mixins { + name: "linux" + dimensions: "os:Ubuntu-14.04" +} + +builder_mixins { + name: "win" + dimensions: "os:Windows-10" +} + +builder_mixins { + name: "mac" + dimensions: "os:Mac-10.13" + dimensions: "cores:" # Macs can be 4 or 8 cores. +} + + +acl_sets { + name: "ci" + acls { + role: READER + group: "all" + } + acls { + role: WRITER + group: "project-pdfium-admins" + } + acls { + role: SCHEDULER + identity: "luci-scheduler@appspot.gserviceaccount.com" + } +} + +acl_sets { + name: "try" + acls { + role: READER + group: "all" + } + acls { + role: WRITER + group: "project-pdfium-admins" + } + acls { + role: SCHEDULER + group: "service-account-cq" + } + acls { + role: SCHEDULER + group: "project-pdfium-tryjob-access" + } +} + + +bucket { + name: "luci.pdfium.ci" + acl_sets: "ci + swarming { + hostname: "chromium-swarm.appspot.com" + builder_defaults { + dimensions: "cores:8" + dimensions: "cpu:x86-64" + dimensions: "pool:luci.flex.ci" + service_account: "pdfium-ci-builder@chops-service-accounts.iam.gserviceaccount.com" + execution_timeout_secs: 10800 # 3h + swarming_tags: "vpython:native-python-wrapper" + build_numbers: YES + luci_migration_host: "luci-migration.appspot.com" + recipe { + cipd_package: "infra/recipe_bundles/chromium.googlesource.com/chromium/tools/build" + cipd_version: "refs/heads/master" + name: "pdfium" + } + } + + builders { + name: "android" + mixins: "linux" + } + builders { + name: "linux" + mixins: "linux" + } + builders { + name: "linux_asan_lsan" + mixins: "linux" + } + builders { + name: "linux_msan" + mixins: "linux" + } + builders { + name: "linux_no_v8" + mixins: "linux" + } + builders { + name: "linux_xfa" + mixins: "linux" + } + builders { + name: "linux_xfa_asan_lsan" + mixins: "linux" + } + builders { + name: "linux_xfa_msan" + mixins: "linux" + } + builders { + name: "linux_xfa_rel" + mixins: "linux" + } + builders { + name: "mac" + mixins: "mac" + } + builders { + name: "mac_no_v8" + mixins: "mac" + } + builders { + name: "mac_xfa" + mixins: "mac" + } + builders { + name: "mac_xfa_rel" + mixins: "mac" + } + builders { + name: "win_xfa_asan" + mixins: "win" + } + builders { + name: "windows" + mixins: "win" + } + builders { + name: "windows_asan" + mixins: "win" + } + builders { + name: "windows_no_v8" + mixins: "win" + } + builders { + name: "windows_xfa" + mixins: "win" + } + builders { + name: "windows_xfa_32" + mixins: "win" + } + builders { + name: "windows_xfa_msvc" + mixins: "win" + } + builders { + name: "windows_xfa_msvc_32" + mixins: "win" + } + builders { + name: "windows_xfa_rel" + mixins: "win" + } + } +} + +bucket { + name: "luci.pdfium.try" + acl_sets: "try" + swarming { + hostname: "chromium-swarm.appspot.com" + builder_defaults { + dimensions: "cores:8" + dimensions: "cpu:x86-64" + dimensions: "pool:luci.flex.try" + service_account: "pdfium-try-builder@chops-service-accounts.iam.gserviceaccount.com" + execution_timeout_secs: 10800 # 3h + swarming_tags: "vpython:native-python-wrapper" + build_numbers: YES + luci_migration_host: "luci-migration.appspot.com" + recipe { + cipd_package: "infra/recipe_bundles/chromium.googlesource.com/chromium/tools/build" + cipd_version: "refs/heads/master" + name: "pdfium" + } + } + + builders { + name: "android" + mixins: "linux" + } + builders { + name: "linux" + mixins: "linux" + } + builders { + name: "linux_asan_lsan" + mixins: "linux" + } + builders { + name: "linux_msan" + mixins: "linux" + } + builders { + name: "linux_no_v8" + mixins: "linux" + } + builders { + name: "linux_skia" + mixins: "linux" + } + builders { + name: "linux_xfa" + mixins: "linux" + } + builders { + name: "linux_xfa_asan_lsan" + mixins: "linux" + } + builders { + name: "linux_xfa_jumbo" + mixins: "linux" + } + builders { + name: "linux_xfa_msan" + mixins: "linux" + } + builders { + name: "linux_xfa_rel" + mixins: "linux" + } + builders { + name: "mac" + mixins: "mac" + } + builders { + name: "mac_no_v8" + mixins: "mac" + } + builders { + name: "mac_skia" + mixins: "mac" + } + builders { + name: "mac_xfa" + mixins: "mac" + } + builders { + name: "mac_xfa_jumbo" + mixins: "mac" + } + builders { + name: "mac_xfa_rel" + mixins: "mac" + } + builders { + name: "win" + mixins: "win" + } + builders { + name: "win_asan" + mixins: "win" + } + builders { + name: "win_no_v8" + mixins: "win" + } + builders { + name: "win_skia" + mixins: "win" + } + builders { + name: "win_xfa" + mixins: "win" + } + builders { + name: "win_xfa_32" + mixins: "win" + } + builders { + name: "win_xfa_asan" + mixins: "win" + } + builders { + name: "win_xfa_jumbo" + mixins: "win" + } + builders { + name: "win_xfa_msvc" + mixins: "win" + } + builders { + name: "win_xfa_msvc_32" + mixins: "win" + } + builders { + name: "win_xfa_rel" + mixins: "win" + } + } +} diff --git a/luci-logdog.cfg b/luci-logdog.cfg new file mode 100644 index 0000000000..a118b13d14 --- /dev/null +++ b/luci-logdog.cfg @@ -0,0 +1,14 @@ +# For the schema of this file and documentation, see ProjectConfig message in +# https://luci-config.appspot.com/schemas/services/luci-logdog:logdog.cfg +# This is for the pdfium project, but we're going to piggyback +# off of the chromium settings. + +# Auth groups who can read log streams. +reader_auth_groups: "all" +# Auth groups who can register and emit new log streams. +writer_auth_groups: "luci-logdog-chromium-writers" +# The base Google Storage archival path for this project. +# +# Archived LogDog logs will be written to this bucket/path. +archive_gs_bucket: "chromium-luci-logdog" + diff --git a/luci-milo.cfg b/luci-milo.cfg new file mode 100644 index 0000000000..ba2d3393d9 --- /dev/null +++ b/luci-milo.cfg @@ -0,0 +1,261 @@ +consoles { + id: "main" + name: "Pdfium Main Console" + repo_url: "https://pdfium.googlesource.com/pdfium" + refs: "refs/heads/master" + manifest_name: "REVISION" + + builders { + name: "buildbot/client.pdfium/android" + name: "buildbucket/luci.pdfium.ci/android" + category: "main|android" + } + builders { + name: "buildbot/client.pdfium/linux" + name: "buildbucket/luci.pdfium.ci/linux" + category: "main|linux" + } + builders { + name: "buildbot/client.pdfium/linux_asan_lsan" + name: "buildbucket/luci.pdfium.ci/linux_asan_lsan" + category: "main|linux" + short_name: "asan" + } + builders { + name: "buildbot/client.pdfium/linux_msan" + name: "buildbucket/luci.pdfium.ci/linux_msan" + category: "main|linux" + short_name: "msan" + } + builders { + name: "buildbot/client.pdfium/mac" + name: "buildbucket/luci.pdfium.ci/mac" + category: "main|mac" + } + builders { + name: "buildbot/client.pdfium/windows" + name: "buildbucket/luci.pdfium.ci/windows" + category: "main|win" + } + builders { + name: "buildbot/client.pdfium/windows_asan" + name: "buildbucket/luci.pdfium.ci/windows_asan" + category: "main|win" + short_name: "asan" + } + + builders { + name: "buildbot/client.pdfium/linux_xfa" + name: "buildbucket/luci.pdfium.ci/linux_xfa" + category: "xfa|linux" + } + builders { + name: "buildbot/client.pdfium/linux_xfa_asan_lsan" + name: "buildbucket/luci.pdfium.ci/linux_xfa_asan_lsan" + category: "xfa|linux" + short_name: "asan" + } + builders { + name: "buildbot/client.pdfium/linux_xfa_msan" + name: "buildbucket/luci.pdfium.ci/linux_xfa_msan" + category: "xfa|linux" + short_name: "msan" + } + builders { + name: "buildbot/client.pdfium/linux_xfa_rel" + name: "buildbucket/luci.pdfium.ci/linux_xfa_rel" + category: "xfa|linux" + short_name: "rel" + } + builders { + name: "buildbot/client.pdfium/mac_xfa" + name: "buildbucket/luci.pdfium.ci/mac_xfa" + category: "xfa|mac" + } + builders { + name: "buildbot/client.pdfium/mac_xfa_rel" + name: "buildbucket/luci.pdfium.ci/mac_xfa_rel" + category: "xfa|mac" + short_name: "rel" + } + builders { + name: "buildbot/client.pdfium/windows_xfa" + name: "buildbucket/luci.pdfium.ci/windows_xfa" + category: "xfa|win" + } + builders { + name: "buildbot/client.pdfium/windows_xfa_rel" + name: "buildbucket/luci.pdfium.ci/windows_xfa_rel" + category: "xfa|win" + short_name: "rel" + } + builders { + name: "buildbot/client.pdfium/win_xfa_asan" + name: "buildbucket/luci.pdfium.ci/win_xfa_asan" + category: "xfa|win" + short_name: "asan" + } + builders { + name: "buildbot/client.pdfium/windows_xfa_32" + name: "buildbucket/luci.pdfium.ci/windows_xfa_32" + category: "xfa|win" + short_name: "32" + } + builders { + name: "buildbot/client.pdfium/windows_xfa_msvc" + name: "buildbucket/luci.pdfium.ci/windows_xfa_msvc" + category: "xfa|win|msvc" + short_name: "64" + } + builders { + name: "buildbot/client.pdfium/windows_xfa_msvc_32" + name: "buildbucket/luci.pdfium.ci/windows_xfa_msvc_32" + category: "xfa|win|msvc" + short_name: "32" + } + + builders { + name: "buildbot/client.pdfium/linux_no_v8" + name: "buildbucket/luci.pdfium.ci/linux_no_v8" + category: "no v8" + short_name: "linux" + } + builders { + name: "buildbot/client.pdfium/mac_no_v8" + name: "buildbucket/luci.pdfium.ci/mac_no_v8" + category: "no v8" + short_name: "mac" + } + builders { + name: "buildbot/client.pdfium/windows_no_v8" + name: "buildbucket/luci.pdfium.ci/windows_no_v8" + category: "no v8" + short_name: "win" + } +} + +consoles { + id: "try" + name: "Pdfium Try Builders" + repo_url: "https://pdfium.googlesource.com/pdfium" + refs: "refs/heads/master" + manifest_name: "REVISION" + builder_view_only: true + + builders { + name: "buildbot/tryserver.client.pdfium/android" + name: "buildbucket/luci.pdfium.try/android" + } + builders { + name: "buildbot/tryserver.client.pdfium/linux" + name: "buildbucket/luci.pdfium.try/linux" + } + builders { + name: "buildbot/tryserver.client.pdfium/linux_asan_lsan" + name: "buildbucket/luci.pdfium.try/linux_asan_lsan" + } + builders { + name: "buildbot/tryserver.client.pdfium/linux_msan" + name: "buildbucket/luci.pdfium.try/linux_msan" + } + builders { + name: "buildbot/tryserver.client.pdfium/mac" + name: "buildbucket/luci.pdfium.try/mac" + } + builders { + name: "buildbot/tryserver.client.pdfium/win" + name: "buildbucket/luci.pdfium.try/win" + } + + builders { + name: "buildbot/tryserver.client.pdfium/linux_xfa" + name: "buildbucket/luci.pdfium.try/linux_xfa" + } + builders { + name: "buildbot/tryserver.client.pdfium/linux_xfa_asan_lsan" + name: "buildbucket/luci.pdfium.try/linux_xfa_asan_lsan" + } + builders { + name: "buildbot/tryserver.client.pdfium/linux_xfa_jumbo" + name: "buildbucket/luci.pdfium.try/linux_xfa_jumbo" + } + builders { + name: "buildbot/tryserver.client.pdfium/linux_xfa_msan" + name: "buildbucket/luci.pdfium.try/linux_xfa_msan" + } + builders { + name: "buildbot/tryserver.client.pdfium/linux_xfa_rel" + name: "buildbucket/luci.pdfium.try/linux_xfa_rel" + } + builders { + name: "buildbot/tryserver.client.pdfium/mac_xfa" + name: "buildbucket/luci.pdfium.try/mac_xfa" + } + builders { + name: "buildbot/tryserver.client.pdfium/mac_xfa_jumbo" + name: "buildbucket/luci.pdfium.try/mac_xfa_jumbo" + } + builders { + name: "buildbot/tryserver.client.pdfium/mac_xfa_rel" + name: "buildbucket/luci.pdfium.try/mac_xfa_rel" + } + builders { + name: "buildbot/tryserver.client.pdfium/win_asan" + name: "buildbucket/luci.pdfium.try/win_asan" + } + builders { + name: "buildbot/tryserver.client.pdfium/win_xfa" + name: "buildbucket/luci.pdfium.try/win_xfa" + } + builders { + name: "buildbot/tryserver.client.pdfium/win_xfa_32" + name: "buildbucket/luci.pdfium.try/win_xfa_32" + } + builders { + name: "buildbot/tryserver.client.pdfium/win_xfa_asan" + name: "buildbucket/luci.pdfium.try/win_xfa_asan" + } + builders { + name: "buildbot/tryserver.client.pdfium/win_xfa_jumbo" + name: "buildbucket/luci.pdfium.try/win_xfa_jumbo" + } + builders { + name: "buildbot/tryserver.client.pdfium/win_xfa_msvc" + name: "buildbucket/luci.pdfium.try/win_xfa_msvc" + } + builders { + name: "buildbot/tryserver.client.pdfium/win_xfa_msvc_32" + name: "buildbucket/luci.pdfium.try/win_xfa_msvc_32" + } + builders { + name: "buildbot/tryserver.client.pdfium/win_xfa_rel" + name: "buildbucket/luci.pdfium.try/win_xfa_rel" + } + + + builders { + name: "buildbot/tryserver.client.pdfium/linux_skia" + name: "buildbucket/luci.pdfium.try/linux_skia" + } + builders { + name: "buildbot/tryserver.client.pdfium/win_skia" + name: "buildbucket/luci.pdfium.try/win_skia" + } + builders { + name: "buildbot/tryserver.client.pdfium/mac_skia" + name: "buildbucket/luci.pdfium.try/mac_skia" + } + + builders { + name: "buildbot/tryserver.client.pdfium/win_no_v8" + name: "buildbucket/luci.pdfium.try/win_no_v8" + } + builders { + name: "buildbot/tryserver.client.pdfium/linux_no_v8" + name: "buildbucket/luci.pdfium.try/linux_no_v8" + } + builders { + name: "buildbot/tryserver.client.pdfium/mac_no_v8" + name: "buildbucket/luci.pdfium.try/mac_no_v8" + } +} diff --git a/luci-scheduler.cfg b/luci-scheduler.cfg new file mode 100644 index 0000000000..29c4f94843 --- /dev/null +++ b/luci-scheduler.cfg @@ -0,0 +1,269 @@ +# Defines jobs on luci-scheduler.appspot.com. +# +# For schema of this file and documentation see ProjectConfig message in +# +# https://chromium.googlesource.com/infra/luci/luci-go/+/master/scheduler/appengine/messages/config.proto + +acl_sets { + name: "default" + acls { + role: READER + granted_to: "group:all" + } + acls { + role: OWNER + granted_to: "group:project-pdfium-admins" + } +} + +trigger { + id: "master-gitiles-trigger" + acl_sets: "default" + gitiles: { + repo: "https://pdfium.googlesource.com/pdfium.git" + refs: "refs/heads/master" + } + + triggers: "android" + triggers: "linux" + triggers: "linux_asan_lsan" + triggers: "linux_msan" + triggers: "linux_no_v8" + triggers: "linux_xfa" + triggers: "linux_xfa_asan_lsan" + triggers: "linux_xfa_msan" + triggers: "linux_xfa_rel" + triggers: "mac" + triggers: "mac_no_v8" + triggers: "mac_xfa" + triggers: "mac_xfa_rel" + triggers: "win_xfa_asan" + triggers: "windows" + triggers: "windows_asan" + triggers: "windows_no_v8" + triggers: "windows_xfa" + triggers: "windows_xfa_32" + triggers: "windows_xfa_msvc" + triggers: "windows_xfa_msvc_32" + triggers: "windows_xfa_rel" +} + +job { + id: "android" + acl_sets: "default" + buildbucket: { + server: "cr-buildbucket.appspot.com" + bucket: "luci.pdfium.ci" + builder: "android" + } +} + +job { + id: "linux" + acl_sets: "default" + buildbucket: { + server: "cr-buildbucket.appspot.com" + bucket: "luci.pdfium.ci" + builder: "linux" + } +} + +job { + id: "linux_asan_lsan" + acl_sets: "default" + buildbucket: { + server: "cr-buildbucket.appspot.com" + bucket: "luci.pdfium.ci" + builder: "linux_asan_lsan" + } +} + +job { + id: "linux_msan" + acl_sets: "default" + buildbucket: { + server: "cr-buildbucket.appspot.com" + bucket: "luci.pdfium.ci" + builder: "linux_msan" + } +} + +job { + id: "linux_no_v8" + acl_sets: "default" + buildbucket: { + server: "cr-buildbucket.appspot.com" + bucket: "luci.pdfium.ci" + builder: "linux_no_v8" + } +} + +job { + id: "linux_xfa" + acl_sets: "default" + buildbucket: { + server: "cr-buildbucket.appspot.com" + bucket: "luci.pdfium.ci" + builder: "linux_xfa" + } +} + +job { + id: "linux_xfa_asan_lsan" + acl_sets: "default" + buildbucket: { + server: "cr-buildbucket.appspot.com" + bucket: "luci.pdfium.ci" + builder: "linux_xfa_asan_lsan" + } +} + +job { + id: "linux_xfa_msan" + acl_sets: "default" + buildbucket: { + server: "cr-buildbucket.appspot.com" + bucket: "luci.pdfium.ci" + builder: "linux_xfa_msan" + } +} + +job { + id: "linux_xfa_rel" + acl_sets: "default" + buildbucket: { + server: "cr-buildbucket.appspot.com" + bucket: "luci.pdfium.ci" + builder: "linux_xfa_rel" + } +} + +job { + id: "mac" + acl_sets: "default" + buildbucket: { + server: "cr-buildbucket.appspot.com" + bucket: "luci.pdfium.ci" + builder: "mac" + } +} + +job { + id: "mac_no_v8" + acl_sets: "default" + buildbucket: { + server: "cr-buildbucket.appspot.com" + bucket: "luci.pdfium.ci" + builder: "mac_no_v8" + } +} + +job { + id: "mac_xfa" + acl_sets: "default" + buildbucket: { + server: "cr-buildbucket.appspot.com" + bucket: "luci.pdfium.ci" + builder: "mac_xfa" + } +} + +job { + id: "mac_xfa_rel" + acl_sets: "default" + buildbucket: { + server: "cr-buildbucket.appspot.com" + bucket: "luci.pdfium.ci" + builder: "mac_xfa_rel" + } +} + +job { + id: "win_xfa_asan" + acl_sets: "default" + buildbucket: { + server: "cr-buildbucket.appspot.com" + bucket: "luci.pdfium.ci" + builder: "win_xfa_asan" + } +} + +job { + id: "windows" + acl_sets: "default" + buildbucket: { + server: "cr-buildbucket.appspot.com" + bucket: "luci.pdfium.ci" + builder: "windows" + } +} + +job { + id: "windows_asan" + acl_sets: "default" + buildbucket: { + server: "cr-buildbucket.appspot.com" + bucket: "luci.pdfium.ci" + builder: "windows_asan" + } +} + +job { + id: "windows_no_v8" + acl_sets: "default" + buildbucket: { + server: "cr-buildbucket.appspot.com" + bucket: "luci.pdfium.ci" + builder: "windows_no_v8" + } +} + +job { + id: "windows_xfa" + acl_sets: "default" + buildbucket: { + server: "cr-buildbucket.appspot.com" + bucket: "luci.pdfium.ci" + builder: "windows_xfa" + } +} + +job { + id: "windows_xfa_32" + acl_sets: "default" + buildbucket: { + server: "cr-buildbucket.appspot.com" + bucket: "luci.pdfium.ci" + builder: "windows_xfa_32" + } +} + +job { + id: "windows_xfa_msvc" + acl_sets: "default" + buildbucket: { + server: "cr-buildbucket.appspot.com" + bucket: "luci.pdfium.ci" + builder: "windows_xfa_msvc" + } +} + +job { + id: "windows_xfa_msvc_32" + acl_sets: "default" + buildbucket: { + server: "cr-buildbucket.appspot.com" + bucket: "luci.pdfium.ci" + builder: "windows_xfa_msvc_32" + } +} + +job { + id: "windows_xfa_rel" + acl_sets: "default" + buildbucket: { + server: "cr-buildbucket.appspot.com" + bucket: "luci.pdfium.ci" + builder: "windows_xfa_rel" + } +} |