On testing docker base images

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



For the Boltron deliverable (the Modularity thing) we would like
to build, test and ship a Base Runtime / Boltron docker base
image.  Now, the whole process is still not entirely clear to me
so I'll just go ahead and briefly describe how I think it works:

  1. You build your RPM components in koji
  2. You have your components appear in a compose
  3. You write a kickstart file that creates your base image
  4. You have your kickstart file included in fedora-kickstarts
  5. You file a releng ticket to run your kickstart file against
     your compose regularly
  6. Something processes the kickstart file somewhere and builds
     the base image (is this imagefactory in koji? is this OSBS?
     is this, er, pungi?)
  7. The image is then tested somehow, hopefully
  8. The image is then pushed to Fedora registry

Feel free to correct or clarify any of the points above.

Anyhow, the main point of this mail are the last two items on
that list.  How do we test docker images, if at all?  Do we only
run some sanity tests or is there a way to test their contents
as well?

We now have some PoC tests[0] we run on our own test box before
we push the Base Runtime image to Docker Hub[1]; it would be
lovely if something like that was possible in Fedora infra.
Even better -- it shouldn't push the image anywhere if [some of]
the tests fail.

Pushing the image and marking it as a candidate would work, too.
Then if the tests pass, it could be promoted to a stable status
or something.

This is still confusing to me.  We're kinda done with the first
two steps and I'd like to push this forward.

Thanks for help,
P

[0] https://github.com/libre-server/baseruntime-docker-tests
[1] https://hub.docker.com/r/baseruntime/baseruntime/

Attachment: signature.asc
Description: PGP signature

_______________________________________________
test mailing list -- test@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to test-leave@xxxxxxxxxxxxxxxxxxxxxxx

[Index of Archives]     [Fedora Desktop]     [Fedora SELinux]     [Photo Sharing]     [Yosemite Forum]     [KDE Users]

  Powered by Linux