Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test container before pushing to Docker registry #28

Draft
wants to merge 8 commits into
base: main
Choose a base branch
from

Conversation

obbardc
Copy link
Member

@obbardc obbardc commented Nov 10, 2023

We've been burnt before by pushing untested container images. Run the unit tests from the last tagged version of fakemachine/debos (which has already been tested) before pushing the container image to the registry as :latest.

@obbardc obbardc self-assigned this Nov 10, 2023
@obbardc obbardc force-pushed the wip/obbardc/ci branch 5 times, most recently from 4a9be07 to a5df438 Compare November 10, 2023 11:51
@obbardc obbardc changed the title Test containers before pushing to Docker registry Test container before pushing to Docker registry Nov 10, 2023
@obbardc obbardc force-pushed the wip/obbardc/ci branch 2 times, most recently from de2b6c4 to c3ea2c9 Compare November 10, 2023 12:04
Building separate container images for each project was a bit of a
premature optimisation which just made things more complicated. Instead
of building separate containers for debos/fakemachine, build one generic
container which may be used for either project.

Since this renames the container image names, debos/fakemachine will need
to be updated to use the new container images. No explicit dependency is
required in the downstream projects since the old containers will remain
in place as no deletion policy for these containers exists yet.

Signed-off-by: Christopher Obbard <[email protected]>
We've been burnt before by pushing untested container images and then
breaking debos/fakemachine CI jobs.

Run the unit tests from the last tagged version of fakemachine/debos
(which have already been tested) before pushing the container image to
the registry.

Fixes: #19
Signed-off-by: Christopher Obbard <[email protected]>
Signed-off-by: Christopher Obbard <[email protected]>
Signed-off-by: Christopher Obbard <[email protected]>
Signed-off-by: Christopher Obbard <[email protected]>
Signed-off-by: Christopher Obbard <[email protected]>
Signed-off-by: Christopher Obbard <[email protected]>
Signed-off-by: Christopher Obbard <[email protected]>
@obbardc obbardc linked an issue Jul 1, 2024 that may be closed by this pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add CI to this repository
1 participant