Skip to contentSkip to conversation

automation: Add missing and drop obsoleted aliases from containerize

PATCH In review Michal Orzel 3 participants 8 messages Mar 1, 2023 – Mar 3, 2023

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 automation: Add missing and drop obsoleted aliases from containerize

Add missing aliases for:
- debian:unstable-cppcheck
- debian:unstable-arm64v8-arm32-gcc
- ubuntu:bionic

Remove aliases for no longer used containers:
- centos:7.2
- debian:unstable-arm32-gcc

Modify docs to refer to CentOS 7 instead of 7.2 not to create confusion.

---
Open questions related to the CI cleanup (@Andrew, @Anthony):
- Why do we keep suse:sles11sp4 dockerfile?
- Why do we keep jessie dockefiles?

---
 automation/build/README.md      | 4 ++--
 automation/scripts/containerize | 5 +++--
 2 files changed, 5 insertions(+), 4 deletions(-)
automation/build/README.md +2 -2
index 4cc1acb6b41c..2d07cafe0eaa 100644
@@ -44,10 +44,10 @@ understands.
   DOCKER_CMD=podman ./automation/scripts/containerize make
   ```
 
-- CONTAINER: This overrides the container to use. For CentOS 7.2, use:
+- CONTAINER: This overrides the container to use. For CentOS 7, use:
 
   ```
-  CONTAINER=centos72 ./automation/scripts/containerize make
+  CONTAINER=centos7 ./automation/scripts/containerize make
   ```
 
 - CONTAINER_PATH: This overrides the path that will be available under the
automation/scripts/containerize +3 -2
index 9b1a302d0565..5476ff0ea10d 100755
@@ -29,7 +29,6 @@ case "_${CONTAINER}" in
     _archlinux|_arch) CONTAINER="${BASE}/archlinux:current" ;;
     _riscv64) CONTAINER="${BASE}/archlinux:current-riscv64" ;;
     _centos7) CONTAINER="${BASE}/centos:7" ;;
-    _centos72) CONTAINER="${BASE}/centos:7.2" ;;
     _fedora) CONTAINER="${BASE}/fedora:29";;
     _focal) CONTAINER="${BASE}/ubuntu:focal" ;;
     _jessie) CONTAINER="${BASE}/debian:jessie" ;;
@@ -39,8 +38,10 @@ case "_${CONTAINER}" in
     _buster-gcc-ibt) CONTAINER="${BASE}/debian:buster-gcc-ibt" ;;
     _unstable|_) CONTAINER="${BASE}/debian:unstable" ;;
     _unstable-i386) CONTAINER="${BASE}/debian:unstable-i386" ;;
-    _unstable-arm32-gcc) CONTAINER="${BASE}/debian:unstable-arm32-gcc" ;;
+    _unstable-arm64v8-arm32-gcc) CONTAINER="${BASE}/debian:unstable-arm64v8-arm32-gcc" ;;
     _unstable-arm64v8) CONTAINER="${BASE}/debian:unstable-arm64v8" ;;
+    _unstable-cppcheck) CONTAINER="${BASE}/debian:unstable-cppcheck" ;;
+    _bionic) CONTAINER="${BASE}/ubuntu:bionic" ;;
     _trusty) CONTAINER="${BASE}/ubuntu:trusty" ;;
     _xenial) CONTAINER="${BASE}/ubuntu:xenial" ;;
     _opensuse-leap|_leap) CONTAINER="${BASE}/suse:opensuse-leap" ;;
Signature · 1 line
2.25.1
Acked-by on v1 1/1
#1 lore raw
Quoted 5 lines · Michal Orzel

Add missing aliases for:
- debian:unstable-cppcheck
- debian:unstable-arm64v8-arm32-gcc
- ubuntu:bionic

Quoted 7 lines

Remove aliases for no longer used containers:
- centos:7.2
- debian:unstable-arm32-gcc

Modify docs to refer to CentOS 7 instead of 7.2 not to create confusion.

Quoted 3 lines

---
Open questions related to the CI cleanup (@Andrew, @Anthony):
- Why do we keep suse:sles11sp4 dockerfile?

please remove, it EOLed in 2016

Quoted 1 line

- Why do we keep jessie dockefiles?

please remove, it EOLed in 2020

Quoted 49 lines
---
 automation/build/README.md      | 4 ++--
 automation/scripts/containerize | 5 +++--
 2 files changed, 5 insertions(+), 4 deletions(-)
automation/build/README.md +2 -2
index 4cc1acb6b41c..2d07cafe0eaa 100644
@@ -44,10 +44,10 @@ understands.
   DOCKER_CMD=podman ./automation/scripts/containerize make
   ```
 
-- CONTAINER: This overrides the container to use. For CentOS 7.2, use:
+- CONTAINER: This overrides the container to use. For CentOS 7, use:
 
   ```
-  CONTAINER=centos72 ./automation/scripts/containerize make
+  CONTAINER=centos7 ./automation/scripts/containerize make
   ```
 
 - CONTAINER_PATH: This overrides the path that will be available under the
automation/scripts/containerize +3 -2
index 9b1a302d0565..5476ff0ea10d 100755
@@ -29,7 +29,6 @@ case "_${CONTAINER}" in
     _archlinux|_arch) CONTAINER="${BASE}/archlinux:current" ;;
     _riscv64) CONTAINER="${BASE}/archlinux:current-riscv64" ;;
     _centos7) CONTAINER="${BASE}/centos:7" ;;
-    _centos72) CONTAINER="${BASE}/centos:7.2" ;;
     _fedora) CONTAINER="${BASE}/fedora:29";;
     _focal) CONTAINER="${BASE}/ubuntu:focal" ;;
     _jessie) CONTAINER="${BASE}/debian:jessie" ;;
@@ -39,8 +38,10 @@ case "_${CONTAINER}" in
     _buster-gcc-ibt) CONTAINER="${BASE}/debian:buster-gcc-ibt" ;;
     _unstable|_) CONTAINER="${BASE}/debian:unstable" ;;
     _unstable-i386) CONTAINER="${BASE}/debian:unstable-i386" ;;
-    _unstable-arm32-gcc) CONTAINER="${BASE}/debian:unstable-arm32-gcc" ;;
+    _unstable-arm64v8-arm32-gcc) CONTAINER="${BASE}/debian:unstable-arm64v8-arm32-gcc" ;;
     _unstable-arm64v8) CONTAINER="${BASE}/debian:unstable-arm64v8" ;;
+    _unstable-cppcheck) CONTAINER="${BASE}/debian:unstable-cppcheck" ;;
+    _bionic) CONTAINER="${BASE}/ubuntu:bionic" ;;
     _trusty) CONTAINER="${BASE}/ubuntu:trusty" ;;
     _xenial) CONTAINER="${BASE}/ubuntu:xenial" ;;
     _opensuse-leap|_leap) CONTAINER="${BASE}/suse:opensuse-leap" ;;
Signature · 1 line
2.25.1
#2 lore raw
Quoted 16 lines · Stefano Stabellini
Quoted 5 lines · Michal Orzel

Add missing aliases for:
- debian:unstable-cppcheck
- debian:unstable-arm64v8-arm32-gcc
- ubuntu:bionic

Quoted 7 lines

Remove aliases for no longer used containers:
- centos:7.2
- debian:unstable-arm32-gcc

Modify docs to refer to CentOS 7 instead of 7.2 not to create confusion.

Quoted 8 lines
Quoted 3 lines

---
Open questions related to the CI cleanup (@Andrew, @Anthony):
- Why do we keep suse:sles11sp4 dockerfile?

please remove, it EOLed in 2016

ok will do

Quoted 5 lines
Quoted 3 lines

- Why do we keep jessie dockefiles?

please remove, it EOLed in 2020

For this I would like to check with Anthony and Andrew \wrt recent patches
that first modified the Jessie containers to use EOL tag and then removed Jessie related jobs. I am confused why we keep dockerfiles in git tree while not having any jobs for them.

Anthony, Andrew?

~Michal

#3 lore raw
In reply to Michal Orzel
Quoted 9 lines · Michal Orzel

Add missing aliases for:
- debian:unstable-cppcheck
- debian:unstable-arm64v8-arm32-gcc
- ubuntu:bionic

Remove aliases for no longer used containers:
- centos:7.2
- debian:unstable-arm32-gcc

Quoted 7 lines

Modify docs to refer to CentOS 7 instead of 7.2 not to create confusion.

---
Open questions related to the CI cleanup (@Andrew, @Anthony):
- Why do we keep suse:sles11sp4 dockerfile?
- Why do we keep jessie dockefiles?

Because we don't yet have a process for retirement of such things.

Right now, all branches other than staging are using the jessie containers.  While it's still in use on any branch, we need some way to rebuild the container (potentially with modifications - see the recent HTTPS fun), and standard practice is "patches into staging".

An alternative could be to patch into the most recent staging branch containing the dockerfile.

sles11sp4 is more complicated.  We specifically tried to get a SLES container working, but it was always in a weird state (only @suse people could rebuild the container).  We did eventually replace it with OpenSUSE containers, but I can't currently locate any evidence in the gitlab yml that we wired sles11sp4 up.   Which is confusing because I swear we did have it running at some point in the past...

~Andrew

#4 lore raw
Quoted 31 lines · Andrew Cooper
Quoted 9 lines · Michal Orzel

Add missing aliases for:
- debian:unstable-cppcheck
- debian:unstable-arm64v8-arm32-gcc
- ubuntu:bionic

Remove aliases for no longer used containers:
- centos:7.2
- debian:unstable-arm32-gcc

Quoted 7 lines

Modify docs to refer to CentOS 7 instead of 7.2 not to create confusion.

---
Open questions related to the CI cleanup (@Andrew, @Anthony):
- Why do we keep suse:sles11sp4 dockerfile?
- Why do we keep jessie dockefiles?

Because we don't yet have a process for retirement of such things.

Right now, all branches other than staging are using the jessie containers. While it's still in use on any branch, we need some way to rebuild the container (potentially with modifications - see the recent HTTPS fun), and standard practice is "patches into staging".

An alternative could be to patch into the most recent staging branch containing the dockerfile.

Quoted 6 lines

sles11sp4 is more complicated. We specifically tried to get a SLES container working, but it was always in a weird state (only @suse people could rebuild the container). We did eventually replace it with OpenSUSE containers, but I can't currently locate any evidence in the
gitlab yml that we wired sles11sp4 up. Which is confusing because I
swear we did have it running at some point in the past...

Ok, thanks for answering. Stefano wanted me to remove these unused dockefiles. Are you ok with that or only to remove sles for now?

~Michal

#5 lore raw
Quoted 31 lines · Michal Orzel
Quoted 29 lines · Andrew Cooper
Quoted 9 lines · Michal Orzel

Add missing aliases for:
- debian:unstable-cppcheck
- debian:unstable-arm64v8-arm32-gcc
- ubuntu:bionic

Remove aliases for no longer used containers:
- centos:7.2
- debian:unstable-arm32-gcc

Quoted 7 lines

Modify docs to refer to CentOS 7 instead of 7.2 not to create confusion.

---
Open questions related to the CI cleanup (@Andrew, @Anthony):
- Why do we keep suse:sles11sp4 dockerfile?
- Why do we keep jessie dockefiles?

Because we don't yet have a process for retirement of such things.

Right now, all branches other than staging are using the jessie containers. While it's still in use on any branch, we need some way to rebuild the container (potentially with modifications - see the recent HTTPS fun), and standard practice is "patches into staging".

An alternative could be to patch into the most recent staging branch containing the dockerfile.

Quoted 8 lines
Quoted 6 lines

sles11sp4 is more complicated. We specifically tried to get a SLES container working, but it was always in a weird state (only @suse people could rebuild the container). We did eventually replace it with OpenSUSE containers, but I can't currently locate any evidence in the
gitlab yml that we wired sles11sp4 up. Which is confusing because I
swear we did have it running at some point in the past...

Ok, thanks for answering. Stefano wanted me to remove these unused dockefiles. Are you ok with that or only to remove sles for now?

So https://gitlab.com/xen-project/xen/-/pipelines/791687536 is the latest pipeline on Xen 4.14  (yeah, that's a concerning amount of red...) but I don't see any SLES runs and I do see the OpenSUSE runs.

So I think we can safely drop the sles dockerfile, and drop the tags.

But I'd like to keep jessie around until we have figured out what our deprecation process is.

~Andrew

#6 lore raw
Quoted 40 lines · Andrew Cooper
Quoted 37 lines · Michal Orzel
Quoted 35 lines · Andrew Cooper
Quoted 9 lines · Michal Orzel

Add missing aliases for:
- debian:unstable-cppcheck
- debian:unstable-arm64v8-arm32-gcc
- ubuntu:bionic

Remove aliases for no longer used containers:
- centos:7.2
- debian:unstable-arm32-gcc

Quoted 7 lines

Modify docs to refer to CentOS 7 instead of 7.2 not to create confusion.

---
Open questions related to the CI cleanup (@Andrew, @Anthony):
- Why do we keep suse:sles11sp4 dockerfile?
- Why do we keep jessie dockefiles?

Because we don't yet have a process for retirement of such things.

Right now, all branches other than staging are using the jessie containers. While it's still in use on any branch, we need some way to rebuild the container (potentially with modifications - see the recent HTTPS fun), and standard practice is "patches into staging".

An alternative could be to patch into the most recent staging branch containing the dockerfile.

sles11sp4 is more complicated. We specifically tried to get a SLES container working, but it was always in a weird state (only @suse people could rebuild the container). We did eventually replace it with OpenSUSE containers, but I can't currently locate any evidence in the
gitlab yml that we wired sles11sp4 up. Which is confusing because I
swear we did have it running at some point in the past...

Quoted 8 lines
Quoted 2 lines

Ok, thanks for answering. Stefano wanted me to remove these unused dockefiles. Are you ok with that or only to remove sles for now?

So https://gitlab.com/xen-project/xen/-/pipelines/791687536 is the latest pipeline on Xen 4.14 (yeah, that's a concerning amount of red...) but I don't see any SLES runs and I do see the OpenSUSE runs.

So I think we can safely drop the sles dockerfile, and drop the tags.

Ok. FWICS, there is only a dockefile for sles. No jobs, no tags, so just dockerfile to remove.

Quoted 3 lines

But I'd like to keep jessie around until we have figured out what our deprecation process is.

I'm ok with that and I think that your alternative approach is a good way to go. That said, I think we could still remove jessie aliases from containerize, while keeping the dockerfiles for now until deprecation process is ready.

~Michal

#7 lore raw
Quoted 46 lines · Michal Orzel
Quoted 43 lines · Andrew Cooper
Quoted 39 lines · Michal Orzel
Quoted 29 lines · Andrew Cooper
Quoted 9 lines · Michal Orzel

Add missing aliases for:
- debian:unstable-cppcheck
- debian:unstable-arm64v8-arm32-gcc
- ubuntu:bionic

Remove aliases for no longer used containers:
- centos:7.2
- debian:unstable-arm32-gcc

Quoted 7 lines

Modify docs to refer to CentOS 7 instead of 7.2 not to create confusion.

---
Open questions related to the CI cleanup (@Andrew, @Anthony):
- Why do we keep suse:sles11sp4 dockerfile?
- Why do we keep jessie dockefiles?

Because we don't yet have a process for retirement of such things.

Right now, all branches other than staging are using the jessie containers. While it's still in use on any branch, we need some way to rebuild the container (potentially with modifications - see the recent HTTPS fun), and standard practice is "patches into staging".

An alternative could be to patch into the most recent staging branch containing the dockerfile.

Quoted 6 lines

sles11sp4 is more complicated. We specifically tried to get a SLES container working, but it was always in a weird state (only @suse people could rebuild the container). We did eventually replace it with OpenSUSE containers, but I can't currently locate any evidence in the
gitlab yml that we wired sles11sp4 up. Which is confusing because I
swear we did have it running at some point in the past...

Ok, thanks for answering. Stefano wanted me to remove these unused dockefiles. Are you ok with that or only to remove sles for now?

Quoted 7 lines
Quoted 5 lines

So https://gitlab.com/xen-project/xen/-/pipelines/791687536 is the latest pipeline on Xen 4.14 (yeah, that's a concerning amount of red...) but I don't see any SLES runs and I do see the OpenSUSE runs.

So I think we can safely drop the sles dockerfile, and drop the tags.

Ok. FWICS, there is only a dockefile for sles. No jobs, no tags, so just dockerfile to remove.

Now I realized that by tags you meant removing it from registry as well.

Quoted 7 lines
Quoted 4 lines

But I'd like to keep jessie around until we have figured out what our deprecation process is.

I'm ok with that and I think that your alternative approach is a good way to go. That said, I think we could still remove jessie aliases from containerize, while keeping the dockerfiles for now until deprecation process is ready.

+ I think we can remove jessie aliases together with dockerfiles once process is ready.

Quoted 3 lines

~Michal

~Michal