kyma-project / test-infra

Test infrastructure for the Kyma project.
https://status.build.kyma-project.io/
Apache License 2.0
38 stars 181 forks source link

Wrong buildkit-image-builder image used for version bump #10343

Open dekiel opened 5 months ago

dekiel commented 5 months ago

Description

Automatic version bump of buildkit-image-builder image keep fixed version v20240104-4259aacc. New version of image was provided in https://github.com/kyma-project/test-infra/pull/10339 and reverted back by autobumper in https://github.com/kyma-project/test-infra/pull/10340.

Expected result

Autobumper use newest version of image.

Actual result

Autobumper always use version v20240104-4259aacc.

dekiel commented 2 months ago

Recently we learned that autobumper when searching for newer image version is in fact searching for latest tag. Once the image version with latest tag is found it will take the tag in format date-short_sha for the same version and update it's usages. Because buildkit-image-builder had a latest tag set on image version from 04.01.2024, that version was used to update usages.

I've set the latest tag to the newest version of the buildkit image. We need to test if this solved the problem. Additionally, we must confirm how latest tag is set on our images. This is important because image-builder doesn't set latest tag. Because we are using three different tools to build images in test-infra, we must make sure all images can be bumped by autobumper. See #9434