[opensuse-factory] Workflow for containers and other images in Tumbleweed and Leap 15.1+
Hi, I'm happy to announce that the new build/test/release process for containers and other images is now in place for Tumbleweed and Leap 15.1, which is currently very much in development. As a result, images like JeOS and containers like the base container and kubic containers are now built as part of the main project (openSUSE:Factory resp. openSUSE:Leap:15.1(:Update)). This means that they go through the usual build check and review and can in the future be integrated into openQA testing in staging projects as well. If you want to create new VM images or containers based on openSUSE, you can just create them from scratch, use the OBS WebUI for kiwi descriptions or base them on one of the templates available on https://build.opensuse.org/image_templates (15.1 not listed yet). Make sure that you use only "obsrepositories:/" in kiwi files. Building containers using Dockerfile against the released Tumbleweed and Leap 15.1 containers works, but is not supported inside the main projects yet. So for now, kiwi needs to be used for building. If you want the submitted image to be published on download.opensuse.org, registry.opensuse.org or the opensuse/ namespace on hub.docker.com, please ask the release team. Technical details: - The image is submitted to openSUSE:Factory/openSUSE:Leap:15.1(:Update) and eventually accepted if it builds successfully and passed review. - The accepted build description is used to build the image in either openSUSE:Factory/images or openSUSE:Leap:15.1:Images/images. - When the project is built successfully, totest-manager releases the built image files into the subproject at :ToTest/images for images and :ToTest/containers for containers. - openQA downloads images (if configured) from :ToTest/images and containers from registry.opensuse.org and tests them. - If the snapshot passed openQA, totest-manager enables publishing of :ToTest/images and the new snapshot is sent to the mirrors. - Containers are released into openSUSE:Containers:Tumbleweed/openSUSE:Containers:Leap:15.1 where they will be pushed to hub.docker.com. Currently this is only the case for the base containers and needs some tweaking. What's missing: - OBS needs to be configured to push to hub.docker.com automatically. Currently it's done by an external script (which does not scale). This needs careful testing to not disturb the currently available images. - An infra issue prevents the docker_image test from succeeding when run on openqa.opensuse.org: https://progress.opensuse.org/issues/45044 - A recent kiwi update forces XZ compression of images, which breaks openQA testing of VM images: https://github.com/SUSE/kiwi/issues/901 Have a lot of fun, Fabian -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On 13/12/2018 14:15, Fabian Vogt wrote:
Make sure that you use only "obsrepositories:/" in kiwi files.
Sorry for the ignorance but I couldn't find the info in the docs. Why exclusively that URI? Slightly irrelevant but has there been any consideration on openstack image "cloud uploads" for obs? I saw SUSE doing a big marketing push for openstack, seems like golden feature for obs. Regards Jon -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
Hi, Am Donnerstag, 13. Dezember 2018, 17:12:05 CET schrieb moozaad@opensuse.org:
On 13/12/2018 14:15, Fabian Vogt wrote:
Make sure that you use only "obsrepositories:/" in kiwi files.
Sorry for the ignorance but I couldn't find the info in the docs. Why exclusively that URI?
To ensure that it always and exclusively uses the packages the project enforces. In a TW staging project, it needs to build against openSUSE:Factory:Staging:X, while in Factory it's openSUSE:Factory. For container images there's even another step: openSUSE:Containers:Tumbleweed for the successfully tested and released containers. In the OBS image editor UI it's visible as a "Use project repositories" checkbox.
Slightly irrelevant but has there been any consideration on openstack image "cloud uploads" for obs? I saw SUSE doing a big marketing push for openstack, seems like golden feature for obs.
It looks like it's enabled for both Azure and EC2 on build.o.o. I don't know anything about that though. Cheers, Fabian
Regards Jon
-- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
participants (2)
-
Fabian Vogt
-
moozaad@opensuse.org