From bb0212575b366b6ab670424d070a835d1a5e201e Mon Sep 17 00:00:00 2001 From: Colin Walters Date: Wed, 9 Jun 2021 17:07:35 -0400 Subject: [PATCH] ci/prow: Also run old vmcheck tests Ideally we port these to kola. But since CCI is down let's try running all of the tests in Prow. --- ci/prow/Dockerfile | 1 + ci/prow/fcos-e2e.sh | 8 ++++++++ 2 files changed, 9 insertions(+) diff --git a/ci/prow/Dockerfile b/ci/prow/Dockerfile index 40317501f9..75db7873c7 100644 --- a/ci/prow/Dockerfile +++ b/ci/prow/Dockerfile @@ -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 /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 diff --git a/ci/prow/fcos-e2e.sh b/ci/prow/fcos-e2e.sh index 6365ad84e8..bfd8d6b4b2 100755 --- a/ci/prow/fcos-e2e.sh +++ b/ci/prow/fcos-e2e.sh @@ -12,4 +12,12 @@ 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 ./tests/vmcheck.sh +cd ${COSA_DIR} + +# kola tests, just ours for now cosa kola run 'ext.rpm-ostree.*'