Skip to content

ci: Move tooling tests to tooling job#17071

Merged
lizan merged 1 commit intoenvoyproxy:mainfrom
phlax:ci-format-tests
Jun 30, 2021
Merged

ci: Move tooling tests to tooling job#17071
lizan merged 1 commit intoenvoyproxy:mainfrom
phlax:ci-format-tests

Conversation

@phlax
Copy link
Member

@phlax phlax commented Jun 21, 2021

Signed-off-by: Ryan Northey ryan@synca.io

Commit Message: ci: Move format tests to tooling
Additional Description:

Moves the format tests to the tooling job - this prevents eg the tests being called repeatedly in fix/test calls, speeds up precheck a bit (by making pre-check jobs more parallel) and will make it easier to optimize these tests

Risk Level:
Testing:
Docs Changes:
Release Notes:
Platform Specific Features:
[Optional Runtime guard:]
[Optional Fixes #Issue]
[Optional Deprecated:]
[Optional API Considerations:]

@phlax phlax force-pushed the ci-format-tests branch 2 times, most recently from b4d56ec to 8af0e8c Compare June 22, 2021 09:10
@phlax phlax changed the title ci: Move format tests to tooling [WIP] ci: Move format tests to tooling Jun 22, 2021
@phlax phlax marked this pull request as draft June 22, 2021 10:16
@phlax
Copy link
Member Author

phlax commented Jun 22, 2021

marking this wip while i figure out what impact separating the tests has on build times

@phlax phlax force-pushed the ci-format-tests branch 4 times, most recently from a9942bf to 06d8878 Compare June 23, 2021 13:50
@phlax phlax changed the title [WIP] ci: Move format tests to tooling [WIP] ci: Move tooling tests to tooling job Jun 23, 2021
@phlax phlax force-pushed the ci-format-tests branch from 06d8878 to ee0c9a2 Compare June 24, 2021 09:43
@phlax phlax changed the title [WIP] ci: Move tooling tests to tooling job ci: Move tooling tests to tooling job Jun 24, 2021
@phlax phlax marked this pull request as ready for review June 24, 2021 09:45
@phlax phlax changed the title ci: Move tooling tests to tooling job [WIP] ci: Move tooling tests to tooling job Jun 24, 2021
@phlax phlax marked this pull request as draft June 24, 2021 09:47
Signed-off-by: Ryan Northey <ryan@synca.io>
@phlax phlax force-pushed the ci-format-tests branch from ee0c9a2 to 04ad03c Compare June 24, 2021 09:49
@phlax phlax marked this pull request as ready for review June 24, 2021 10:16
@phlax phlax changed the title [WIP] ci: Move tooling tests to tooling job ci: Move tooling tests to tooling job Jun 24, 2021
@alyssawilk
Copy link
Contributor

Throwing this over to Lizan becasue I trust him to catch mistakes in these scripts better than I will but I AM SO EXCITED FOR THIS CHANGE.

yeah, I spent way too much time in format checks....

@phlax
Copy link
Member Author

phlax commented Jun 24, 2021

@alyssawilk this gives a small speedup in terms of sequential run time but not overall - except in the case where one of these tests fails which currently triggers an rerun of all format jobs

mostly, its just another step to unpicking and isolating the non-performant jobs - but its also the better place for these jobs in terms of ci i think

@phlax
Copy link
Member Author

phlax commented Jun 24, 2021

yeah, I spent way too much time in format checks....

i just realised you meant running them locally - i never do it - which is part of the reason im trying to separate out the stuff that causes my laptop to spin out - most of the actual format checks can run ~quickly if we remove all of the tooling tests and proto mangling

@lizan lizan merged commit be1714b into envoyproxy:main Jun 30, 2021
baojr added a commit to baojr/envoy that referenced this pull request Jul 1, 2021
* main: (51 commits)
  listener: add filter chain match support for direct source address (envoyproxy#17118)
  Increase common/common coverage (envoyproxy#17193)
  crash_dump: Added local_end_stream_ to crash dump for H2. (envoyproxy#17199)
  codeql: improve Ubuntu dependency installation (envoyproxy#16556)
  ci: Move tooling tests to tooling job (envoyproxy#17071)
  Fix issue with Windows container image (envoyproxy#17113)
  fix filter linking urls (envoyproxy#17185)
  bug fix: fix bug that check_format.py will check files which are ignored (envoyproxy#17195)
  tls: moving the server name into SocketAddressProvider (envoyproxy#16574)
  network: Use std::make_unique and std::make_shared in source/common/network instead of bare new() (envoyproxy#17177)
  Revert "alpha matching: support generic action factory context (envoyproxy#17025)" (envoyproxy#17191)
  ci: Dont clone filter example where not required (envoyproxy#17182)
  alpha matching: support generic action factory context (envoyproxy#17025)
  xds: Clarify comment for RouteMatch.case_sensitive field. (envoyproxy#17176)
  ci: Only publish the required docker image (envoyproxy#17080)
  coverage: fixing flake (envoyproxy#17190)
  api: add cluster_specifier_plugin to RouteAction (envoyproxy#16944)
  wasm: update V8 to v9.2.230.13. (envoyproxy#17183)
  wasm: update Proxy-Wasm C++ Host and SDK to latest (2021-06-24). (envoyproxy#17174)
  owners: add Piotr as senior extension maintainer (envoyproxy#17175)
  ...

Signed-off-by: Garrett Bourg <bourg@squareup.com>
chrisxrepo pushed a commit to chrisxrepo/envoy that referenced this pull request Jul 8, 2021
Moves the format tests to the tooling job - this prevents eg the tests being called repeatedly in fix/test calls, speeds up precheck a bit (by making pre-check jobs more parallel) and will make it easier to optimize these tests

Signed-off-by: Ryan Northey <ryan@synca.io>
Signed-off-by: chris.xin <xinchuantao@qq.com>
leyao-daily pushed a commit to leyao-daily/envoy that referenced this pull request Sep 30, 2021
Moves the format tests to the tooling job - this prevents eg the tests being called repeatedly in fix/test calls, speeds up precheck a bit (by making pre-check jobs more parallel) and will make it easier to optimize these tests

Signed-off-by: Ryan Northey <ryan@synca.io>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants