Skip to content

Commit

Permalink
Merge pull request openshift#27749 from eggfoobar/rt-tests-x86-only
Browse files Browse the repository at this point in the history
OCPVE-278: fix: multi build error, only add rt-tests for x86
  • Loading branch information
openshift-merge-robot authored Feb 23, 2023
2 parents d571191 + b34b080 commit e225068
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion images/tests/Dockerfile.rhel
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,9 @@ RUN make; \

FROM registry.ci.openshift.org/ocp/4.13:tools
COPY --from=builder /tmp/build/openshift-tests /usr/bin/
RUN PACKAGES="git gzip util-linux rt-tests" && \
RUN PACKAGES="git gzip util-linux" && \
if [ $HOSTTYPE = x86_64 ] || [ $HOSTTYPE = ppc64le ]; then PACKAGES="$PACKAGES python3-cinderclient"; fi && \
if [ $HOSTTYPE = x86_64 ]; then PACKAGES="$PACKAGES rt-tests"; fi && \
yum install --setopt=tsflags=nodocs -y $PACKAGES && \
yum update -y python3-six && \
yum clean all && rm -rf /var/cache/yum/* && \
Expand Down

0 comments on commit e225068

Please sign in to comment.