mirror of
https://github.com/ostreedev/ostree.git
synced 2025-01-09 01:18:35 +03:00
ci/prow: Build tests before trying to install
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.
This commit is contained in:
parent
132bb6a82e
commit
5e2b5aca40
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user