Skip to content

Commit 562ff2b

Browse files
Merge pull request #3821 from abraham2512/fix-main-ci
infra: update ci to fedora42 image
2 parents a911228 + 798f337 commit 562ff2b

File tree

2 files changed

+2
-19
lines changed

2 files changed

+2
-19
lines changed

cnf-tests/Dockerfile.openshift

Lines changed: 1 addition & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -78,20 +78,6 @@ WORKDIR /app
7878
COPY . .
7979
RUN make test-bin
8080

81-
# Build latency-test binaries
82-
FROM registry.ci.openshift.org/ocp/builder:rhel-9-golang-1.25-openshift-4.22 as builder-latency-test-tools
83-
84-
ENV RT_TESTS_URL=https://git.kernel.org/pub/scm/utils/rt-tests/rt-tests.git/snapshot
85-
ENV RT_TESTS_PKG=rt-tests-2.0
86-
87-
RUN yum install -y numactl-devel make gcc && \
88-
curl -O $RT_TESTS_URL/$RT_TESTS_PKG.tar.gz && \
89-
tar -xvf $RT_TESTS_PKG.tar.gz && \
90-
cd $RT_TESTS_PKG && \
91-
make oslat hwlatdetect cyclictest && \
92-
cp oslat /oslat && \
93-
cp hwlatdetect /hwlatdetect && \
94-
cp cyclictest /cyclictest
9581

9682
FROM registry.ci.openshift.org/ocp/4.22:oc-rpms AS oc
9783

@@ -104,7 +90,7 @@ ENV CNF_TESTS_IMAGE=cnf-tests:${OCP_VERSION}
10490
ENV DPDK_TESTS_IMAGE=dpdk:${OCP_VERSION}
10591

10692
# python3 is needed for hwlatdetect
107-
RUN yum install -y lksctp-tools iproute tmux ethtool iputils numactl-libs iptables kmod linuxptp iperf3 python3 nc nftables findutils && \
93+
RUN yum install -y lksctp-tools iproute tmux ethtool iputils numactl-libs iptables kmod linuxptp iperf3 python3 nc nftables findutils realtime-tests && \
10894
yum clean all
10995

11096
RUN mkdir -p /usr/local/etc/cnf
@@ -113,13 +99,10 @@ COPY --from=builder-stresser /stresser /usr/bin/stresser
11399
COPY --from=builder-sctptester /sctptest /usr/bin/sctptest
114100

115101
COPY --from=builder-latency-test-runners /oslat-runner /usr/bin/oslat-runner
116-
COPY --from=builder-latency-test-tools /oslat /usr/bin/oslat
117102

118103
COPY --from=builder-latency-test-runners /cyclictest-runner /usr/bin/cyclictest-runner
119-
COPY --from=builder-latency-test-tools /cyclictest /usr/bin/cyclictest
120104

121105
COPY --from=builder-latency-test-runners /hwlatdetect-runner /usr/bin/hwlatdetect-runner
122-
COPY --from=builder-latency-test-tools /hwlatdetect /usr/bin/hwlatdetect
123106

124107
COPY --from=oc /go/src/github.com/openshift/oc/oc /usr/bin/oc
125108

openshift-ci/Dockerfile.tools

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# The fedora version used should provide the golang version that matches $GOVERSION
2-
FROM quay.io/fedora/fedora:41
2+
FROM quay.io/fedora/fedora:42
33

44
ENV GOPATH /go
55
ENV GOBIN /go/bin

0 commit comments

Comments
 (0)