Commit Graph
10 Commits
Author SHA1 Message Date
Jakub Nyckowski 8329021148 Skip building webassets in CI (#22549)
* Skip building webassets in CI

Building webassets is not always needed and many of our CI build just builds them and ends up not using them after.
This PR skips building the webassets for all pipelines where they are not needed. This should save us some time and $$.

* Make some changes to trigger CI

* Create the missing directory
2023-03-03 15:14:25 +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 Tkachenko c286e4cd94 Run GHA tests on Dockerfile updates (#19622) 2022-12-22 20:08:52 +00:00
Roman Tkachenko 1b387aba2c Run GHA tests when build.assets/Makefile changes (#19616) 2022-12-22 19:04:44 +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