Hi, Am Sonntag, 18. März 2018, 20:41:12 CET schrieb Aleksa Sarai:
On 2018-03-15, Fabian Vogt <fvogt@suse.com> wrote:
- You'll have to use opensuse/tumbleweed instead of opensuse:tumbleweed
This should be advertised more widely. I found that most people use the official library images even though they're out-of-date more often, and we don't have direct control over the building/publishing of those images.
Which is exactly the reason why tumbleweed will be gone from those soon. I'll have to see how images can be removed from the official library.
- In a week, opensuse/amd64, opensuse/arm64v8, opensuse/s390x and opensuse/ppc64le will be removed. Due to multi-arch images, they are no longer necessary.
How are we consolidating the multi-arch images from the single-arch images built in OBS? umoci doesn't have explicit support for creating multi-arch images (though it can interact with them), and skopeo doesn't really like creating OCI multi-arch images either.
I was quite disappointed about the state of multi-arch support in the tooling as well. It's practically completely missing, which meant I had to write a custom script for that. It's further complicated by the setup of openSUSE:Factory, with openQA in between OBS and releasing and the Ports project being split across multiple projects. It basically takes the images from OBS (built by kiwi, using umoci and skopeo), uploads all blobs (layers, config (why is that a blob...)) and the manifest to the registry. It notes down the digest of the image manifests and uploads a manifestlist combining all those images and assigns it the "latest" tag. The version number of the images is written into the mainfestlist (per-arch) as well, which makes lookup quick and easy. Code is on https://github.com/openSUSE/osc-plugin-factory/pull/1438 I would expect that even if there were multi-arch compatible tooling, it wouldn't allow the advantages this currently has, especially embedding the version into the manifestlist itself, but also not requiring to download all layers for all archs before uploading. Currently it only downloads and uploads the new/updated images. There is some work on the OBS side going on, which should eventually result in OBS being able to push multi-arch images to registries directly. Cheers, Fabian -- Fabian Vogt - Release Engineer SUSE Linux GmbH GF: Felix Imendörffer, Jane Smithard, Graham Norton; HRB 21284 (AG Nürnberg) Maxfeldstr. 5, 90409 Nürnberg, Germany -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org