Skip to content

Commit

Permalink
Temporary fix to take the rpms in the correct folder from both prow a…
Browse files Browse the repository at this point in the history
…nd the okd-payload-pipeline

Refers okd-project/okd-payload-pipeline#15
  • Loading branch information
aleskandro committed Oct 18, 2022
1 parent 5720133 commit 2512468
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ ARG FEDORA_COREOS_VERSION=412.37.0

WORKDIR /go/src/github.com/openshift/okd-machine-os
COPY . .
COPY --from=artifacts /srv/repo/*.rpm /tmp/rpms/
COPY --from=artifacts /srv/repo/ /tmp/rpms/
ADD overrides.yaml /etc/rpm-ostree/origin.d/overrides.yaml
RUN cat /etc/os-release \
&& rpm-ostree --version \
Expand All @@ -21,8 +21,8 @@ RUN cat /etc/os-release \
qemu-guest-agent \
cri-o \
cri-tools \
/tmp/rpms/openshift-clients-[0-9]*.rpm \
/tmp/rpms/openshift-hyperkube-*.rpm \
/tmp/rpms/$([ -d /tmp/rpms/$(uname -m) ] && echo $(uname -m)/)openshift-clients-[0-9]*.rpm \
/tmp/rpms/$([ -d /tmp/rpms/$(uname -m) ] && echo $(uname -m)/)openshift-hyperkube-*.rpm \
&& rpm-ostree cliwrap install-to-root / \
&& rpm-ostree override replace https://koji.fedoraproject.org/koji/buildinfo?buildID=1969515 \
&& rpm-ostree ex rebuild \
Expand Down

0 comments on commit 2512468

Please sign in to comment.