uber / kraken

P2P Docker registry capable of distributing TBs of data in seconds
Apache License 2.0
6.13k stars 421 forks source link

Change Go version in CICD pipeline #375

Closed Anton-Kalpakchiev closed 1 week ago

Anton-Kalpakchiev commented 1 week ago

Currently, each time a PR is created/updated, tests are run on the 1.21, 1.22, and 1.23 Go versions. However, Kraken is currently using Go 1.14. To have the tests reflect how Kraken will be used in production and thus make them stronger, we are adding Go 1.14 to the CICD.

Additionally, due to an unknown reason, the pipeline is flaky. To reduce flakiness, we will only run one Go version (1.14) instead of multiple ones, as running the pipeline in multiple versions does not increase confidence in the code's correctness. We are also planning to investigate why the CICD is flaky and fix it in a separate PR.