File tree Expand file tree Collapse file tree 7 files changed +5
-118
lines changed Expand file tree Collapse file tree 7 files changed +5
-118
lines changed Original file line number Diff line number Diff line change @@ -78,13 +78,6 @@ trigger-pipeline:
78
78
.dist-ubi9 :
79
79
variables :
80
80
DIST : " ubi9"
81
- rules :
82
- - when : manual
83
- allow_failure : false
84
-
85
- .dist-ubuntu20.04 :
86
- variables :
87
- DIST : " ubuntu20.04"
88
81
89
82
# Define the platform targets
90
83
.platform-amd64 :
@@ -133,23 +126,6 @@ trigger-pipeline:
133
126
- .scan-base
134
127
135
128
# 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
-
153
129
scan-ubi9-amd64 :
154
130
extends :
155
131
- .scan
@@ -243,10 +219,3 @@ release:staging-ubi9:
243
219
- .dist-ubi9
244
220
needs :
245
221
- 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 25
25
jobs :
26
26
build :
27
27
runs-on : linux-amd64-cpu4
28
- strategy :
29
- matrix :
30
- dist : [ubuntu20.04, ubi9]
31
28
steps :
32
29
- uses : actions/checkout@v4
33
30
name : Check out code
66
63
VERSION : ${COMMIT_SHORT_SHA}
67
64
run : |
68
65
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:
76
76
extends :
77
77
- .image-build
78
78
- .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:
70
70
- .image-pull
71
71
- .dist-ubi9
72
72
73
- image-ubuntu20.04 :
74
- extends :
75
- - .image-pull
76
- - .dist-ubuntu20.04
77
-
78
73
# We skip the integration tests for the internal CI:
79
74
.integration :
80
75
stage : test
@@ -118,11 +113,6 @@ image-ubuntu20.04:
118
113
119
114
# Define the external release targets
120
115
# Release to NGC
121
- release:ngc-ubuntu20.04 :
122
- extends :
123
- - .release:ngc
124
- - .dist-ubuntu20.04
125
-
126
116
release:ngc-ubi9 :
127
117
extends :
128
118
- .release:ngc
Original file line number Diff line number Diff line change 13
13
# limitations under the License.
14
14
15
15
ARG GOLANG_VERSION=1.23.1
16
+ # We use an ubuntu20.04 base image to allow for a more efficient multi-arch build.
16
17
FROM --platform=${BUILDOS}/amd64 nvcr.io/nvidia/cuda:12.3.2-base-ubuntu20.04 AS build
17
18
18
19
RUN apt-get update && \
@@ -42,7 +43,7 @@ RUN if [ "$TARGETARCH" = "amd64" ]; then \
42
43
fi && \
43
44
make CC=${cc} GOARCH=${TARGETARCH} PREFIX=/artifacts cmds
44
45
45
- FROM nvcr.io/nvidia/cuda:12.3.2-base-ubuntu20.04
46
+ FROM nvcr.io/nvidia/cuda:12.3.2-base-ubi9
46
47
47
48
ENV NVIDIA_DISABLE_REQUIRE="true"
48
49
ENV 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)
38
38
OUT_IMAGE = $(OUT_IMAGE_NAME ) :$(OUT_IMAGE_TAG )
39
39
40
40
# #### Public rules #####
41
- DEFAULT_PUSH_TARGET := ubuntu20.04
42
- DISTRIBUTIONS = $(DEFAULT_PUSH_TARGET ) ubi9
41
+ DEFAULT_PUSH_TARGET := ubi9
42
+ DISTRIBUTIONS = $(DEFAULT_PUSH_TARGET )
43
43
44
44
IMAGE_TARGETS := $(patsubst % ,image-% ,$(DISTRIBUTIONS ) )
45
45
BUILD_TARGETS := $(patsubst % ,build-% ,$(DISTRIBUTIONS ) )
@@ -86,10 +86,6 @@ $(IMAGE_TARGETS): image-%:
86
86
-f $(DOCKERFILE ) \
87
87
$(CURDIR )
88
88
89
- build-ubuntu% : DOCKERFILE_SUFFIX := ubuntu
90
-
91
- build-ubi9 : DOCKERFILE_SUFFIX := ubi9
92
-
93
89
# Handle the default build target.
94
90
.PHONY : build
95
91
build : $(DEFAULT_PUSH_TARGET )
You can’t perform that action at this time.
0 commit comments