kyma-project / test-infra

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

Enable tagging existing image with image-builder #12330

Open kolodziejczak opened 1 week ago

kolodziejczak commented 1 week ago

Description

We @kyma-project/goat, would like to create a following release pipeline:

  1. Run tests that do not require image (units etc)
  2. Build an image with a working tag like v20241112-13ghags, but without release tag (eg. 1.8.)
  3. Run tests that require module image (e2e)
  4. If e2e tests are successful - tag the existing image, created in the previous steps with a release tag (eg. 1.8.0)
  5. Create release

To do that, we need to be able to tag an existing image with a new, different tag.

Reasons

Create proper release pipeline. Currently in a situation where the e2e tests fails against the release artifact and it cannot be proceed, the artifact already exists with a release tag. In addition teams are not able to delete this artifact on their own.

Enable teams to create clean release pipeline, with the good practices applied. Remove eventual dependency to another team during unsuccessful release.

Acceptance Criteria

Attachments

Ressetkk commented 1 day ago

I would also be nice if we could re-tag and sign images in the pipeline environment during the promotion of an artifact.

inputs:

outputs:

requirements: