mbox series

[XEN,v1,0/6] automation: Refresh the remaining Debian containers

Message ID cover.1729760501.git.javi.merino@cloud.com (mailing list archive)
Headers show
Series automation: Refresh the remaining Debian containers | expand

Message

Javi Merino Oct. 24, 2024, 10:04 a.m. UTC
Hi,

These series continues the refresh of the CI containers after[0], focusing on the
remaining Debian 12 containers. The containers now build and run as a
non-root user, use heredocs for readability, and use
apt-get --no-install-recommends to minimize the installation of unnecessary packages.

The Debian 12 x86_64 and arm64v8 containers required additional
modifications to the test scripts to enable test execution as a
non-root user, so I did them in their own patch at the end of the
series.

The updated containers have been tested in
https://gitlab.com/xen-project/people/javimerino/xen/-/pipelines/1509304440

[0] https://lore.kernel.org/xen-devel/cover.1729170005.git.javi.merino@cloud.com/T/#t

Javi Merino (6):
  CI: Refresh the Debian 12 x86_64 container
  CI: Refresh the Debian 12 x86_32 container
  CI: Refresh the Debian 12 arm64 container
  CI: Refresh the Debian 12 arm32 cross compile container
  CI: Refresh the Debian 12 cppcheck container
  CI: Run the builds and tests that use the Debian 12 containers as a
    normal user

 .../debian/12-arm64v8-arm32-gcc.dockerfile    | 28 +++++++
 .../debian/12-arm64v8-cppcheck.dockerfile     | 80 +++++++++++++++++++
 automation/build/debian/12-arm64v8.dockerfile | 71 ++++++++++++++++
 automation/build/debian/12-x86_32.dockerfile  | 51 ++++++++++++
 automation/build/debian/12-x86_64.dockerfile  | 71 ++++++++++++++++
 .../bookworm-arm64v8-arm32-gcc.dockerfile     | 24 ------
 .../build/debian/bookworm-arm64v8.dockerfile  | 55 -------------
 .../build/debian/bookworm-cppcheck.dockerfile | 54 -------------
 .../build/debian/bookworm-i386.dockerfile     | 50 ------------
 automation/build/debian/bookworm.dockerfile   | 57 -------------
 automation/gitlab-ci/build.yaml               | 68 ++++++++--------
 automation/gitlab-ci/test.yaml                | 36 +++++----
 automation/scripts/containerize               | 10 +--
 automation/scripts/qemu-alpine-x86_64.sh      |  4 +-
 automation/scripts/qemu-smoke-dom0-arm64.sh   |  7 +-
 .../scripts/qemu-smoke-dom0less-arm64.sh      |  5 +-
 16 files changed, 371 insertions(+), 300 deletions(-)
 create mode 100644 automation/build/debian/12-arm64v8-arm32-gcc.dockerfile
 create mode 100644 automation/build/debian/12-arm64v8-cppcheck.dockerfile
 create mode 100644 automation/build/debian/12-arm64v8.dockerfile
 create mode 100644 automation/build/debian/12-x86_32.dockerfile
 create mode 100644 automation/build/debian/12-x86_64.dockerfile
 delete mode 100644 automation/build/debian/bookworm-arm64v8-arm32-gcc.dockerfile
 delete mode 100644 automation/build/debian/bookworm-arm64v8.dockerfile
 delete mode 100644 automation/build/debian/bookworm-cppcheck.dockerfile
 delete mode 100644 automation/build/debian/bookworm-i386.dockerfile
 delete mode 100644 automation/build/debian/bookworm.dockerfile