[PATCH for-4.19 v2 00/12] CI: part 3 (slimline, and PPC/RISCV fixes)

Andrew Cooper posted 12 patches 1 month, 4 weeks ago
Failed in applying to current master (apply log)
.../archlinux/current-riscv64.dockerfile      |  22 --
automation/build/debian/11-ppc64le.dockerfile |  33 +++
automation/build/debian/11-riscv64.dockerfile |  33 +++
automation/build/debian/12-ppc64le.dockerfile |  36 +++
automation/build/debian/12-riscv64.dockerfile |  36 +++
...ockerfile => 12-x86_64-gcc-ibt.dockerfile} |  81 +++---
.../build/debian/bullseye-ppc64le.dockerfile  |  32 ---
.../build/debian/jessie-i386.dockerfile       |  55 -----
automation/build/debian/jessie.dockerfile     |  52 ----
.../build/debian/stretch-i386.dockerfile      |  57 -----
automation/build/debian/stretch.dockerfile    |  60 -----
automation/build/ubuntu/trusty.dockerfile     |  51 ----
automation/gitlab-ci/build.yaml               | 233 +++++++-----------
automation/gitlab-ci/test.yaml                |  13 +-
automation/scripts/containerize               |  15 +-
automation/scripts/qemu-smoke-ppc64le.sh      |   4 +-
.../qemu-system-ppc64/8.1.0-ppc64.dockerfile  |  38 ---
17 files changed, 282 insertions(+), 569 deletions(-)
delete mode 100644 automation/build/archlinux/current-riscv64.dockerfile
create mode 100644 automation/build/debian/11-ppc64le.dockerfile
create mode 100644 automation/build/debian/11-riscv64.dockerfile
create mode 100644 automation/build/debian/12-ppc64le.dockerfile
create mode 100644 automation/build/debian/12-riscv64.dockerfile
rename automation/build/debian/{buster-gcc-ibt.dockerfile => 12-x86_64-gcc-ibt.dockerfile} (50%)
delete mode 100644 automation/build/debian/bullseye-ppc64le.dockerfile
delete mode 100644 automation/build/debian/jessie-i386.dockerfile
delete mode 100644 automation/build/debian/jessie.dockerfile
delete mode 100644 automation/build/debian/stretch-i386.dockerfile
delete mode 100644 automation/build/debian/stretch.dockerfile
delete mode 100644 automation/build/ubuntu/trusty.dockerfile
delete mode 100644 automation/tests-artifacts/qemu-system-ppc64/8.1.0-ppc64.dockerfile
[PATCH for-4.19 v2 00/12] CI: part 3 (slimline, and PPC/RISCV fixes)
Posted by Andrew Cooper 1 month, 4 weeks ago
Patch 1 fixes a bug in the containerize script

Patches 2-5 remove useless/obsolete testing

Patch 6 fixes a bug with the archlinux testing configuration

Patches 7-9 adjust the PPC64 testing

Patches 10-11 adjust the RISCV64 testing

Patch 12 refreshes the custom GCC-IBT container


All changes here follow best-guidance for dockerfiles (non-root, heredocs for
improved legibility), and naming consistency improvements discussed previously
on the Committers call.  Breifly that's:

  $DISTRO-$VERSION(numeric)-$ARCH-*

which sort more nicely and don't require e.g. people to remember which order
buster/bullseye/bookworm are in terms of debain release.

For x86, this involves inserting an $ARCH of x86_64.  Right now, x86_64 is
implied by the absence, and all other variations have to state one.


Still to come:

 * OpenSUSE container fixes (resolves the final rolling distro vs
   allowed_failure problem)
 * Ubuntu/debian rename/trim
 * Add new jobs for latest releases (Ubuntu, Alpine, Fedora)

Andrew Cooper (12):
  CI: Fix CONTAINER_UID0=1 scripts/containerize

  CI: Remove useless/misleading randconfig jobs
  CI: Drop Debian Jessie dockerfiles
  CI: Drop Debian Stretch testing
  CI: Drop Ubuntu Trusty testing

  CI: Mark Archlinux/x86 as allowing failures

  CI: Introduce a debian:12-ppc64le container
  CI: Use debian:12-ppc64le for both build and test
  CI: Refresh bullseye-ppc64le as debian:11-ppc64le

  CI: Introduce debian:11/12-riscv64 containers
  CI: Swap to debian for riscv64 build and test

  CI: Refresh and upgrade the GCC-IBT container

 .../archlinux/current-riscv64.dockerfile      |  22 --
 automation/build/debian/11-ppc64le.dockerfile |  33 +++
 automation/build/debian/11-riscv64.dockerfile |  33 +++
 automation/build/debian/12-ppc64le.dockerfile |  36 +++
 automation/build/debian/12-riscv64.dockerfile |  36 +++
 ...ockerfile => 12-x86_64-gcc-ibt.dockerfile} |  81 +++---
 .../build/debian/bullseye-ppc64le.dockerfile  |  32 ---
 .../build/debian/jessie-i386.dockerfile       |  55 -----
 automation/build/debian/jessie.dockerfile     |  52 ----
 .../build/debian/stretch-i386.dockerfile      |  57 -----
 automation/build/debian/stretch.dockerfile    |  60 -----
 automation/build/ubuntu/trusty.dockerfile     |  51 ----
 automation/gitlab-ci/build.yaml               | 233 +++++++-----------
 automation/gitlab-ci/test.yaml                |  13 +-
 automation/scripts/containerize               |  15 +-
 automation/scripts/qemu-smoke-ppc64le.sh      |   4 +-
 .../qemu-system-ppc64/8.1.0-ppc64.dockerfile  |  38 ---
 17 files changed, 282 insertions(+), 569 deletions(-)
 delete mode 100644 automation/build/archlinux/current-riscv64.dockerfile
 create mode 100644 automation/build/debian/11-ppc64le.dockerfile
 create mode 100644 automation/build/debian/11-riscv64.dockerfile
 create mode 100644 automation/build/debian/12-ppc64le.dockerfile
 create mode 100644 automation/build/debian/12-riscv64.dockerfile
 rename automation/build/debian/{buster-gcc-ibt.dockerfile => 12-x86_64-gcc-ibt.dockerfile} (50%)
 delete mode 100644 automation/build/debian/bullseye-ppc64le.dockerfile
 delete mode 100644 automation/build/debian/jessie-i386.dockerfile
 delete mode 100644 automation/build/debian/jessie.dockerfile
 delete mode 100644 automation/build/debian/stretch-i386.dockerfile
 delete mode 100644 automation/build/debian/stretch.dockerfile
 delete mode 100644 automation/build/ubuntu/trusty.dockerfile
 delete mode 100644 automation/tests-artifacts/qemu-system-ppc64/8.1.0-ppc64.dockerfile

-- 
2.39.2
Re: [PATCH for-4.19 v2 00/12] CI: part 3 (slimline, and PPC/RISCV fixes)
Posted by Oleksii 1 month, 4 weeks ago
Release-Acked-By: Oleksii Kurochko <oleksii.kurochko@gmail.com>

~ Oleksii

On Thu, 2024-07-11 at 12:15 +0100, Andrew Cooper wrote:
> Patch 1 fixes a bug in the containerize script
> 
> Patches 2-5 remove useless/obsolete testing
> 
> Patch 6 fixes a bug with the archlinux testing configuration
> 
> Patches 7-9 adjust the PPC64 testing
> 
> Patches 10-11 adjust the RISCV64 testing
> 
> Patch 12 refreshes the custom GCC-IBT container
> 
> 
> All changes here follow best-guidance for dockerfiles (non-root,
> heredocs for
> improved legibility), and naming consistency improvements discussed
> previously
> on the Committers call.  Breifly that's:
> 
>   $DISTRO-$VERSION(numeric)-$ARCH-*
> 
> which sort more nicely and don't require e.g. people to remember
> which order
> buster/bullseye/bookworm are in terms of debain release.
> 
> For x86, this involves inserting an $ARCH of x86_64.  Right now,
> x86_64 is
> implied by the absence, and all other variations have to state one.
> 
> 
> Still to come:
> 
>  * OpenSUSE container fixes (resolves the final rolling distro vs
>    allowed_failure problem)
>  * Ubuntu/debian rename/trim
>  * Add new jobs for latest releases (Ubuntu, Alpine, Fedora)
> 
> Andrew Cooper (12):
>   CI: Fix CONTAINER_UID0=1 scripts/containerize
> 
>   CI: Remove useless/misleading randconfig jobs
>   CI: Drop Debian Jessie dockerfiles
>   CI: Drop Debian Stretch testing
>   CI: Drop Ubuntu Trusty testing
> 
>   CI: Mark Archlinux/x86 as allowing failures
> 
>   CI: Introduce a debian:12-ppc64le container
>   CI: Use debian:12-ppc64le for both build and test
>   CI: Refresh bullseye-ppc64le as debian:11-ppc64le
> 
>   CI: Introduce debian:11/12-riscv64 containers
>   CI: Swap to debian for riscv64 build and test
> 
>   CI: Refresh and upgrade the GCC-IBT container
> 
>  .../archlinux/current-riscv64.dockerfile      |  22 --
>  automation/build/debian/11-ppc64le.dockerfile |  33 +++
>  automation/build/debian/11-riscv64.dockerfile |  33 +++
>  automation/build/debian/12-ppc64le.dockerfile |  36 +++
>  automation/build/debian/12-riscv64.dockerfile |  36 +++
>  ...ockerfile => 12-x86_64-gcc-ibt.dockerfile} |  81 +++---
>  .../build/debian/bullseye-ppc64le.dockerfile  |  32 ---
>  .../build/debian/jessie-i386.dockerfile       |  55 -----
>  automation/build/debian/jessie.dockerfile     |  52 ----
>  .../build/debian/stretch-i386.dockerfile      |  57 -----
>  automation/build/debian/stretch.dockerfile    |  60 -----
>  automation/build/ubuntu/trusty.dockerfile     |  51 ----
>  automation/gitlab-ci/build.yaml               | 233 +++++++---------
> --
>  automation/gitlab-ci/test.yaml                |  13 +-
>  automation/scripts/containerize               |  15 +-
>  automation/scripts/qemu-smoke-ppc64le.sh      |   4 +-
>  .../qemu-system-ppc64/8.1.0-ppc64.dockerfile  |  38 ---
>  17 files changed, 282 insertions(+), 569 deletions(-)
>  delete mode 100644 automation/build/archlinux/current-
> riscv64.dockerfile
>  create mode 100644 automation/build/debian/11-ppc64le.dockerfile
>  create mode 100644 automation/build/debian/11-riscv64.dockerfile
>  create mode 100644 automation/build/debian/12-ppc64le.dockerfile
>  create mode 100644 automation/build/debian/12-riscv64.dockerfile
>  rename automation/build/debian/{buster-gcc-ibt.dockerfile => 12-
> x86_64-gcc-ibt.dockerfile} (50%)
>  delete mode 100644 automation/build/debian/bullseye-
> ppc64le.dockerfile
>  delete mode 100644 automation/build/debian/jessie-i386.dockerfile
>  delete mode 100644 automation/build/debian/jessie.dockerfile
>  delete mode 100644 automation/build/debian/stretch-i386.dockerfile
>  delete mode 100644 automation/build/debian/stretch.dockerfile
>  delete mode 100644 automation/build/ubuntu/trusty.dockerfile
>  delete mode 100644 automation/tests-artifacts/qemu-system-
> ppc64/8.1.0-ppc64.dockerfile
>