summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Lebon <jonathan@jlebon.com>2018-05-28 15:21:19 -0400
committerAtomic Bot <atomic-devel@projectatomic.io>2018-05-29 19:24:08 +0000
commit0f124e2584cc6bb86d870adea56654a30cfb1f13 (patch)
tree10f88448c42f2a001cd1f8fac0faf34a7f8866a8
parentf6e4543a246ede94032416795cfe473b4b8f9557 (diff)
downloadostree-0f124e2584cc6bb86d870adea56654a30cfb1f13.tar.gz
ci: Bump to f28, except flatpak
We successfully switched to F28 in rpm-ostree. Time to follow suit here. We exclude flatpak for now since we're still hitting test issues there on F28. Closes: #1601 Approved by: cgwalters
-rw-r--r--.papr-ex.yaml26
-rw-r--r--.papr.yml34
-rwxr-xr-xci/build-check.sh4
-rwxr-xr-xci/fah28-insttests.sh (renamed from ci/fah27-insttests.sh)0
-rwxr-xr-xci/rpmostree.sh5
5 files changed, 37 insertions, 32 deletions
diff --git a/.papr-ex.yaml b/.papr-ex.yaml
index 900aae7b..e4370fcf 100644
--- a/.papr-ex.yaml
+++ b/.papr-ex.yaml
@@ -4,15 +4,15 @@ branches:
- auto
- try
-context: FAH27-insttests
+context: FAH28-insttests
required: true
container:
- image: registry.fedoraproject.org/fedora:27
+ image: registry.fedoraproject.org/fedora:28
kvm: true
tests:
- - ci/fah27-insttests.sh
+ - ci/fah28-insttests.sh
artifacts:
- tests/installed/artifacts/
@@ -27,8 +27,8 @@ branches:
- try
required: true
container:
- image: registry.fedoraproject.org/fedora:27
-context: f27-primary
+ image: registry.fedoraproject.org/fedora:28
+context: f28-primary
env:
# We only use -Werror=maybe-uninitialized here with a "fixed" toolchain
CFLAGS: '-fsanitize=undefined -fsanitize-undefined-trap-on-error -fsanitize=address -O2 -Wp,-D_FORTIFY_SOURCE=2'
@@ -51,10 +51,10 @@ artifacts:
---
# And now the contexts below here are variant container builds
-context: f27-rust
+context: f28-rust
inherit: true
container:
- image: registry.fedoraproject.org/fedora:27
+ image: registry.fedoraproject.org/fedora:28
env:
CONFIGOPTS: '--enable-rust'
CI_PKGS: cargo
@@ -65,10 +65,10 @@ tests:
---
-context: f27-gnutls
+context: f28-gnutls
inherit: true
container:
- image: registry.fedoraproject.org/fedora:27
+ image: registry.fedoraproject.org/fedora:28
env:
CONFIGOPTS: '--with-crypto=gnutls'
CI_PKGS: pkgconfig(gnutls)
@@ -81,7 +81,7 @@ tests:
inherit: true
-context: f27-experimental-api
+context: f28-experimental-api
env:
CONFIGOPTS: '--enable-experimental-api'
@@ -92,7 +92,7 @@ tests:
inherit: true
-context: f27-minimal
+context: f28-minimal
env:
CONFIGOPTS: '--without-curl --without-soup --disable-gtk-doc --disable-man
--disable-rust --without-libarchive --without-selinux --without-smack
@@ -107,7 +107,7 @@ tests:
inherit: true
required: true
-context: f27-libsoup
+context: f28-libsoup
env:
CONFIGOPTS: "--without-curl --without-openssl --with-libsoup"
@@ -120,7 +120,7 @@ tests:
inherit: true
required: true
-context: f27-introspection-tests
+context: f28-introspection-tests
env:
# ASAN conflicts with introspection testing;
diff --git a/.papr.yml b/.papr.yml
index 2d3dfe5e..7e6d6ce8 100644
--- a/.papr.yml
+++ b/.papr.yml
@@ -4,20 +4,20 @@ branches:
- auto
- try
-context: FAH27-insttests
+context: FAH28-insttests
required: true
# FIXME; temporary workaround
# https://github.com/ostreedev/ostree/pull/1513#issuecomment-378784162
host:
- distro: fedora/27/atomic
+ distro: fedora/28/atomic
specs:
ram: 4096
#container:
-# image: registry.fedoraproject.org/fedora:27
+# image: registry.fedoraproject.org/fedora:28
tests:
- - docker run --device /dev/kvm --rm -v $(pwd):/srv/code:z registry.fedoraproject.org/fedora:27 /bin/sh -c "cd /srv/code && ./ci/fah27-insttests.sh"
+ - docker run --device /dev/kvm --rm -v $(pwd):/srv/code:z registry.fedoraproject.org/fedora:28 /bin/sh -c "cd /srv/code && ./ci/fah28-insttests.sh"
artifacts:
- tests/installed/artifacts/
@@ -32,8 +32,8 @@ branches:
- try
required: true
container:
- image: registry.fedoraproject.org/fedora:27
-context: f27-primary
+ image: registry.fedoraproject.org/fedora:28
+context: f28-primary
env:
# We only use -Werror=maybe-uninitialized here with a "fixed" toolchain
CFLAGS: '-fsanitize=undefined -fsanitize-undefined-trap-on-error -fsanitize=address -O2 -Wp,-D_FORTIFY_SOURCE=2'
@@ -56,10 +56,10 @@ artifacts:
---
# And now the contexts below here are variant container builds
-context: f27-rust
+context: f28-rust
inherit: true
container:
- image: registry.fedoraproject.org/fedora:27
+ image: registry.fedoraproject.org/fedora:28
env:
CONFIGOPTS: '--enable-rust'
CI_PKGS: cargo
@@ -70,10 +70,10 @@ tests:
---
-context: f27-gnutls
+context: f28-gnutls
inherit: true
container:
- image: registry.fedoraproject.org/fedora:27
+ image: registry.fedoraproject.org/fedora:28
env:
CONFIGOPTS: '--with-crypto=gnutls'
CI_PKGS: pkgconfig(gnutls)
@@ -86,7 +86,7 @@ tests:
inherit: true
-context: f27-experimental-api
+context: f28-experimental-api
env:
CONFIGOPTS: '--enable-experimental-api'
@@ -97,7 +97,7 @@ tests:
inherit: true
-context: f27-minimal
+context: f28-minimal
env:
CONFIGOPTS: '--without-curl --without-soup --disable-gtk-doc --disable-man
--disable-rust --without-libarchive --without-selinux --without-smack
@@ -112,7 +112,7 @@ tests:
inherit: true
required: true
-context: f27-libsoup
+context: f28-libsoup
env:
CONFIGOPTS: "--without-curl --without-openssl --with-libsoup"
@@ -125,7 +125,7 @@ tests:
inherit: true
required: true
-context: f27-introspection-tests
+context: f28-introspection-tests
env:
# ASAN conflicts with introspection testing;
@@ -172,15 +172,15 @@ branches:
- auto
- try
-context: f27-rpmostree
+context: f28-rpmostree
required: true
cluster:
hosts:
- name: vmcheck
- distro: fedora/27/atomic
+ distro: fedora/28/atomic
container:
- image: registry.fedoraproject.org/fedora:27
+ image: registry.fedoraproject.org/fedora:28
env:
HOSTS: vmcheck
diff --git a/ci/build-check.sh b/ci/build-check.sh
index c09e9a52..ed129c74 100755
--- a/ci/build-check.sh
+++ b/ci/build-check.sh
@@ -22,11 +22,15 @@ make install
# job than gcc for vars with cleanups; perhaps in the future these could
# parallelize
if test -x /usr/bin/clang; then
+ if grep -q -e 'static inline.*_GLIB_AUTOPTR_LIST_FUNC_NAME' /usr/include/glib-2.0/glib/gmacros.h; then
+ echo 'Skipping clang check, see https://bugzilla.gnome.org/show_bug.cgi?id=796346'
+ else
# Except for clang-4.0: error: argument unused during compilation: '-specs=/usr/lib/rpm/redhat/redhat-hardened-cc1' [-Werror,-Wunused-command-line-argument]
export CFLAGS="-Wall -Werror -Wno-error=unused-command-line-argument ${CFLAGS:-}"
git clean -dfx && git submodule foreach git clean -dfx
export CC=clang
build
+ fi
fi
copy_out_gdtr_artifacts() {
diff --git a/ci/fah27-insttests.sh b/ci/fah28-insttests.sh
index a045cf52..a045cf52 100755
--- a/ci/fah27-insttests.sh
+++ b/ci/fah28-insttests.sh
diff --git a/ci/rpmostree.sh b/ci/rpmostree.sh
index e8189c40..f766a368 100755
--- a/ci/rpmostree.sh
+++ b/ci/rpmostree.sh
@@ -6,7 +6,7 @@ set -xeuo pipefail
# Frozen to a tag for now to help predictability; it's
# also useful to test building *older* versions since
# that must work.
-RPMOSTREE_TAG=v2017.11
+RPMOSTREE_TAG=v2018.5
dn=$(dirname $0)
. ${dn}/libpaprci/libbuild.sh
@@ -21,7 +21,7 @@ pkg_install rpm-ostree && rpm -e rpm-ostree
# Duplicate of deps from build.sh in rpm-ostree for tests
pkg_install ostree{,-devel,-grub2} createrepo_c /usr/bin/jq PyYAML \
libubsan libasan libtsan elfutils fuse sudo python-gobject-base \
- selinux-policy-devel selinux-policy-targeted
+ selinux-policy-devel selinux-policy-targeted openssh-clients ansible
# This one is in the papr.yml
pkg_install rsync
@@ -38,6 +38,7 @@ build
# We want to capture automake results
cleanup() {
mv test-suite.log ${codedir} || true
+ mv vmcheck ${codedir} || true
}
trap cleanup EXIT
make -j 8 check