From 3497936cdfefde8b38aca2b7b6d60947a1071bc0 Mon Sep 17 00:00:00 2001 From: Evan Lezar Date: Mon, 27 Feb 2023 12:49:47 +0200 Subject: [PATCH] Remove ubuntu18.04 toolkit-container image Signed-off-by: Evan Lezar --- .common-ci.yml | 17 ++++------------- .gitlab-ci.yml | 38 ++++++++++++++------------------------ .nvidia-ci.yml | 16 +++------------- build/container/Makefile | 2 +- 4 files changed, 22 insertions(+), 51 deletions(-) diff --git a/.common-ci.yml b/.common-ci.yml index 569b5d05..fb2ff90d 100644 --- a/.common-ci.yml +++ b/.common-ci.yml @@ -92,8 +92,6 @@ stages: PACKAGE_REPO_TYPE: debian .dist-ubuntu20.04: - rules: - - !reference [.main-or-manual, rules] variables: DIST: ubuntu20.04 CVE_UPDATES: "libsasl2-2 libsasl2-modules-db" @@ -238,22 +236,15 @@ release:staging-ubi8: needs: - image-ubi8 -release:staging-ubuntu18.04: - extends: - - .release:staging - - .dist-ubuntu18.04 - needs: - - test-toolkit-ubuntu18.04 - - test-containerd-ubuntu18.04 - - test-crio-ubuntu18.04 - - test-docker-ubuntu18.04 - release:staging-ubuntu20.04: extends: - .release:staging - .dist-ubuntu20.04 needs: - - image-ubuntu20.04 + - test-toolkit-ubuntu20.04 + - test-containerd-ubuntu20.04 + - test-crio-ubuntu20.04 + - test-docker-ubuntu20.04 release:staging-packaging: extends: diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index fad03f49..7a338002 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -217,17 +217,6 @@ image-ubi8: - package-centos8-x86_64 - package-centos8-ppc64le -image-ubuntu18.04: - extends: - - .image-build - - .package-artifacts - - .dist-ubuntu18.04 - needs: - - package-ubuntu18.04-amd64 - - package-ubuntu18.04-arm64 - - job: package-ubuntu18.04-ppc64le - optional: true - image-ubuntu20.04: extends: - .image-build @@ -236,7 +225,8 @@ image-ubuntu20.04: needs: - package-ubuntu18.04-amd64 - package-ubuntu18.04-arm64 - - package-ubuntu18.04-ppc64le + - job: package-ubuntu18.04-ppc64le + optional: true # The DIST=packaging target creates an image containing all built packages image-packaging: @@ -294,31 +284,31 @@ image-packaging: TEST_CASES: "crio" # Define the test targets -test-toolkit-ubuntu18.04: +test-toolkit-ubuntu20.04: extends: - .test:toolkit - - .dist-ubuntu18.04 + - .dist-ubuntu20.04 needs: - - image-ubuntu18.04 + - image-ubuntu20.04 -test-containerd-ubuntu18.04: +test-containerd-ubuntu20.04: extends: - .test:containerd - - .dist-ubuntu18.04 + - .dist-ubuntu20.04 needs: - - image-ubuntu18.04 + - image-ubuntu20.04 -test-crio-ubuntu18.04: +test-crio-ubuntu20.04: extends: - .test:crio - - .dist-ubuntu18.04 + - .dist-ubuntu20.04 needs: - - image-ubuntu18.04 + - image-ubuntu20.04 -test-docker-ubuntu18.04: +test-docker-ubuntu20.04: extends: - .test:docker - - .dist-ubuntu18.04 + - .dist-ubuntu20.04 needs: - - image-ubuntu18.04 + - image-ubuntu20.04 diff --git a/.nvidia-ci.yml b/.nvidia-ci.yml index 1a82598a..51b3a58a 100644 --- a/.nvidia-ci.yml +++ b/.nvidia-ci.yml @@ -79,11 +79,6 @@ image-ubi8: - .dist-ubi8 - .image-pull -image-ubuntu18.04: - extends: - - .dist-ubuntu18.04 - - .image-pull - image-ubuntu20.04: extends: - .dist-ubuntu20.04 @@ -230,12 +225,12 @@ release:packages:kitmaker: extends: - .release:packages -release:staging-ubuntu18.04: +release:staging-ubuntu20.04: extends: - .release:staging - - .dist-ubuntu18.04 + - .dist-ubuntu20.04 needs: - - image-ubuntu18.04 + - image-ubuntu20.04 # Define the external release targets # Release to NGC @@ -244,11 +239,6 @@ release:ngc-centos7: - .dist-centos7 - .release:ngc -release:ngc-ubuntu18.04: - extends: - - .dist-ubuntu18.04 - - .release:ngc - release:ngc-ubuntu20.04: extends: - .dist-ubuntu20.04 diff --git a/build/container/Makefile b/build/container/Makefile index 522b51f9..c0adc331 100644 --- a/build/container/Makefile +++ b/build/container/Makefile @@ -44,7 +44,7 @@ OUT_IMAGE = $(OUT_IMAGE_NAME):$(OUT_IMAGE_TAG) ##### Public rules ##### DEFAULT_PUSH_TARGET := ubuntu20.04 -DISTRIBUTIONS := ubuntu20.04 ubuntu18.04 ubi8 centos7 +DISTRIBUTIONS := ubuntu20.04 ubi8 centos7 META_TARGETS := packaging