diff options
author | Colin Walters <walters@verbum.org> | 2018-02-22 14:16:33 -0500 |
---|---|---|
committer | Atomic Bot <atomic-devel@projectatomic.io> | 2018-03-08 20:51:42 +0000 |
commit | 6e9d00dbeb94d6e2248289d6d5bbb5d41de84f01 (patch) | |
tree | 8b4116068ecf19a6076b703b5f915a3b882232ad /ci/rpmostree.sh | |
parent | 3b7044f45ef5f62a855454293447061016a53bd3 (diff) | |
download | ostree-6e9d00dbeb94d6e2248289d6d5bbb5d41de84f01.tar.gz |
ci: Rework installed tests to use Fedora Standard Test interface
Reusing the way `standard-test-roles` has support for booting
a qcow2 actually gets us to the "VM-in-container" flow. Plus
Ansible over shell script is sometimes nicer.
https://fedoraproject.org/wiki/CI/Tests#Testing_an_Atomic_Host
It's better than what we were doing before for installed tests,
and moreover using Ansible more broadly for testing is going
to align us better with Fedora's CI.
As part of this I split off a "libpaprci" which I intend to maintain
as a "copylib" for a little bit between ostree/rpm-ostree, and then
we'll figure out how to expand from there (maybe some of the patterns
get "baked in" to PAPR for example).
Note the `FAH27-insttests` context moves to the top since it's now
of primary importance, and I expect that we start expanding it.
Closes: #1462
Approved by: jlebon
Diffstat (limited to 'ci/rpmostree.sh')
-rwxr-xr-x | ci/rpmostree.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ci/rpmostree.sh b/ci/rpmostree.sh index d40dd6a2..e8189c40 100755 --- a/ci/rpmostree.sh +++ b/ci/rpmostree.sh @@ -9,13 +9,13 @@ set -xeuo pipefail RPMOSTREE_TAG=v2017.11 dn=$(dirname $0) -. ${dn}/libbuild.sh +. ${dn}/libpaprci/libbuild.sh codedir=$(pwd) pkg_upgrade -pkg_install_builddeps ostree -pkg_install_builddeps rpm-ostree +pkg_install_buildroot +pkg_builddep ostree rpm-ostree pkg_install rpm-ostree && rpm -e rpm-ostree # Duplicate of deps from build.sh in rpm-ostree for tests |