Commit Graph
10 Commits
Author SHA1 Message Date
Steven Martin 1f01bc3a4b add bypasses for lint go and lint docs (#22299)
* Adds bypass for lint go for RFD and Docs changes.

* spacing

* Update docs test to only check for docs, examples changes or bypass

* include merge groups

* test docs change

* remove change

* Test go change

* remove go test change

* test doc changes

* remove docs test change

* fix indentation

* fix indentation
2023-03-14 19:22:13 +00:00
Edoardo Spadolini 5122f308e6 Run go mod tidy in CI (#21140)
* Run go mod tidy in CI

* Update e_imports.go

* Use git diff on just go.mod/go.sum, tidy api too

* Fix the e_imports list by accomodating build tags

* Wording

* Simplify commands in the workflow

* Delete go.sum before go mod tidy

* Shell suggestions

* Fix missing saml imports for upcoming PRs
2023-02-08 17:22:21 +00:00
Michael Wilson 6f9ad9553a Protos-up-to-date is now part of the lint job. (#21217)
The lint job now includes protos-up-to-date as a step.
2023-02-03 16:05:36 +00:00
Roman Tkachenko 98fba76f80 Switch to teleport13 buildbox in CI (#20430) 2023-01-19 13:54:25 -08:00
rosstimothy 3ebbfdd222 Batch Dependabot PRs (#19745) 2023-01-05 13:13:05 +00:00
Roman Tkachenko 844fff1767 Add merge_group triggers to GHA CI workflows (#19749) 2022-12-30 21:11:48 +00:00
Roman TkachenkoandVictor Sokolov 710b7d18ef Implicitly set go version in prepare-workspace (#18953)
- Determine Go version for cache key automatically instead of hardcoding.
- Do not build ghcr CI images (etcd and buildboxes) on PRs to avoid unintended breakages.
- Only build/push them on push events which mirrors our current Drone setup. We might add ability to trigger them manually via workflow_dispatch events later.
- Add release branches pattern for buildbox images trigger as well.
- Remove packages: read permission from test jobs since buildbox images are now public.

Signed-off-by: Roman Tkachenko <roman@goteleport.com>
Co-authored-by: Victor Sokolov <gzigzigzeo@gmail.com>
2022-12-01 00:40:53 +00:00
Roman TkachenkoandVictor Sokolov cda4be5273 Add Go version to GHA cache key and CI image workflow (#18877)
* Include Go version in the cache key to prevent cache reuse when upgrading Go.
* Push buildboxes to Github container registry to avoid public ECR rate limiting.

Signed-off-by: Roman Tkachenko <roman@goteleport.com>
Co-authored-by: Victor Sokolov <gzigzigzeo@gmail.com>
2022-11-30 00:25:45 +00:00
Roman Tkachenko a6dfac72ed Set permissions for GHA workflows (#18728) 2022-11-22 17:35:43 -08:00
Roman TkachenkoandVictor Sokolov 3fd1cca5b2 Github Actions workflow (#18617)
Signed-off-by: Roman Tkachenko <roman@goteleport.com>
Co-authored-by: Victor Sokolov <gzigzigzeo@gmail.com>
2022-11-22 16:55:26 -05:00