mirror of
https://github.com/ostreedev/ostree.git
synced 2024-12-22 17:35:55 +03:00
Merge pull request #3067 from cgwalters/ci-composefs
This commit is contained in:
commit
6cce2e2381
@ -20,6 +20,9 @@ if test "${OS_ID}" = 'fedora'; then
|
|||||||
*) CONFIGOPTS="${CONFIGOPTS:-} --with-curl"
|
*) CONFIGOPTS="${CONFIGOPTS:-} --with-curl"
|
||||||
esac
|
esac
|
||||||
fi
|
fi
|
||||||
|
if [[ "${OS_ID_LIKE}" =~ rhel|fedora ]]; then
|
||||||
|
CONFIGOPTS="${CONFIGOPTS:-} --with-composefs --with-openssl"
|
||||||
|
fi
|
||||||
case "${CONFIGOPTS:-}" in
|
case "${CONFIGOPTS:-}" in
|
||||||
*--with-curl*|--with-soup*)
|
*--with-curl*|--with-soup*)
|
||||||
if test -x /usr/bin/gnome-desktop-testing-runner; then
|
if test -x /usr/bin/gnome-desktop-testing-runner; then
|
||||||
|
@ -3,6 +3,7 @@
|
|||||||
dn=$(cd $(dirname $0) && pwd)
|
dn=$(cd $(dirname $0) && pwd)
|
||||||
|
|
||||||
OS_ID=$(. /etc/os-release; echo $ID)
|
OS_ID=$(. /etc/os-release; echo $ID)
|
||||||
|
OS_ID_LIKE=$(. /etc/os-release; echo $ID ${ID_LIKE:-})
|
||||||
OS_VERSION_ID=$(. /etc/os-release; echo $VERSION_ID)
|
OS_VERSION_ID=$(. /etc/os-release; echo $VERSION_ID)
|
||||||
|
|
||||||
pkg_upgrade() {
|
pkg_upgrade() {
|
||||||
|
@ -12,4 +12,4 @@ rsync -rlv /cosa/component-install/ overrides/rootfs/
|
|||||||
cosa fetch
|
cosa fetch
|
||||||
cosa build
|
cosa build
|
||||||
# For now, Prow just runs the composefs tests, since Jenkins covers the others
|
# For now, Prow just runs the composefs tests, since Jenkins covers the others
|
||||||
cosa kola run 'ext.ostree.destructive-rs.composefs*'
|
#cosa kola run 'ext.ostree.destructive-rs.composefs*'
|
||||||
|
@ -131,6 +131,7 @@ fn verify_composefs_signed(sh: &xshell::Shell, metadata: &glib::VariantDict) ->
|
|||||||
Ok(())
|
Ok(())
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#[allow(dead_code)]
|
||||||
pub(crate) fn itest_composefs() -> Result<()> {
|
pub(crate) fn itest_composefs() -> Result<()> {
|
||||||
let sh = &xshell::Shell::new()?;
|
let sh = &xshell::Shell::new()?;
|
||||||
if !cmd!(sh, "ostree --version").read()?.contains("- composefs") {
|
if !cmd!(sh, "ostree --version").read()?.contains("- composefs") {
|
||||||
|
@ -33,7 +33,7 @@ const TESTS: &[StaticTest] = &[
|
|||||||
];
|
];
|
||||||
const DESTRUCTIVE_TESTS: &[StaticTest] = &[
|
const DESTRUCTIVE_TESTS: &[StaticTest] = &[
|
||||||
test!(destructive::itest_transactionality),
|
test!(destructive::itest_transactionality),
|
||||||
test!(composefs::itest_composefs),
|
// test!(composefs::itest_composefs),
|
||||||
];
|
];
|
||||||
|
|
||||||
#[derive(Debug, StructOpt)]
|
#[derive(Debug, StructOpt)]
|
||||||
|
Loading…
Reference in New Issue
Block a user