multi-stage support in CI slaves

Description

I would like to get multi-stage support upstream. Our default docker
packages for centos 7.5 is 1.13. For multi-stage support we need > 1.17 or
have buildah working in mock (preferable over docker, won't happen now I
guess?).

Using this method[1] to install docker-ce I was able to get 1.18 running.

Doable?

Regards,
Roy

[1] https://docs.docker.com/install/linux/docker-ce/centos/

Activity

Show:

Barak Korren December 31, 2018 at 8:48 AM

Roi had some success in using mock when it is configured to use systemd-nspawn instead of plain chroot.

We actually had a ticket to try to enable that in our infra at some point OVIRT-2031, but this is the kind of a big change that we seem to lack the capacity to do.

Eyal Edri December 25, 2018 at 1:40 PM

i still don't know if we can support it, still needs to be discussed and scoped.
feel free to update and add info.

Eyal Edri December 5, 2018 at 12:57 PM

Hi Roy,

Sadly we just don't have cycles to start looking at it, I think there are 2
options on the table, one is a major effort and another is something we can
look into soon hopefully:
1. Removing mock ( major effort, we'll have to see if we can handle it in
CNV, as part of optimizing runtime )
2. Updating the docker version inside of the container or slave to run
multi-stage-builds ( with Docker, not Builda )

Barak might have more info on it, but unless its something critical and
blocking, we might not have resources to handle it soon.

On Tue, Dec 4, 2018 at 9:18 PM Roy Golan (oVirt JIRA) <

Eyal edri

MANAGER

RHV/CNV DevOps

EMEA VIRTUALIZATION R&D

Red Hat EMEA <https://www.redhat.com/>
<https://red.ht/sig> TRIED. TESTED. TRUSTED. <https://redhat.com/trusted>
phone: +972-9-7692018
irc: eedri (on #tlv #rhev-dev #rhev-integ)

Roy Golan December 4, 2018 at 7:17 PM

So will we have buildah support with or without a mock?
Last time I tried it in z mock it didn't work but it was like 2 months back

On Wed, Oct 10, 2018, 1:17 PM Roy Golan <rgolan@redhat.com wrote:

> I would like to get multi-stage support upstream. Our default docker
> packages for centos 7.5 is 1.13. For multi-stage support we need > 1.17 or
> have buildah working in mock (preferable over docker, won't happen now I
> guess?).
>
> Using this method[1] to install docker-ce I was able to get 1.18 running.
>
> Doable?
>
> Regards,
> Roy
>
>
> [1] https://docs.docker.com/install/linux/docker-ce/centos/
>

Details

Assignee

Reporter

Priority

Created October 10, 2018 at 10:19 AM
Updated December 31, 2018 at 8:48 AM