[MDBF-336] Preserve several build images on quay Created: 2022-02-10  Updated: 2022-02-11

Status: Open
Project: MariaDB Foundation Development
Component/s: None
Affects Version/s: N/A
Fix Version/s: None

Type: Task Priority: Major
Reporter: Vlad Bogolin Assignee: Faustin Lammler
Resolution: Unresolved Votes: 0
Labels: buildbot
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
PartOf
is part of MDBF-41 Milestone 5: Desirable fixes Open

 Description   

Currently, the Docker images from our quay.io are overwritten if they for whatever reason are re-created. This may translate into failures in buildbot due to unknown issues even if the images are build successfully (see for example MDBF-330).

We need a way to preserve the older, functioning image so that in case of failures, we can easily revert to use that until we find the proper solution.



 Comments   
Comment by Daniel Black [ 2022-02-10 ]

On https://quay.io/repository/mariadb-foundation/bb-worker?tab=history there is a revert to xxxx version on the right hand side.

The current retention of untagged images is currently 1 month (https://quay.io/organization/mariadb-foundation?tab=settings)

Comment by Faustin Lammler [ 2022-02-11 ]

Yep but this is only a temporary workaround.

Suggested fix:

  • define a tagging scheme (os:tag?);
  • implement it in the CI;
  • test it (implement a rollback procedure at BB level).
Generated at Thu Feb 08 03:37:08 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.