Skip to content

Commit

Permalink
ci/prow: Build tests before trying to install
Browse files Browse the repository at this point in the history
Our `install` target doesn't depend on `all` unlike the
rpm-ostree version; not doing so is arguably better, so let's
explicitly build before installing.
  • Loading branch information
cgwalters committed Jun 27, 2023
1 parent 132bb6a commit 5e2b5ac
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ci/prow/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ FROM registry.ci.openshift.org/coreos/fcos-buildroot:testing-devel as builder
WORKDIR /src
COPY . .
RUN env CONFIGOPTS=--with-composefs ./ci/build.sh && make install DESTDIR=/cosa/component-install
RUN make -C tests/kolainst
RUN make -C tests/kolainst install DESTDIR=/cosa/component-tests
# Uncomment this to fake a build to test the code below
#RUN mkdir -p /cosa/component-install/usr/bin && echo foo > /cosa/component-install/usr/bin/foo
Expand Down

0 comments on commit 5e2b5ac

Please sign in to comment.