Skip to content

Bump go and ruby versions

Hunar Khanna requested to merge hkhanna2_bump_golang_1.20.5 into main

Issue: gitlab-org/gitlab#418874 (closed)

What does this MR do

  • Bump go version to address gitlab-org/gitlab#418874 (closed)
  • While the linked issue only covers go version upgrade, there don't seem to be any available docker images with both go 1.20.5 and ruby 3.1.4. The only available image with go 1.20.5 is bundled with ruby 3.2.2. Therefore, this version also upgrades ruby to 3.2.2 out of convenience
  • The devfile gem with these updates will be updated in a separate MR and NOT this one
  • Addresses failing spec and possibly addresses its flakiness:
    • Background: Some specs under when a valid devfile is provided were failing. These are specs where .valid.devfile.yaml is used
    • Additionally, this devfile refers to a parent without a version field. In the absence of a version field, the default version is used
    • The hypothesis is that the default version has been updated to a devfile with go-toolset with version 1.18.10-4 from 1.18.9-14. The current default version points to 1.02 reflects go-toolset with version 1.18.10-4
    • Assuming this is true, the flakiness is addressed by fixing the default version of the parent being referred
    • However, this is hard to verify because no current version in the registry reflects the older version of go-toolset. So in case, same version of parent was updated, then it is hard to address this flakiness
Edited by Hunar Khanna

Merge request reports