[XEN PATCH v2 0/6] automation: Refresh the remaining Debian containers

Javi Merino posted 6 patches 2 weeks, 3 days ago
Failed in applying to current master (apply log)
automation/build/debian/11-ppc64le.dockerfile |  2 +-
automation/build/debian/11-riscv64.dockerfile |  2 +-
.../debian/12-arm64v8-arm32-gcc.dockerfile    | 28 +++++++
.../debian/12-arm64v8-cppcheck.dockerfile     | 79 +++++++++++++++++++
automation/build/debian/12-arm64v8.dockerfile | 68 ++++++++++++++++
automation/build/debian/12-ppc64le.dockerfile |  2 +-
automation/build/debian/12-riscv64.dockerfile |  2 +-
automation/build/debian/12-x86_32.dockerfile  | 50 ++++++++++++
.../build/debian/12-x86_64-gcc-ibt.dockerfile |  4 +-
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 -------------
.../build/ubuntu/16.04-x86_64.dockerfile      |  2 +-
.../build/ubuntu/18.04-x86_64.dockerfile      |  2 +-
.../build/ubuntu/20.04-x86_64.dockerfile      |  2 +-
.../build/ubuntu/22.04-x86_64.dockerfile      |  2 +-
.../build/ubuntu/24.04-x86_64.dockerfile      |  2 +-
automation/gitlab-ci/build.yaml               | 68 ++++++++--------
automation/gitlab-ci/test.yaml                | 32 ++++----
automation/scripts/containerize               | 10 +--
23 files changed, 362 insertions(+), 306 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
[XEN PATCH v2 0/6] automation: Refresh the remaining Debian containers
Posted by Javi Merino 2 weeks, 3 days ago
This is v2 of [0], to refresh the remaining Debian 12 containers. The
containers now use heredocs for readability, and use
"apt-get --no-install-recommends" to minimize the installation of
unnecessary packages.  All containers except Debian 12 arm64 and
x86_64 run as a normal user.  Debian 12 arm64 and x86_64 have been
kept running as root as Stefano asked for it as it would break the
xilinx workers that are currently in flux.

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

Changes since v1[0]:
  - In containerfiles, repeat the "LABEL" intruction for each label and
    avoid the backslash at the end of lines.
  - Use ENV VAR=value consistently in dockerfiles.
  - Dropped the patch that moved the Debian 12 arm64 and x86_64
    containers to run as a normal user.
  - Added a patch to drop the "-y" in "apt-get update"
  - Move libnl-3-dev to the libxl section in the Debian 12 x86_64
    dockerfile.
  - Add missing requires for libxenguest dombuilder in the Debian 12
    x86_64 dockerfile
  - Move the expect dependency to the section for tests

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

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: Don't use -y with apt-get update

 automation/build/debian/11-ppc64le.dockerfile |  2 +-
 automation/build/debian/11-riscv64.dockerfile |  2 +-
 .../debian/12-arm64v8-arm32-gcc.dockerfile    | 28 +++++++
 .../debian/12-arm64v8-cppcheck.dockerfile     | 79 +++++++++++++++++++
 automation/build/debian/12-arm64v8.dockerfile | 68 ++++++++++++++++
 automation/build/debian/12-ppc64le.dockerfile |  2 +-
 automation/build/debian/12-riscv64.dockerfile |  2 +-
 automation/build/debian/12-x86_32.dockerfile  | 50 ++++++++++++
 .../build/debian/12-x86_64-gcc-ibt.dockerfile |  4 +-
 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 -------------
 .../build/ubuntu/16.04-x86_64.dockerfile      |  2 +-
 .../build/ubuntu/18.04-x86_64.dockerfile      |  2 +-
 .../build/ubuntu/20.04-x86_64.dockerfile      |  2 +-
 .../build/ubuntu/22.04-x86_64.dockerfile      |  2 +-
 .../build/ubuntu/24.04-x86_64.dockerfile      |  2 +-
 automation/gitlab-ci/build.yaml               | 68 ++++++++--------
 automation/gitlab-ci/test.yaml                | 32 ++++----
 automation/scripts/containerize               | 10 +--
 23 files changed, 362 insertions(+), 306 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

-- 
2.45.2