Commit Graph

23 Commits

Author SHA1 Message Date
Sergii Tkachenko ee4efc31c1
[PMS Interop] Don't run PSM Interop GH action against version branches (#34183)
Adding the version branches was an oversight: we always use the
framework from the main branch.
2023-08-31 15:02:42 -07:00
Sergii Tkachenko af73b6061c
[PSM Interop] Fix Python 3.11 dependencies issues (#33432)
Updated dependencies:
- pyasn1 `0.5.0` -> `0.4.8`:
https://pyasn1.readthedocs.io/en/latest/changelog.html
- pyasn1-modules `0.2.8` -> `0.3.0`:
https://github.com/pyasn1/pyasn1-modules/blob/main/CHANGES.txt
- grpcio* `1.48.2` -> `1.57.0`: https://pypi.org/project/grpcio-status/
- protobuf `3.20.3` -> `4.24.1`: BREAKING:
https://protobuf.dev/news/2022-05-06/
- xds-protos `0.0.11` -> `1.58.0rc1`: BREAKING - proto descriptors for
`Any` messages need to be imported separately
2023-08-28 15:17:14 -07:00
Sergii Tkachenko 1708f631ee
[PSM Interop] Add unittests CI with github actions (#34125)
- Add Github Action to conditionally run PSM Interop unit tests:
- Only run when changes are detected in
`tools/run_tests/xds_k8s_test_driver` or any of the proto files used by
the driver
  - Only run against PRs and pushes to `master`, `v1.*.*` branches
  - Runs using `python3.9` and `python3.10`
  - Ready to be added to the list of required GitHub checks
- Add `tools/run_tests/xds_k8s_test_driver/tests/unit/__main__.py` test
loader that recursively discovers all unit tests in
`tools/run_tests/xds_k8s_test_driver/tests/unit`
- Add basic coverage for `XdsTestClient` and `XdsTestServer` to verify
the test loader picks up all folders

Related:
- First unit tests without automated CI added in #34097
2023-08-23 10:32:07 -07:00
AJ Heller 1a4f182f21
[infra] Maybe fix the title check (#33041)
`synchronized` is not a valid keyword. It's a shame this isn't reported
anywhere I can see.

See
https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows
2023-05-08 15:20:43 -07:00
Craig Tiller 3e3e92af99
[infra] Consolidate auto-tag and check-title GH actions (#32824)
These need to run at about the same times, and each runs quickly.
Doesn't seem worthwhile to fire up a VM for each of them individually.




<!--

If you know who should review your pull request, please assign it to
that
person, otherwise the pull request would get assigned randomly.

If your pull request is for a specific language, please add the
appropriate
lang label.

-->
2023-04-06 11:19:03 -07:00
Eugene Ostroukhov 6f18a85106
[presubmit] Add manual trigger for PR CheckTitle (#32766) 2023-04-03 09:50:35 -07:00
Craig Tiller ed38592d76
[pr] enforce tag prefixes on pull requests (#31861)
...
<!--

If you know who should review your pull request, please assign it to
that
person, otherwise the pull request would get assigned randomly.

If your pull request is for a specific language, please add the
appropriate
lang label.

-->
2023-03-28 12:02:47 -07:00
AJ Heller b5fc93aa18
[codehealth] Prevent the labeler workflow from removing labels (#32542)
It seems as if we ran into this bug
https://github.com/actions/labeler/issues/442 on at least one PR
https://github.com/grpc/grpc/pull/32515. This PR utilizes the suggested
workaround until we can upgrade to a new major version release of
actions/labeler.
2023-03-03 10:53:54 -08:00
Craig Tiller a5f1ac8d6a
[autofix] Get iwyu, clang-tidy working with the pr-autofixer again (#31922)
* debug

* get clang-tidy, iwyu on pr-autofix again

* Revert "debug"

This reverts commit 7d791d6406.
2022-12-19 08:19:21 -08:00
Alex 90beb3f4c4
GitHub Workflows security hardening (#31057)
* build: harden pr-auto-fix.yaml permissions
Signed-off-by: Alex <aleksandrosansan@gmail.com>

* build: harden pr-auto-tag.yaml permissions
Signed-off-by: Alex <aleksandrosansan@gmail.com>
2022-10-09 17:52:14 -07:00
Craig Tiller 0aba64fa07
[pr-fixer] Fix the pr-fixer (#30311)
* fix-attempt

* fix-attempt

* fix-attempt
2022-07-15 23:16:32 -07:00
Craig Tiller a6ee377bc7
[pancakes] Speed up (#29674)
* upgrade cache impl

* better cache

* run against right repo

* syntax

* speed fetch
2022-05-13 09:16:01 -07:00
Craig Tiller 5d10b13f24
Delete happy-pancakes.yml (#27955)
I'm not going to get a chance to finish this for a while, so delete for now.
2021-11-05 15:15:55 -07:00
Craig Tiller da2e8ddc4e
Flush auto fixer cache once per week (#27650)
* cache-invalidation

* ??

* indent

* Update pr-auto-fix.yaml
2021-10-08 12:18:28 -07:00
Craig Tiller 9b43c881d7
Add python formatters to sanitize.sh (#27253)
* Add python sanitizers to sanitize.sh

* virtualenv
2021-09-07 11:10:16 -07:00
Craig Tiller 0116acc2fb
Label automated fixes better (#27140) 2021-08-26 09:35:41 -07:00
Craig Tiller 5b80b4410d
Revert "Publish status from happy pancakes stuff (#27012)" (#27108)
This reverts commit 2526617b27.
2021-08-24 13:17:50 -07:00
Craig Tiller 2526617b27
Publish status from happy pancakes stuff (#27012)
* publish status

* fix?
2021-08-24 12:46:16 -07:00
Craig Tiller 5b7c25155e
Prototype: Automatic PR Labeler (#27015)
* prototype: automatic labeler

* fix?

* fix?
2021-08-24 11:46:32 -07:00
Craig Tiller 8a0b844469
Add a roll-up semi-optional status action (#26939)
It check status on a pr, and when some set are successful it makes itself successful.

If any that it's watching fail, it fails.

If the force-merge label is applied, it succeeds.

With the plan: we make EasyCLA and probably Sanity, and this one required statuses for merging (i.e. anything that should not be bypassed still gets verified by GitHub)

We make every other status that we believe in (so everything but the Google3 presubmits because they're fresh?) something that this script verifies.

That lets us do automerge (all things are passing)

And if all things are not passing we can use human judgement and apply the force-merge label to bypass these checks... But importantly not the CLA check
2021-08-11 11:20:39 -07:00
Craig Tiller 3e122fd050
Faster pancakes: cache bazel steps between builds (#26937)
* cache bazel steps

* test break

* Automated change: Fix sanity tests

Co-authored-by: ctiller <ctiller@users.noreply.github.com>
2021-08-09 10:09:17 -07:00
Craig Tiller 8a0e723159
Fix bug where multiple branches confuse PanCakes (#26922) 2021-08-06 09:07:26 -07:00
Craig Tiller 4966a6bcbd
Add tooling to auto-fix sanity tests (#26852)
* auto-fix experiment

* document optout

* temp fix
2021-08-05 14:37:04 -07:00