Skip to content

Commit f34d434

Browse files
committed
Switch ubi8 image to ubi9
Signed-off-by: Evan Lezar <[email protected]>
1 parent ba31298 commit f34d434

File tree

7 files changed

+25
-25
lines changed

7 files changed

+25
-25
lines changed

.common-ci.yml

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -75,9 +75,9 @@ trigger-pipeline:
7575
- when: always
7676

7777
# The .dist- dummy steps set the DIST variable for the targeted distribution.
78-
.dist-ubi8:
78+
.dist-ubi9:
7979
variables:
80-
DIST: "ubi8"
80+
DIST: "ubi9"
8181
rules:
8282
- when: manual
8383
allow_failure: false
@@ -150,22 +150,22 @@ scan-ubuntu20.04-arm64:
150150
- image-ubuntu20.04
151151
- scan-ubuntu20.04-amd64
152152

153-
scan-ubi8-amd64:
153+
scan-ubi9-amd64:
154154
extends:
155155
- .scan
156-
- .dist-ubi8
156+
- .dist-ubi9
157157
- .platform-amd64
158158
needs:
159-
- image-ubi8
159+
- image-ubi9
160160

161-
scan-ubi8-arm64:
161+
scan-ubi9-arm64:
162162
extends:
163163
- .scan
164-
- .dist-ubi8
164+
- .dist-ubi9
165165
- .platform-arm64
166166
needs:
167-
- image-ubi8
168-
- scan-ubi8-amd64
167+
- image-ubi9
168+
- scan-ubi9-amd64
169169

170170
# Download the regctl binary for use in the release steps
171171
.regctl-setup:
@@ -237,12 +237,12 @@ scan-ubi8-arm64:
237237
- job: unit-tests
238238
optional:
239239

240-
release:staging-ubi8:
240+
release:staging-ubi9:
241241
extends:
242242
- .release:staging
243-
- .dist-ubi8
243+
- .dist-ubi9
244244
needs:
245-
- image-ubi8
245+
- image-ubi9
246246

247247
release:staging-ubuntu20.04:
248248
extends:

.github/workflows/image.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
runs-on: linux-amd64-cpu4
2828
strategy:
2929
matrix:
30-
dist: [ubuntu20.04, ubi8]
30+
dist: [ubuntu20.04, ubi9]
3131
steps:
3232
- uses: actions/checkout@v4
3333
name: Check out code

.gitlab-ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,10 +72,10 @@ unit-tests:
7272
needs:
7373
- trigger-pipeline
7474

75-
image-ubi8:
75+
image-ubi9:
7676
extends:
7777
- .image-build
78-
- .dist-ubi8
78+
- .dist-ubi9
7979

8080
image-ubuntu20.04:
8181
extends:

.nvidia-ci.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -65,10 +65,10 @@ variables:
6565
- regctl registry login "${OUT_REGISTRY}" -u "${OUT_REGISTRY_USER}" -p "${OUT_REGISTRY_TOKEN}"
6666
- make -f deployments/container/Makefile IMAGE=${IN_REGISTRY}/${IN_IMAGE_NAME}:${IN_VERSION}-${DIST} OUT_IMAGE=${OUT_IMAGE_NAME}:${CI_COMMIT_SHORT_SHA}-${DIST} push-${DIST}
6767

68-
image-ubi8:
68+
image-ubi9:
6969
extends:
7070
- .image-pull
71-
- .dist-ubi8
71+
- .dist-ubi9
7272

7373
image-ubuntu20.04:
7474
extends:
@@ -123,7 +123,7 @@ release:ngc-ubuntu20.04:
123123
- .release:ngc
124124
- .dist-ubuntu20.04
125125

126-
release:ngc-ubi8:
126+
release:ngc-ubi9:
127127
extends:
128128
- .release:ngc
129-
- .dist-ubi8
129+
- .dist-ubi9

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ cd k8s-dra-driver
5454

5555
### Setting up the infrastructure
5656

57-
Here's a demo showing how to install and configure DRA, and run a pod in a `kind` cluster on a Linux workstation.
57+
Here's a demo showing how to install and configure DRA, and run a pod in a `kind` cluster on a Linux workstation.
5858

5959
<p align="center">
6060
<img width="800" src="./demo/specs/quickstart/basic-demo.svg">
@@ -156,7 +156,7 @@ export VERSION=v0.1.0
156156
157157
REGISTRY=nvcr.io/nvidia/cloud-native
158158
IMAGE=k8s-dra-driver
159-
PLATFORM=ubi8
159+
PLATFORM=ubi9
160160
161161
sudo true
162162
make -f deployments/container/Makefile build-${PLATFORM}

deployments/container/Dockerfile.ubi8 renamed to deployments/container/Dockerfile.ubi9

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
# limitations under the License.
1414

1515
ARG GOLANG_VERSION=1.23.1
16-
FROM nvcr.io/nvidia/cuda:12.3.2-base-ubi8 AS build
16+
FROM nvcr.io/nvidia/cuda:12.3.2-base-ubi9 AS build
1717

1818
RUN yum install -y \
1919
wget make git gcc \
@@ -36,7 +36,7 @@ ARG VERSION="N/A"
3636
ARG GIT_COMMIT="unknown"
3737
RUN make PREFIX=/artifacts cmds
3838

39-
FROM nvcr.io/nvidia/cuda:12.3.2-base-ubi8
39+
FROM nvcr.io/nvidia/cuda:12.3.2-base-ubi9
4040

4141
ENV NVIDIA_DISABLE_REQUIRE="true"
4242
ENV NVIDIA_VISIBLE_DEVICES=all

deployments/container/Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ OUT_IMAGE = $(OUT_IMAGE_NAME):$(OUT_IMAGE_TAG)
3939

4040
##### Public rules #####
4141
DEFAULT_PUSH_TARGET := ubuntu20.04
42-
DISTRIBUTIONS = $(DEFAULT_PUSH_TARGET) ubi8
42+
DISTRIBUTIONS = $(DEFAULT_PUSH_TARGET) ubi9
4343

4444
IMAGE_TARGETS := $(patsubst %,image-%,$(DISTRIBUTIONS))
4545
BUILD_TARGETS := $(patsubst %,build-%,$(DISTRIBUTIONS))
@@ -88,7 +88,7 @@ $(IMAGE_TARGETS): image-%:
8888

8989
build-ubuntu%: DOCKERFILE_SUFFIX := ubuntu
9090

91-
build-ubi8: DOCKERFILE_SUFFIX := ubi8
91+
build-ubi9: DOCKERFILE_SUFFIX := ubi9
9292

9393
# Handle the default build target.
9494
.PHONY: build

0 commit comments

Comments
 (0)