File tree Expand file tree Collapse file tree 7 files changed +6
-119
lines changed Expand file tree Collapse file tree 7 files changed +6
-119
lines changed Original file line number Diff line number Diff line change @@ -78,13 +78,6 @@ trigger-pipeline:
7878.dist-ubi9 :
7979 variables :
8080 DIST : " ubi9"
81- rules :
82- - when : manual
83- allow_failure : false
84-
85- .dist-ubuntu20.04 :
86- variables :
87- DIST : " ubuntu20.04"
8881
8982# Define the platform targets
9083.platform-amd64 :
@@ -133,23 +126,6 @@ trigger-pipeline:
133126 - .scan-base
134127
135128# Define the scan targets
136- scan-ubuntu20.04-amd64 :
137- extends :
138- - .scan
139- - .dist-ubuntu20.04
140- - .platform-amd64
141- needs :
142- - image-ubuntu20.04
143-
144- scan-ubuntu20.04-arm64 :
145- extends :
146- - .scan
147- - .dist-ubuntu20.04
148- - .platform-arm64
149- needs :
150- - image-ubuntu20.04
151- - scan-ubuntu20.04-amd64
152-
153129scan-ubi9-amd64 :
154130 extends :
155131 - .scan
@@ -243,10 +219,3 @@ release:staging-ubi9:
243219 - .dist-ubi9
244220 needs :
245221 - image-ubi9
246-
247- release:staging-ubuntu20.04 :
248- extends :
249- - .release:staging
250- - .dist-ubuntu20.04
251- needs :
252- - image-ubuntu20.04
Original file line number Diff line number Diff line change 2525jobs :
2626 build :
2727 runs-on : linux-amd64-cpu4
28- strategy :
29- matrix :
30- dist : [ubuntu20.04, ubi9]
3128 steps :
3229 - uses : actions/checkout@v4
3330 name : Check out code
6663 VERSION : ${COMMIT_SHORT_SHA}
6764 run : |
6865 echo "${VERSION}"
69- make -f deployments/container/Makefile build-${{ matrix.dist }}
66+ make -f deployments/container/Makefile build
Original file line number Diff line number Diff line change @@ -76,8 +76,3 @@ image-ubi9:
7676 extends :
7777 - .image-build
7878 - .dist-ubi9
79-
80- image-ubuntu20.04 :
81- extends :
82- - .image-build
83- - .dist-ubuntu20.04
Original file line number Diff line number Diff line change @@ -70,11 +70,6 @@ image-ubi9:
7070 - .image-pull
7171 - .dist-ubi9
7272
73- image-ubuntu20.04 :
74- extends :
75- - .image-pull
76- - .dist-ubuntu20.04
77-
7873# We skip the integration tests for the internal CI:
7974.integration :
8075 stage : test
@@ -118,11 +113,6 @@ image-ubuntu20.04:
118113
119114# Define the external release targets
120115# Release to NGC
121- release:ngc-ubuntu20.04 :
122- extends :
123- - .release:ngc
124- - .dist-ubuntu20.04
125-
126116release:ngc-ubi9 :
127117 extends :
128118 - .release:ngc
Original file line number Diff line number Diff line change 1313# limitations under the License.
1414
1515ARG GOLANG_VERSION=1.23.1
16+ # We use an ubuntu20.04 base image to allow for a more efficient multi-arch build.
1617FROM --platform=${BUILDOS}/amd64 nvcr.io/nvidia/cuda:12.3.2-base-ubuntu20.04 AS build
1718
1819RUN apt-get update && \
@@ -42,7 +43,7 @@ RUN if [ "$TARGETARCH" = "amd64" ]; then \
4243 fi && \
4344 make CC=${cc} GOARCH=${TARGETARCH} PREFIX=/artifacts cmds
4445
45- FROM nvcr.io/nvidia/cuda:12.3.2-base-ubuntu20.04
46+ FROM nvcr.io/nvidia/cuda:12.3.2-base-ubi9
4647
4748ENV NVIDIA_DISABLE_REQUIRE="true"
4849ENV NVIDIA_VISIBLE_DEVICES=all
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -38,8 +38,8 @@ OUT_IMAGE_TAG = $(OUT_IMAGE_VERSION)-$(DIST)
3838OUT_IMAGE = $(OUT_IMAGE_NAME ) :$(OUT_IMAGE_TAG )
3939
4040# #### Public rules #####
41- DEFAULT_PUSH_TARGET := ubuntu20.04
42- DISTRIBUTIONS = $(DEFAULT_PUSH_TARGET ) ubi9
41+ DEFAULT_PUSH_TARGET := ubi9
42+ DISTRIBUTIONS = $(DEFAULT_PUSH_TARGET )
4343
4444IMAGE_TARGETS := $(patsubst % ,image-% ,$(DISTRIBUTIONS ) )
4545BUILD_TARGETS := $(patsubst % ,build-% ,$(DISTRIBUTIONS ) )
@@ -69,7 +69,7 @@ push-%: DIST = $(*)
6969push-short : DIST = $(DEFAULT_PUSH_TARGET )
7070
7171build-% : DIST = $(* )
72- build-% : DOCKERFILE = $(CURDIR ) /deployments/container/Dockerfile. $( DOCKERFILE_SUFFIX )
72+ build-% : DOCKERFILE = $(CURDIR ) /deployments/container/Dockerfile
7373
7474# Use a generic build target to build the relevant images
7575$(IMAGE_TARGETS ) : image-% :
@@ -86,10 +86,6 @@ $(IMAGE_TARGETS): image-%:
8686 -f $(DOCKERFILE ) \
8787 $(CURDIR )
8888
89- build-ubuntu% : DOCKERFILE_SUFFIX := ubuntu
90-
91- build-ubi9 : DOCKERFILE_SUFFIX := ubi9
92-
9389# Handle the default build target.
9490.PHONY : build
9591build : $(DEFAULT_PUSH_TARGET )
You can’t perform that action at this time.
0 commit comments