[jenkins-ci PATCH 0/8] lcitool: Support MinGW cross-build Dockerfiles

Andrea Bolognani posted 8 patches 1 week ago
Failed in applying to current master (apply log)
guests/lcitool | 219 ++++++++++++++++++++++++++++++++++++++-----------
1 file changed, 172 insertions(+), 47 deletions(-)

[jenkins-ci PATCH 0/8] lcitool: Support MinGW cross-build Dockerfiles

Posted by Andrea Bolognani 1 week ago
More details in the commit message for patch 7/8.

Pavel pointed out today that the current method of triggering MinGW
builds using our CI scaffolding, eg.

  $ make ci-build@fedora-30 CI_CONFIGURE=mingw64-configure

is easy to get wrong and not very discoverable, so I took that as
motivation to implement a change that I had been thinking about for
a long time anyway. The new usage will be

  $ make ci-build@fedora-30-cross-mingw64

which aligns with how we're already doing cross-builds for other
architectures and is discoverable via 'make ci-list-images'.

The implementation is not the prettiest, but the Dockerfile
generator in general could use some love so I don't think this
improvement should be blocked because of that; I'll try to spend
some time refactoring and cleaning up once this has been merged.

Andrea Bolognani (8):
  lcitool: Introduce cross_arch local variable
  lcitool: Change check for pip_pkgs formatting
  lcitool: Separate computation and formatting
  lcitool: Introduce _dockerfile_format()
  lcitool: Introduce _dockerfile_build_varmap()
  lcitool: Add RPM-specific _dockerfile_build_varmap() variant
  lcitool: Support MinGW cross-build Dockerfiles on Fedora
  lcitool: Add more checks to _action_dockerfile()

 guests/lcitool | 219 ++++++++++++++++++++++++++++++++++++++-----------
 1 file changed, 172 insertions(+), 47 deletions(-)

-- 
2.24.1

Re: [jenkins-ci PATCH 0/8] lcitool: Support MinGW cross-build Dockerfiles

Posted by Andrea Bolognani 2 days ago
On Mon, 2020-02-10 at 18:18 +0100, Andrea Bolognani wrote:
> More details in the commit message for patch 7/8.
> 
> Pavel pointed out today that the current method of triggering MinGW
> builds using our CI scaffolding, eg.
> 
>   $ make ci-build@fedora-30 CI_CONFIGURE=mingw64-configure
> 
> is easy to get wrong and not very discoverable, so I took that as
> motivation to implement a change that I had been thinking about for
> a long time anyway. The new usage will be
> 
>   $ make ci-build@fedora-30-cross-mingw64
> 
> which aligns with how we're already doing cross-builds for other
> architectures and is discoverable via 'make ci-list-images'.
> 
> The implementation is not the prettiest, but the Dockerfile
> generator in general could use some love so I don't think this
> improvement should be blocked because of that; I'll try to spend
> some time refactoring and cleaning up once this has been merged.
> 
> Andrea Bolognani (8):
>   lcitool: Introduce cross_arch local variable
>   lcitool: Change check for pip_pkgs formatting
>   lcitool: Separate computation and formatting
>   lcitool: Introduce _dockerfile_format()
>   lcitool: Introduce _dockerfile_build_varmap()
>   lcitool: Add RPM-specific _dockerfile_build_varmap() variant
>   lcitool: Support MinGW cross-build Dockerfiles on Fedora
>   lcitool: Add more checks to _action_dockerfile()
> 
>  guests/lcitool | 219 ++++++++++++++++++++++++++++++++++++++-----------
>  1 file changed, 172 insertions(+), 47 deletions(-)

Ping? :)

-- 
Andrea Bolognani / Red Hat / Virtualization