[PATCH 11/11] tests/gitlab: use kaniko to build images

2023-03-30 Thread Alex Bennée
Apparently the docker-in-docker approach has some flaws including needing privileged mode to run and being quite slow. An alternative approach is to use Google's kaniko tool. It also works across different gitlab executors. Following the gitlab example code we drop all the direct docker calls and

Re: [PATCH 11/11] tests/gitlab: use kaniko to build images

2023-03-30 Thread Daniel P . Berrangé
On Thu, Mar 30, 2023 at 11:11:41AM +0100, Alex Bennée wrote: > Apparently the docker-in-docker approach has some flaws including > needing privileged mode to run and being quite slow. An alternative > approach is to use Google's kaniko tool. It also works across > different gitlab executors. > > F

Re: [PATCH 11/11] tests/gitlab: use kaniko to build images

2023-03-30 Thread Daniel P . Berrangé
On Thu, Mar 30, 2023 at 11:17:41AM +0100, Daniel P. Berrangé wrote: > On Thu, Mar 30, 2023 at 11:11:41AM +0100, Alex Bennée wrote: > > Apparently the docker-in-docker approach has some flaws including > > needing privileged mode to run and being quite slow. An alternative > > approach is to use Goo

Re: [PATCH 11/11] tests/gitlab: use kaniko to build images

2023-03-30 Thread Thomas Huth
On 30/03/2023 12.11, Alex Bennée wrote: Apparently the docker-in-docker approach has some flaws including needing privileged mode to run and being quite slow. An alternative approach is to use Google's kaniko tool. It also works across different gitlab executors. Following the gitlab example cod

Re: [PATCH 11/11] tests/gitlab: use kaniko to build images

2023-03-30 Thread Alex Bennée
Daniel P. Berrangé writes: > On Thu, Mar 30, 2023 at 11:17:41AM +0100, Daniel P. Berrangé wrote: >> On Thu, Mar 30, 2023 at 11:11:41AM +0100, Alex Bennée wrote: >> > Apparently the docker-in-docker approach has some flaws including >> > needing privileged mode to run and being quite slow. An al