ostree/tests/installed
Umang Jain 31809d32f2 lib/repo: Add min-free-space-size option
Similar to min-free-space-percent but it supports specific sizes
(in MB, GB or TB). Also, making min-free-space-percent and -size
mutually exclusive.

min-free-space-percent does not give a fine tuning of the free disk
space that a user might decide to keep. It can translate to very large
size (e.g. 1% = ~10GB on 1TB HDD) or very small (e.g. 1% = ~330MB on 32GB
system like Endless devices). Hence, it makes sense to introduce a config
option to honor specific size as per the user.

Closes: #1616
Approved by: jlebon
2018-06-13 18:57:37 +00:00
..
destructive lib/sysroot: Add OSTREE_EX_STAGE_DEPLOYMENTS environment variable 2018-05-11 12:39:17 +00:00
nondestructive lib/repo: Add min-free-space-size option 2018-06-13 18:57:37 +00:00
tasks lib/sysroot: Add OSTREE_EX_STAGE_DEPLOYMENTS environment variable 2018-05-11 12:39:17 +00:00
README.md tests: Merge installed/ and fedora-str/ directories 2018-04-05 20:59:23 +00:00
destructive-ansible.yml lib/sysroot: Add OSTREE_EX_STAGE_DEPLOYMENTS environment variable 2018-05-11 12:39:17 +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: Prefer python3 over python2 2018-04-23 18:33:45 +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: Make reboot task less racy 2018-04-23 17:23:40 +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