Changes from [v3]: * use 'latest' as tag name, consistently with how we do it for other repositories; * name the various Dockerfiles the same as the lcitool host instead of processing the name, which again is the same behavior seen in other repositories; * since we're running all builds as part of the same stage now, there is no need to add an additional stage between 'containers' and 'builds', so the corresponding patch has been dropped. Changes from [v2]: * use $CI_COMMIT_REF_SLUG instead of 'master' as tag name, so that it's possible to test changes to the Dockerfiles that affect the subsequent build jobs in a feature branch; * add CentOS Stream; * rename 'preliminary_checks' stage to 'sanity_checks'. Changes from [v1]: * only build containers necessary for extra jobs when said jobs are actually going to run; * rename container build jobs to '$arch-$os-container'; * rename 'other' stage to 'preliminary_checks' and move it before native builds; * simplify build system integration. [v1] https://www.redhat.com/archives/libvir-list/2020-May/msg01183.html [v2] https://www.redhat.com/archives/libvir-list/2020-June/msg00067.html [v3] https://www.redhat.com/archives/libvir-list/2020-June/msg00412.html Andrea Bolognani (3): ci: Use variables to build image names ci: Use GitLab container registry ci: Update build system integration .gitlab-ci.yml | 330 ++++++++++++++++-- ci/Makefile | 10 +- 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 +++ ci/list-images.sh | 24 +- 45 files changed, 5169 insertions(+), 48 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 -- 2.25.4