qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/1] gitlab-ci: Only push docker images to mainstream registry from /master
@ 2021-10-26 14:55 Philippe Mathieu-Daudé
  2021-10-26 14:55 ` [PATCH 1/1] gitlab-ci: Only push docker images to registry from /master branch Philippe Mathieu-Daudé
  2021-10-27 11:44 ` [PATCH 0/1] gitlab-ci: Only push docker images to mainstream registry from /master Daniel P. Berrangé
  0 siblings, 2 replies; 12+ messages in thread
From: Philippe Mathieu-Daudé @ 2021-10-26 14:55 UTC (permalink / raw)
  To: qemu-devel
  Cc: Peter Maydell, Thomas Huth, Daniel P . Berrangé,
	Michael Roth, Philippe Mathieu-Daudé,
	Wainer dos Santos Moschetta, Philippe Mathieu-Daudé,
	Willian Rampazzo, Gerd Hoffmann, Stefan Hajnoczi, Cleber Rosa,
	Bin Meng, Alex Bennée

Hi,

I guess I got very unlucky because I happened to pull the docker
images from the mainstream registry in a very short time frame
where they jumped back in time... Then I kept using them to run
my tests during 1 week trying to understand why I was having odd
build failures. Then I realize the Ubuntu docker images were out
of sync. I pulled again and it was working, so I searched for the
mainstream job producing the outdated images and found a pipeline
pushing the 'stable-6.0-staging' branch. This branch doesn't
contain the recent gitlab-ci and Dockerfile changes...

Similarly, this branch doesn't contain commit eafadbbbac0
("gitlab: only let pages be published from default branch") so
outdated documentation got pushed for a short time.

This patch won't fix branches pushed from the past, but at least
it should avoid to reproduce this problem in the future.

Any idea how to improve the GitLab infrastructure to avoid these
kind of problems in the future? Is it possible to enforce
restrictions from the project configuration, rather than the
repository YAML file?

Regards,

Phil.

Philippe Mathieu-Daudé (1):
  gitlab-ci: Only push docker images to registry from /master branch

 .gitlab-ci.d/container-template.yml | 11 ++++++++++-
 .gitlab-ci.d/edk2.yml               | 11 ++++++++++-
 .gitlab-ci.d/opensbi.yml            | 11 ++++++++++-
 3 files changed, 30 insertions(+), 3 deletions(-)

-- 
2.31.1




^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2021-10-27 13:42 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-10-26 14:55 [PATCH 0/1] gitlab-ci: Only push docker images to mainstream registry from /master Philippe Mathieu-Daudé
2021-10-26 14:55 ` [PATCH 1/1] gitlab-ci: Only push docker images to registry from /master branch Philippe Mathieu-Daudé
2021-10-26 21:04   ` Willian Rampazzo
2021-10-27  6:01   ` Thomas Huth
2021-10-27  8:44     ` Daniel P. Berrangé
2021-10-27 11:35       ` Gerd Hoffmann
2021-10-27 11:46         ` Daniel P. Berrangé
2021-10-27  8:50     ` Philippe Mathieu-Daudé
2021-10-27 11:44 ` [PATCH 0/1] gitlab-ci: Only push docker images to mainstream registry from /master Daniel P. Berrangé
2021-10-27 12:26   ` Gerd Hoffmann
2021-10-27 12:34     ` Daniel P. Berrangé
2021-10-27 13:02       ` Philippe Mathieu-Daudé

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).