On Thu, Jun 11, 2020 at 12:03:07PM +0200, Andrea Bolognani wrote:
Instead of using pre-built containers hosted on Quay, build
containers as part of the GitLab CI pipeline and upload them to the
GitLab container registry for later use.
This will not significantly slow down builds, because containers are
only rebuilt when the corresponding Dockerfile has been modified.
Signed-off-by: Andrea Bolognani <abologna(a)redhat.com>
---
.gitlab-ci.yml | 255 +++++++++++++++++-
ci/containers/README.rst | 14 +
ci/containers/libvirt-centos-7.Dockerfile | 137 ++++++++++
ci/containers/libvirt-centos-8.Dockerfile | 108 ++++++++
.../libvirt-centos-stream.Dockerfile | 109 ++++++++
...libvirt-debian-10-cross-aarch64.Dockerfile | 122 +++++++++
.../libvirt-debian-10-cross-armv6l.Dockerfile | 120 +++++++++
.../libvirt-debian-10-cross-armv7l.Dockerfile | 121 +++++++++
.../libvirt-debian-10-cross-i686.Dockerfile | 121 +++++++++
.../libvirt-debian-10-cross-mips.Dockerfile | 121 +++++++++
...ibvirt-debian-10-cross-mips64el.Dockerfile | 121 +++++++++
.../libvirt-debian-10-cross-mipsel.Dockerfile | 121 +++++++++
...libvirt-debian-10-cross-ppc64le.Dockerfile | 121 +++++++++
.../libvirt-debian-10-cross-s390x.Dockerfile | 121 +++++++++
ci/containers/libvirt-debian-10.Dockerfile | 112 ++++++++
.../libvirt-debian-9-cross-aarch64.Dockerfile | 126 +++++++++
.../libvirt-debian-9-cross-armv6l.Dockerfile | 124 +++++++++
.../libvirt-debian-9-cross-armv7l.Dockerfile | 125 +++++++++
.../libvirt-debian-9-cross-mips.Dockerfile | 125 +++++++++
...libvirt-debian-9-cross-mips64el.Dockerfile | 125 +++++++++
.../libvirt-debian-9-cross-mipsel.Dockerfile | 125 +++++++++
.../libvirt-debian-9-cross-ppc64le.Dockerfile | 125 +++++++++
.../libvirt-debian-9-cross-s390x.Dockerfile | 125 +++++++++
ci/containers/libvirt-debian-9.Dockerfile | 116 ++++++++
...ibvirt-debian-sid-cross-aarch64.Dockerfile | 122 +++++++++
...libvirt-debian-sid-cross-armv6l.Dockerfile | 120 +++++++++
...libvirt-debian-sid-cross-armv7l.Dockerfile | 121 +++++++++
.../libvirt-debian-sid-cross-i686.Dockerfile | 121 +++++++++
.../libvirt-debian-sid-cross-mips.Dockerfile | 121 +++++++++
...bvirt-debian-sid-cross-mips64el.Dockerfile | 121 +++++++++
...libvirt-debian-sid-cross-mipsel.Dockerfile | 120 +++++++++
...ibvirt-debian-sid-cross-ppc64le.Dockerfile | 121 +++++++++
.../libvirt-debian-sid-cross-s390x.Dockerfile | 121 +++++++++
ci/containers/libvirt-debian-sid.Dockerfile | 112 ++++++++
ci/containers/libvirt-fedora-31.Dockerfile | 109 ++++++++
ci/containers/libvirt-fedora-32.Dockerfile | 109 ++++++++
...rt-fedora-rawhide-cross-mingw32.Dockerfile | 130 +++++++++
...rt-fedora-rawhide-cross-mingw64.Dockerfile | 130 +++++++++
.../libvirt-fedora-rawhide.Dockerfile | 110 ++++++++
ci/containers/libvirt-opensuse-151.Dockerfile | 109 ++++++++
ci/containers/libvirt-ubuntu-1804.Dockerfile | 117 ++++++++
ci/containers/libvirt-ubuntu-2004.Dockerfile | 113 ++++++++
ci/containers/refresh | 41 +++
43 files changed, 5103 insertions(+), 5 deletions(-)
create mode 100644 ci/containers/README.rst
create mode 100644 ci/containers/libvirt-centos-7.Dockerfile
create mode 100644 ci/containers/libvirt-centos-8.Dockerfile
create mode 100644 ci/containers/libvirt-centos-stream.Dockerfile
create mode 100644 ci/containers/libvirt-debian-10-cross-aarch64.Dockerfile
create mode 100644 ci/containers/libvirt-debian-10-cross-armv6l.Dockerfile
create mode 100644 ci/containers/libvirt-debian-10-cross-armv7l.Dockerfile
create mode 100644 ci/containers/libvirt-debian-10-cross-i686.Dockerfile
create mode 100644 ci/containers/libvirt-debian-10-cross-mips.Dockerfile
create mode 100644 ci/containers/libvirt-debian-10-cross-mips64el.Dockerfile
create mode 100644 ci/containers/libvirt-debian-10-cross-mipsel.Dockerfile
create mode 100644 ci/containers/libvirt-debian-10-cross-ppc64le.Dockerfile
create mode 100644 ci/containers/libvirt-debian-10-cross-s390x.Dockerfile
create mode 100644 ci/containers/libvirt-debian-10.Dockerfile
create mode 100644 ci/containers/libvirt-debian-9-cross-aarch64.Dockerfile
create mode 100644 ci/containers/libvirt-debian-9-cross-armv6l.Dockerfile
create mode 100644 ci/containers/libvirt-debian-9-cross-armv7l.Dockerfile
create mode 100644 ci/containers/libvirt-debian-9-cross-mips.Dockerfile
create mode 100644 ci/containers/libvirt-debian-9-cross-mips64el.Dockerfile
create mode 100644 ci/containers/libvirt-debian-9-cross-mipsel.Dockerfile
create mode 100644 ci/containers/libvirt-debian-9-cross-ppc64le.Dockerfile
create mode 100644 ci/containers/libvirt-debian-9-cross-s390x.Dockerfile
create mode 100644 ci/containers/libvirt-debian-9.Dockerfile
create mode 100644 ci/containers/libvirt-debian-sid-cross-aarch64.Dockerfile
create mode 100644 ci/containers/libvirt-debian-sid-cross-armv6l.Dockerfile
create mode 100644 ci/containers/libvirt-debian-sid-cross-armv7l.Dockerfile
create mode 100644 ci/containers/libvirt-debian-sid-cross-i686.Dockerfile
create mode 100644 ci/containers/libvirt-debian-sid-cross-mips.Dockerfile
create mode 100644 ci/containers/libvirt-debian-sid-cross-mips64el.Dockerfile
create mode 100644 ci/containers/libvirt-debian-sid-cross-mipsel.Dockerfile
create mode 100644 ci/containers/libvirt-debian-sid-cross-ppc64le.Dockerfile
create mode 100644 ci/containers/libvirt-debian-sid-cross-s390x.Dockerfile
create mode 100644 ci/containers/libvirt-debian-sid.Dockerfile
create mode 100644 ci/containers/libvirt-fedora-31.Dockerfile
create mode 100644 ci/containers/libvirt-fedora-32.Dockerfile
create mode 100644 ci/containers/libvirt-fedora-rawhide-cross-mingw32.Dockerfile
create mode 100644 ci/containers/libvirt-fedora-rawhide-cross-mingw64.Dockerfile
create mode 100644 ci/containers/libvirt-fedora-rawhide.Dockerfile
create mode 100644 ci/containers/libvirt-opensuse-151.Dockerfile
create mode 100644 ci/containers/libvirt-ubuntu-1804.Dockerfile
create mode 100644 ci/containers/libvirt-ubuntu-2004.Dockerfile
create mode 100755 ci/containers/refresh
Reviewed-by: Daniel P. Berrangé <berrange(a)redhat.com>
Regards,
Daniel
--
|:
https://berrange.com -o-
https://www.flickr.com/photos/dberrange :|
|:
https://libvirt.org -o-
https://fstop138.berrange.com :|
|:
https://entangle-photo.org -o-
https://www.instagram.com/dberrange :|