ostree/tests/installed
Jonathan Lebon ac1a919ffd boot: Add ostree-finalize-staged.path
Rather than manually starting the `ostree-finalize-staged.service` unit,
we can leverage systemd's path units for this. It fits quite nicely too,
given that we already have a path we drop iif we have a staged
deployment.

To give some time for the preset to make it to systems, we don't yet
drop the explicit call to `systemctl start`. Though we do make it
conditional based on a DEBUG env var so that we can actually test it in
CI for now. Once we're sure this has propagated, we can drop the
`systemctl start` path and the env var together.

Closes: #1740
Approved by: cgwalters
2018-10-23 13:10:49 +00:00
..
destructive boot: Add ostree-finalize-staged.path 2018-10-23 13:10:49 +00:00
nondestructive lib/commit: Don't copy xattrs for metadata objects 2018-09-25 14:49:22 +00:00
tasks tests/installed: Add var-mount.yml destructive test 2018-07-04 16:06:38 +00:00
README.md tests: Merge installed/ and fedora-str/ directories 2018-04-05 20:59:23 +00:00
destructive-ansible.yml tests/installed: Add var-mount.yml destructive test 2018-07-04 16:06:38 +00:00
destructive-unit.yml tests: Fix installed tests more 2018-05-04 19:25:32 +00:00
execute_batch.yml tests: Lower retry timeout to 5s 2018-04-23 17:23:40 +00:00
libinsttest.sh tests/installed: Wait a bit more for http.server 2018-06-27 13:29:55 +00:00
libtest-core.sh tests/installed: New installed, privileged tests using Fedora AH 2017-04-25 15:15:06 +00:00
nondestructive.yml tests/installed: Move tasks into tasks/ directory 2018-04-11 19:11:07 +00:00
playbook-run.sh tests/installed: Add NOTE when re-using RPMs 2018-07-04 16:06:38 +00:00
provision.sh ci: Drop str hotpatch 2018-05-08 12:57:35 +00:00
run.sh tests: Fix installed tests more 2018-05-04 19:25:32 +00:00

README.md

This directory holds tests that use the Fedora Standard Test Interface.

The high level structure is that we take a qcow2 file, inject built RPMs into it, and then use Ansible to run tests.

See .papr.yml for canonical usage.

For local development, you should cache the qcow2 somewhere stable (outside of this git repo). Also note that ../ci/build-rpms.sh does not pick up uncommitted changes! Stated more strongly, you currently need to run build-rpms.sh after every change.

To run just a specific test, use e.g.: env TEST_SUBJECTS=/path/to/qcow2 ./playbook-run.sh -e tests=.*pull nondestructive.yml