Commit Graph

8 Commits

Author SHA1 Message Date
Jonathan Lebon
90722b718c tests: just directly rsync files
Using the synchronize module made rsync try to fetch the files from the
VM, even though we were part of the delegated block. Might be a subtle
bug in ansible. But really, there's no point in using the module here.
Both src and dest are local, so we can just call rsync ourselves.
2017-08-24 15:36:49 -04:00
Jonathan Lebon
0c6f1a3de0 tests: no longer deploy vmcheck
We don't have to do this anymore in v2017.8.
See https://github.com/projectatomic/rpm-ostree/pull/917.
2017-08-24 15:36:26 -04:00
Jonathan Lebon
cae2408d4f tests: minor syntax cleanups for legibility
Split ssh_config and long commands over multiple lines. Other minor
cleanups and syntax consistency fixes.
2017-08-24 15:33:38 -04:00
Stef Walter
1459e66ac5 tests: Don't use custom qemu provisioning
We can just use the standard inventory scripts for the rpm-ostree
tests, and write out an ssh-config that matches what our tests
expect.
2017-08-23 09:30:51 +02:00
Stef Walter
cabb5ce26c tests: Avoid using koji to download srpm
Just download the actual source tarball from the spec file
using the fedpkg command and use dit directly.
2017-08-23 08:40:29 +02:00
Stef Walter
b78097c2c8 tests: Setup defaults for subjects and artifacts
While hacking on tests, folks are going to be relying on the
default behavior of standard-test-roles which fills in these
Ansible variables from environment variables.

This is not necessary for execution in the pipeline, but just
for ease of use for folks looking at this first test in dist-git.
2017-08-22 21:20:00 +02:00
Stef Walter
6463ba777d tests: Install build dependencies before using rpm-build
Before running rpm-build we need to bring in the build
dependencies that the SRPM requires.
2017-08-21 17:05:42 +02:00
Jonathan Lebon
d11be14ae1 tests: run parts of the vmcheck testsuite
Run the basic and layering-basic vmcheck tests on qcow2 Atomic Host
images. It's full of hacks for now; I'd like to confirm first that there
aren't any oversights that would prevent the pipeline from running it.

Once we get it going, we can work on cleaning up and upstreaming the
hacks to standard-test-roles, and run all the vmcheck tests.
2017-08-15 14:44:18 -04:00