Commit Graph

82 Commits

Author SHA1 Message Date
Andrii Shyshkalov e85652b61d infra: Remove no longer used refs.cfg.
R=cwallez@chromium.org, vadimsh@chromium.org

No-Try: true
Change-Id: I43d418c8c52af82f62c7074800160353458dbb7d
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/29422
Reviewed-by: Corentin Wallez <cwallez@chromium.org>
Commit-Queue: Corentin Wallez <cwallez@chromium.org>
2020-10-06 11:53:29 +00:00
Vadim Shtayura 8ba1ef33da infra: Stop statically enforcing Xcode version.
The OSX machines in "luci.flex.try" pool that run Dawn tryjobs
have been upgraded from OSX 10.14 to OSX 10.15. Per [1],
the preferred Xcode version on OSX 10.15 is '12a7209' and most
tryjobs (from other projects) install that version. But when
a Dawn tryjob runs, it rolls Xcode back to '11b52'. Reinstalling Xcode
back and forth like that takes time (~20 min), it caused some tryjobs
in the "infra" project to timeout.

Unhardcode Xcode version in Dawn configs. It should allow the recipe
to pick the "best" version ('12a7209' in this case).

[1]: https://source.chromium.org/chromium/chromium/tools/depot_tools/+/master:recipes/recipe_modules/osx_sdk/api.py;l=21?q=11b52&ss=chromium

R=cwallez@chromium.org, tandrii@chromium.org

Change-Id: I8499a763679b9e9270854bf66c2a21f1e6354594
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/29440
Reviewed-by: Corentin Wallez <cwallez@chromium.org>
Commit-Queue: Corentin Wallez <cwallez@chromium.org>
2020-10-06 09:16:19 +00:00
Kai Ninomiya 01aeca22a9 Add .clang-format files and format more files
The .clang-format files tell clang-format to ignore certain directories
(replacing code in lint_clang_format.sh which will be removed).

$ git ls-tree -r master --name-only | grep '\.\(c\|h\|cpp\|gn\|gni\|mm\|m\|py\)$' | xargs ./append-space-to-files
$ git checkout -- generator/templates third_party/khronos/{KHR,vulkan}
$ git cl format --full --python

Followed by manual reformatting of a few things in Python for
readability.

Bug: none
Change-Id: I4c9e472cc9a5cd80c07286e808f4e597cfef5428
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/24785
Reviewed-by: Kai Ninomiya <kainino@chromium.org>
Commit-Queue: Kai Ninomiya <kainino@chromium.org>
2020-07-15 19:51:17 +00:00
Corentin Wallez 83faf15d21 infra: Migrate builders to Goma RBE
Bug: 950413
Change-Id: I95ff4bc6380eb2af210a8c264411d6064a9a8b32
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/22900
Reviewed-by: Simon Que <sque@google.com>
Reviewed-by: Corentin Wallez <cwallez@chromium.org>
Commit-Queue: Corentin Wallez <cwallez@chromium.org>
2020-06-09 12:34:02 +00:00
Austin Eng 89beb5fb8c Remove experimental Dawn DEPS CQ bots
These were experimental while we did not have the CTS running on
Dawn's CQ. We can remove them now.

Tbr=cwallez@chromium.org
Bug: dawn:396
Change-Id: I1d459b190e44374e54c47a8bc4ad37a70426847b
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/21800
Reviewed-by: Austin Eng <enga@chromium.org>
Reviewed-by: Corentin Wallez <cwallez@chromium.org>
Commit-Queue: Austin Eng <enga@chromium.org>
2020-05-15 17:43:02 +00:00
Corentin Wallez 73c58010c7 infra: Use macOS 10.15 and newer OSX SDK.
Bug: dawn:339
Change-Id: If25b3ace5ee6fe8d58054f9421a3417870dda750
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/16200
Reviewed-by: Austin Eng <enga@chromium.org>
Commit-Queue: Corentin Wallez <cwallez@chromium.org>
2020-02-25 17:12:27 +00:00
Robert Iannucci ef2fac0b94 [infra/config] Bump OS X SDK version for dawn.
Bug: chromium:973721
Change-Id: I0dd5d9f4a06c791b4d8b0cb342974579a3f21624
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/9880
Commit-Queue: Kai Ninomiya <kainino@chromium.org>
Reviewed-by: Kai Ninomiya <kainino@chromium.org>
2019-08-09 01:19:04 +00:00
Takuto Ikuta cf20678c0d Use xenial explicitly for builder
This CL completely migrates dawn linux builder from trusty to xenial.

BUG=chromium:981741
Change-Id: I5e9bdba7bd58355acaaeb9eebb120155b7996fd7
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/9060
Reviewed-by: Corentin Wallez <cwallez@chromium.org>
Commit-Queue: Corentin Wallez <cwallez@chromium.org>
2019-07-17 08:37:49 +00:00
Corentin Wallez b6096db4ab Make Linux bots run on an unspecified Ubuntu version
Previously they would only run on Ubuntu 14.04 which has been removed
from the luci flex pool. Run on unspecified Ubuntu version so the
tryjobs start working again.

TBR=enga@chromium.org
BUG=

Change-Id: I32d584ae6ef90a5add926c3c6c60a1d45aed0d45
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/8441
Reviewed-by: Corentin Wallez <cwallez@chromium.org>
2019-07-01 07:46:28 +00:00
Austin Eng 88860d1ced Add 32 bit Linux/Windows builders to the Dawn CQ
We need a 32-bit Dawn CQ builders to catch build breakages on those
platforms.

Bug: dawn:168
Change-Id: Iafc1af9002992fbf16c9ca996fd578dc21aa516d
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/8040
Reviewed-by: Kai Ninomiya <kainino@chromium.org>
Commit-Queue: Austin Eng <enga@chromium.org>
2019-06-11 16:51:24 +00:00
Austin Eng e99e2408e9 Run Dawn DEPS trybots as experimental
This change runs Dawn DEPS trybots as experimental. It allows us to know
when Dawn changes will break Chromium and the autoroller. They are
experimental because we expect Chromium integration to break when Dawn's
API changes.

Bug: chromium:948902
Change-Id: Ifb2ac253fefc90c68a4b56d5895099e1ddf596e7
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/6880
Reviewed-by: Corentin Wallez <cwallez@chromium.org>
Reviewed-by: Kenneth Russell <kbr@google.com>
Commit-Queue: Austin Eng <enga@chromium.org>
2019-05-02 17:46:26 +00:00
Robert Iannucci 8deadd8d02 Add named cache for xcode installation.
This will prevent the builders from having to install XCode on every run.

R=cwallez@chromium.org, tandrii@google.com

Change-Id: I6480968dbf7d7f05bfd670ccbbf4790eb0c21d86
Reviewed-on: https://dawn-review.googlesource.com/c/5000
Commit-Queue: Corentin Wallez <cwallez@chromium.org>
Reviewed-by: Andrii Shyshkalov <tandrii@google.com>
Reviewed-by: Corentin Wallez <cwallez@chromium.org>
2019-02-25 09:10:05 +00:00
Corentin Wallez 1c0b0474c1 [commit-queue.cfg] Remove old cq.cfg
Bug=chromium:916292

Change-Id: I3b55d17aee849228d4db73c82bb3746df9eb6060
Reviewed-on: https://dawn-review.googlesource.com/c/4200
Reviewed-by: Andrii Shyshkalov <tandrii@google.com>
Commit-Queue: Corentin Wallez <cwallez@chromium.org>
2019-01-28 09:03:26 +00:00
Andrii Shyshkalov b92cee8987 [commit-queue.cfg] Create new project-scoped CQ config.
Autogenerated from ref-scoped cq.cfg located at:
  https://dawn.googlesource.com/dawn/+/refs/heads/master/infra/config/branch/cq.cfg
  (pinned https://dawn.googlesource.com/dawn/+/b59d04f79ee3bdc173beba9256c266e009321ffb/infra/config/branch/cq.cfg)

The new config is functionally equivalent to the old one. Upon landing, the new
config will take effect once LUCI config service picks it up. If you see
'commit-queue.cfg' in https://luci-config.appspot.com/#/projects/dawn ,
then it has been picked up.

New commit-queue.cfg takes precedence over old cq.cfg, and once picked up makes
it safe to remove old cq.cfg.

See also internal PSA go/psa-migrate-to-commit-queue-cfg.

Generated-by: https://crrev.com/i/815809
Bug: chromium:916292
Change-Id: I3d6a3dcf916fce35dca43ed3497d53eb6334d8f9
Reviewed-on: https://dawn-review.googlesource.com/c/4180
Reviewed-by: Corentin Wallez <cwallez@chromium.org>
Commit-Queue: Corentin Wallez <cwallez@chromium.org>
2019-01-28 07:18:32 +00:00
Corentin Wallez b59d04f79e Run linux-dawn-rel on the CQ
TBR=kainino@chromium.org
TBR=senorblanco@chromium.org
BUG=chromium:901830

Change-Id: I27e3046875a990756f1128a74e901dd41a34d2e5
Reviewed-on: https://dawn-review.googlesource.com/c/3241
Reviewed-by: Corentin Wallez <cwallez@chromium.org>
Commit-Queue: Corentin Wallez <cwallez@chromium.org>
2018-12-12 11:55:46 +00:00
Corentin Wallez 5acd60c929 Revert "Run linux-dawn-rel on the CQ"
This reverts commit 0bd32409b7.

Reason for revert: linux-dawn-rel fails when new tests are added.

Original change's description:
> Run linux-dawn-rel on the CQ
> 
> TBR=kainino@chromium.org
> TBR=senorblanco@chromium.org
> BUG=chromium:901830
> 
> Change-Id: Ia6c4c967e3152c3c5abfeef4da2a85e8076072bc
> Reviewed-on: https://dawn-review.googlesource.com/c/2705
> Reviewed-by: Corentin Wallez <cwallez@chromium.org>
> Commit-Queue: Corentin Wallez <cwallez@chromium.org>

TBR=cwallez@chromium.org,kainino@chromium.org,senorblanco@chromium.org

# Not skipping CQ checks because original CL landed > 1 day ago.

Bug: chromium:901830
Change-Id: I16d4168620388826f3b3091e034fb64cc8a4342f
Reviewed-on: https://dawn-review.googlesource.com/c/2800
Reviewed-by: Corentin Wallez <cwallez@chromium.org>
Commit-Queue: Corentin Wallez <cwallez@chromium.org>
2018-11-30 13:34:59 +00:00
Corentin Wallez 0bd32409b7 Run mac-dawn-rel on the CQ
TBR=kainino@chromium.org
TBR=senorblanco@chromium.org
BUG=chromium:901830

Change-Id: Ia6c4c967e3152c3c5abfeef4da2a85e8076072bc
Reviewed-on: https://dawn-review.googlesource.com/c/2705
Reviewed-by: Corentin Wallez <cwallez@chromium.org>
Commit-Queue: Corentin Wallez <cwallez@chromium.org>
2018-11-27 15:40:30 +00:00
Corentin Wallez 0da9494a4f Run mac-dawn-rel on the CQ
TBR=kainino@chromium.org
TBR=senorblanco@chromium.org
BUG=chromium:901830

Change-Id: I28fd4b5d4c2326035a6d3538b9f9eeda9efecdcf
Reviewed-on: https://dawn-review.googlesource.com/c/2620
Commit-Queue: Corentin Wallez <cwallez@chromium.org>
Reviewed-by: Corentin Wallez <cwallez@chromium.org>
2018-11-21 13:45:31 +00:00
Corentin Wallez ccfd89d1e3 Run win-dawn-rel on the CQ
BUG=chromium:901830
TBR-kainino@chromium.org
TBR=senorblanco@chromium.org

Change-Id: Ic8249f475f62bb39a8ff17fc6203dc56c6854176
Reviewed-on: https://dawn-review.googlesource.com/c/2501
Reviewed-by: Corentin Wallez <cwallez@chromium.org>
Commit-Queue: Corentin Wallez <cwallez@chromium.org>
2018-11-16 13:01:23 +00:00
Corentin Wallez bf47553c0a Revert "Add a temporary requirement for Mac bots to have XCode."
This reverts commit d3c4eda135.

Reason for revert: Issue has been fixed so we can remove the XCode
requirement.

Original change's description:
> Add a temporary requirement for Mac bots to have XCode.
> 
> BUG=chromium:884015
> 
> Change-Id: Iee2373b23ab5534165b36c40600cae86545ee3d9
> Reviewed-on: https://dawn-review.googlesource.com/1544
> Reviewed-by: Kai Ninomiya <kainino@chromium.org>
> Reviewed-by: Stephen White <senorblanco@chromium.org>

TBR=cwallez@chromium.org,kainino@chromium.org,senorblanco@chromium.org

# Not skipping CQ checks because original CL landed > 1 day ago.

Bug: chromium:884015
Change-Id: I5ae40e2343c7684bdbe533f5a8baa1490cdb37d1
Reviewed-on: https://dawn-review.googlesource.com/1643
Reviewed-by: Corentin Wallez <cwallez@chromium.org>
Commit-Queue: Corentin Wallez <cwallez@chromium.org>
2018-09-25 22:47:37 +00:00
Ryan Tseng 773e38098d luci-milo.cfg: Add logo
Dawn is missing a logo.

Change-Id: I836dc973119a33353a2d8051b2c84d2519b9a664
Reviewed-on: https://dawn-review.googlesource.com/1600
Reviewed-by: Andrii Shyshkalov <tandrii@google.com>
Commit-Queue: Ryan Tseng <hinoka@google.com>
2018-09-22 00:45:58 +00:00
Corentin Wallez d3c4eda135 Add a temporary requirement for Mac bots to have XCode.
BUG=chromium:884015

Change-Id: Iee2373b23ab5534165b36c40600cae86545ee3d9
Reviewed-on: https://dawn-review.googlesource.com/1544
Reviewed-by: Kai Ninomiya <kainino@chromium.org>
Reviewed-by: Stephen White <senorblanco@chromium.org>
2018-09-20 19:58:04 +00:00
Corentin Wallez cee1a43448 infra: Add a presubmit builder to the CQ.
Change-Id: Iec65e03fb8cb9d673cd611968e4204a46e92c561
2018-09-06 07:16:46 -04:00
Corentin Wallez 0f2a106a2a Revert "cr-buildbucket.cfg: Add cache for win_toolchain"
We already had these caches set up and luci-config now complains about
duplicate keys.

This reverts commit 484aca1d1f.
2018-09-05 08:44:23 -04:00
Corentin Wallez 484aca1d1f cr-buildbucket.cfg: Add cache for win_toolchain
Change-Id: I80de1062b3fc2a9649a123adc8374cc350db5ac4
2018-09-04 12:36:00 -04:00
Corentin Wallez 12ee5a530c cr-buildbucket.cfg: Tighten bot dimensions
There was flakiness on CI because of two things:
 - On Windows there is a bot that's only 32bit and our tools are 64bit
so the gn gen step was failing.
 - On macOS we require a minimum SDK version of 10.12 (the default in
build/'s GN files) and would get scheduled on macOS 10.9.

Change-Id: I47db92ec111d310d9b8cf8d9ee75a415df021581
2018-08-30 08:38:57 -04:00
Corentin Wallez a715469b5a Mirror CI builders in the try pool
This will allow testing specific configurations that are on CI
builders when trying to fix them.

Change-Id: If0bc5449e8d5088eff6695ac8671d06d7119dd59
2018-08-28 14:59:13 -04:00
Corentin Wallez 503e31edcb Make all CI bots scheduled by the gittiles trigger
Change-Id: I255128f881243ae5588db2e85b8a9fe415d4631c
2018-08-24 12:30:16 -04:00
Corentin Wallez 25b4d318c9 Fix typos in cr-builbucket.cfg
Change-Id: I9f8cb76cdae0de8c03afd1ca2f9ecf1d29b1783c
2018-08-23 17:31:37 -04:00
Corentin Wallez 0c601f2646 Fixes for cq.cfg
Remove the extra cq_name and add gerrit {} which is required.

A fun bug happened because our CQ config landed both global/ and
branch/ in the same commit. LUCI tries to discover where cq.cfg with
refs.cfg, however the processing of cq.cfg is done before refs.cfg. This
means that when everything was landed at once, the processing of cq.cfg
didn't where to look, and then refs.cfg was processed, but too late.

Change-Id: I9024278c6a32c806f4ed25b59f54a0365ac24566
2018-08-23 17:27:16 -04:00
Corentin Wallez 7efbacca83 cr-buildbucket.cfg: Fix missing clang and no_clang mixins 2018-08-23 10:07:23 -04:00
Corentin Wallez 99612ae059 Initial CQ configuration
Change-Id: I6af1836b6a3dddab0291bb4166e94d57c9e5eaa0
2018-08-23 08:33:35 -04:00