From 03ece13181d995d5e8ddf88a5338abc83fbaa123 Mon Sep 17 00:00:00 2001 From: Thomas H Jones II Date: Wed, 5 Jun 2024 11:14:14 -0400 Subject: [PATCH 1/6] Swap COS8 image for UBI8 image While we're here, add COS9 for EL9-based testing --- .github/workflows/test-salt-linux.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test-salt-linux.yml b/.github/workflows/test-salt-linux.yml index ab5341f..d923638 100644 --- a/.github/workflows/test-salt-linux.yml +++ b/.github/workflows/test-salt-linux.yml @@ -39,7 +39,8 @@ jobs: image: >- ${{ fromJson('{ 7: "quay.io/centos/centos:centos7", - 8: "quay.io/centos/centos:stream8" + 8: "hub.docker.com/redhat:ubi8", + 9: "quay.io/centos/centos:stream9" }')[inputs.salt-os-version] }} volumes: - /sys/fs/cgroup:/sys/fs/cgroup From af588153c6af037dd78b90b236a734854694bf88 Mon Sep 17 00:00:00 2001 From: Thomas H Jones II Date: Wed, 5 Jun 2024 11:35:32 -0400 Subject: [PATCH 2/6] Switch to UBIs for EL8+ testing --- .github/workflows/test-salt-linux.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test-salt-linux.yml b/.github/workflows/test-salt-linux.yml index d923638..608178e 100644 --- a/.github/workflows/test-salt-linux.yml +++ b/.github/workflows/test-salt-linux.yml @@ -40,7 +40,7 @@ jobs: ${{ fromJson('{ 7: "quay.io/centos/centos:centos7", 8: "hub.docker.com/redhat:ubi8", - 9: "quay.io/centos/centos:stream9" + 9: "hub.docker.com/redhat:ubi9" }')[inputs.salt-os-version] }} volumes: - /sys/fs/cgroup:/sys/fs/cgroup From ebd408ab4818a32f09b1d2794ecb65220962ca68 Mon Sep 17 00:00:00 2001 From: Thomas H Jones II Date: Wed, 5 Jun 2024 11:36:28 -0400 Subject: [PATCH 3/6] Update minor-version to better reflect change of primary container-registries --- .bumpversion.cfg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.bumpversion.cfg b/.bumpversion.cfg index e3ef2b5..414d4f4 100644 --- a/.bumpversion.cfg +++ b/.bumpversion.cfg @@ -1,5 +1,5 @@ [bumpversion] -current_version = 1.5.0 +current_version = 1.6.0 commit = True message = Bumps version to {new_version} tag = False From 15cd164fb9921005e8032d5921350b61a8af7ee6 Mon Sep 17 00:00:00 2001 From: Thomas H Jones II Date: Wed, 5 Jun 2024 12:04:11 -0400 Subject: [PATCH 4/6] update registry references Use the references similar to as described at https://catalog.redhat.com/software/containers/ubi9/ubi/615bcf606feffc5384e8452e?architecture=amd64&image=664f601144727717ac47958f&container-tabs=gti --- .github/workflows/test-salt-linux.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test-salt-linux.yml b/.github/workflows/test-salt-linux.yml index 608178e..bbbcb15 100644 --- a/.github/workflows/test-salt-linux.yml +++ b/.github/workflows/test-salt-linux.yml @@ -39,8 +39,8 @@ jobs: image: >- ${{ fromJson('{ 7: "quay.io/centos/centos:centos7", - 8: "hub.docker.com/redhat:ubi8", - 9: "hub.docker.com/redhat:ubi9" + 8: "registry.access.redhat.com/ubi8/ubi:latest", + 9: "registry.access.redhat.com/ubi9/ubi:latest" }')[inputs.salt-os-version] }} volumes: - /sys/fs/cgroup:/sys/fs/cgroup From 2021f51f114366b830cb3a7a53546996b4448c17 Mon Sep 17 00:00:00 2001 From: Thomas H Jones II Date: Wed, 5 Jun 2024 14:00:14 -0400 Subject: [PATCH 5/6] UBI requires too much work Using Alma - instead of Rocky - because Alma looks to be keeping theirs more up-to-date: # docker image ls REPOSITORY TAG IMAGE ID CREATED SIZE almalinux 9 ac7ec6259981 5 days ago 185MB almalinux 8 9fb5ddbdcc92 7 days ago 189MB rockylinux 9 9cc24f05f309 6 months ago 176MB rockylinux 9-minimal dfaa211c6b30 6 months ago 118MB rockylinux 8-minimal f63d8d2889fd 6 months ago 93.3MB rockylinux 8 c79048e50f5f 6 months ago 198MB --- .github/workflows/test-salt-linux.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test-salt-linux.yml b/.github/workflows/test-salt-linux.yml index bbbcb15..d6fc524 100644 --- a/.github/workflows/test-salt-linux.yml +++ b/.github/workflows/test-salt-linux.yml @@ -39,8 +39,8 @@ jobs: image: >- ${{ fromJson('{ 7: "quay.io/centos/centos:centos7", - 8: "registry.access.redhat.com/ubi8/ubi:latest", - 9: "registry.access.redhat.com/ubi9/ubi:latest" + 8: "docker.io/library/almalinux:8", + 9: "docker.io/library/almalinux:9" }')[inputs.salt-os-version] }} volumes: - /sys/fs/cgroup:/sys/fs/cgroup From cc0a39e21c49cf7338fbf026e707623532e5ef08 Mon Sep 17 00:00:00 2001 From: Thomas H Jones II Date: Wed, 5 Jun 2024 14:36:30 -0400 Subject: [PATCH 6/6] Update changelog information --- CHANGELOG.md | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index bac27f9..3ff29ff 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,26 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/) and this project adheres to [Semantic Versioning](http://semver.org/). +### [1.6.0](https://github.com/plus3it/actions-workflows/releases/tag/1.6.0) + +**Released**: 2024.06.04 + +**Summary**: + +* Updates salt workflow for EL8 to use the Alma Linux 8 container. CentOS + Stream 8 was discontinued as of June 1, 2024. Along with this + discontinuation, the CentOS maintainers removed the CentOS Stream 8 yum + repositories. Lack of repository-access breaks the ability to adequately + customize the CI container, causing job failures. Explored image-options + from Red Hat and both the Rocky and Alma projects. Found that the Red Hat + images' repositories lacked critical RPMs. Found that the Official + containers from Alma Linux seem to be getting updated with greater + frequency than those from Rocky, so opted to switch to Alma. +* Adds initial hooks for a salt workflow for EL9. Chose containers from the + Alma project as a hedge against premature-discontinuation of the CentOS + repos and because the Red Hat 9 container-images similarly lack critical + RPMs. + ### [1.5.0](https://github.com/plus3it/actions-workflows/releases/tag/1.5.0) **Released**: 2024.02.22