Skip to content

Commit

Permalink
ci/prow: Also run old vmcheck tests
Browse files Browse the repository at this point in the history
Ideally we port these to kola.  But since CCI is down let's try
running all of the tests in Prow.
  • Loading branch information
cgwalters committed Jun 9, 2021
1 parent ff58a4b commit d3cd071
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
1 change: 1 addition & 0 deletions ci/prow/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ WORKDIR /src
COPY . .
RUN ./ci/build.sh && make install DESTDIR=/cosa/component-install
RUN make -C tests/kolainst install DESTDIR=/cosa/component-tests
RUN cp -a tests/vmcheck /cosa/component-source-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
7 changes: 7 additions & 0 deletions ci/prow/fcos-e2e.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,11 @@ cosa init https://github.com/coreos/fedora-coreos-config/
rsync -rlv /cosa/component-install/ overrides/rootfs/
cosa fetch
cosa build

# vmcheck tests
export COSA_DIR=$(pwd)
cd /cosa/component-source-tests
env JOBS=2 ./vmcheck.sh

# kola tests, just ours for now
cosa kola run 'ext.rpm-ostree.*'

0 comments on commit d3cd071

Please sign in to comment.