[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH stable-7.2 16/23] gitlab: switch from 'stable' to 'latest' docker
From: |
Thomas Huth |
Subject: |
[PATCH stable-7.2 16/23] gitlab: switch from 'stable' to 'latest' docker container tags |
Date: |
Tue, 3 Dec 2024 11:53:39 +0100 |
From: Daniel P. Berrangé <berrange@redhat.com>
The 'stable' and 'stable-dind' tags are not documented as supported
tags at:
https://hub.docker.com/_/docker
Looking at their content they reflect docker 19.x.x release series,
were last built in Dec 2020, and have 3 critical and 20 high rated
CVEs unfixed. This obsolete status is attested by this commit:
https://github.com/docker-library/docker/commit/606c63960a4845af7077721eb3900c706f5d0c5e
The 'stable-dind' tag in particular appears buggy as it is unable to
resolve DNS for Fedora repos:
- Curl error (6): Couldn't resolve host name for
https://mirrors.fedoraproject.org/metalink?repo=fedora-37&arch=x86_64&countme=1
[getaddrinfo() thread failed to start]
We used the 'stable' tag previously at the recommendation of GitLab
docs, but those docs are wrong and pending a fix:
https://gitlab.com/gitlab-org/gitlab/-/issues/409430
Fixes: 5f63a67adb58478974b91f5e5c2b1222b5c7f2cc
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
Reviewed-by: Camilla Conte <cconte@redhat.com>
Message-Id: <20230531140654.1141145-1-berrange@redhat.com>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
(cherry picked from commit ab7252279727da51c01cdaf41c5fe563bbded3a6)
---
.gitlab-ci.d/container-template.yml | 2 +-
.gitlab-ci.d/opensbi.yml | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/.gitlab-ci.d/container-template.yml
b/.gitlab-ci.d/container-template.yml
index c434b9c8f3..6eab31462e 100644
--- a/.gitlab-ci.d/container-template.yml
+++ b/.gitlab-ci.d/container-template.yml
@@ -1,6 +1,6 @@
.container_job_template:
extends: .base_job_template
- image: docker:stable
+ image: docker:latest
stage: containers
services:
- docker:dind
diff --git a/.gitlab-ci.d/opensbi.yml b/.gitlab-ci.d/opensbi.yml
index 9a651465d8..22b4d81a1f 100644
--- a/.gitlab-ci.d/opensbi.yml
+++ b/.gitlab-ci.d/opensbi.yml
@@ -42,9 +42,9 @@
docker-opensbi:
extends: .opensbi_job_rules
stage: containers
- image: docker:stable
+ image: docker:latest
services:
- - docker:stable-dind
+ - docker:dind
variables:
GIT_DEPTH: 3
IMAGE_TAG: $CI_REGISTRY_IMAGE:opensbi-cross-build
--
2.47.0
- [PATCH stable-7.2 01/23] FreeBSD: Upgrade to 12.4 release, (continued)
- [PATCH stable-7.2 01/23] FreeBSD: Upgrade to 12.4 release, Thomas Huth, 2024/12/03
- [PATCH stable-7.2 04/23] lcitool: drop texinfo from QEMU project/dependencies, Thomas Huth, 2024/12/03
- [PATCH stable-7.2 05/23] tests: add socat dependency for tests, Thomas Huth, 2024/12/03
- [PATCH stable-7.2 06/23] .gitlab-ci.d/cirrus: Drop the CI job for compiling with FreeBSD 12, Thomas Huth, 2024/12/03
- [PATCH stable-7.2 08/23] lcitool: update submodule, Thomas Huth, 2024/12/03
- [PATCH stable-7.2 09/23] .gitlab-ci.d/cirrus: Add manual testing of macOS 14 (Sonoma), Thomas Huth, 2024/12/03
- [PATCH stable-7.2 07/23] .gitlab-ci.d/cirrus: Upgrade macOS to 13 (Ventura), Thomas Huth, 2024/12/03
- [PATCH stable-7.2 10/23] tests/vm/freebsd: Update to FreeBSD 13.2, Thomas Huth, 2024/12/03
- [PATCH stable-7.2 11/23] tests/vm/freebsd: Add additional library paths for libfdt, Thomas Huth, 2024/12/03
- [PATCH stable-7.2 12/23] Update FreeBSD CI jobs FreeBSD 14.1, Thomas Huth, 2024/12/03
- [PATCH stable-7.2 16/23] gitlab: switch from 'stable' to 'latest' docker container tags,
Thomas Huth <=
- [PATCH stable-7.2 13/23] ci: install meson in CirrusCI KVM build environment, Thomas Huth, 2024/12/03
- [PATCH stable-7.2 18/23] tests: update most Debian images to Bookworm, Thomas Huth, 2024/12/03
- [PATCH stable-7.2 21/23] tests: update lcitool to fix freebsd py311-yaml rename, Thomas Huth, 2024/12/03
- [PATCH stable-7.2 20/23] testing: bump mips64el cross to bookworm and fix package list, Thomas Huth, 2024/12/03
- [PATCH stable-7.2 17/23] tests/lcitool: add an explicit gcc-native package, Thomas Huth, 2024/12/03
- [PATCH stable-7.2 14/23] .gitlab-ci.d/cirrus: Remove the netbsd and openbsd jobs, Thomas Huth, 2024/12/03
- [PATCH stable-7.2 19/23] tests: bump libvirt-ci for libasan and libxdp, Thomas Huth, 2024/12/03
- [PATCH stable-7.2 22/23] tests/docker: update debian i686 and mipsel images to bookworm, Thomas Huth, 2024/12/03
- [PATCH stable-7.2 23/23] .gitlab-ci.d/qemu-project: Disable Cirrus-CI and MSYS2 in the 7.2 branch, Thomas Huth, 2024/12/03