diff --git a/.papr-ex.yaml b/.papr-ex.yaml index 8cba2ca39e..fbbd19dda5 100644 --- a/.papr-ex.yaml +++ b/.papr-ex.yaml @@ -4,15 +4,15 @@ branches: - auto - try -context: FAH28-insttests +context: FAH29-insttests required: false container: - image: registry.fedoraproject.org/fedora:28 + image: registry.fedoraproject.org/fedora:29 kvm: true tests: - - ci/fah28-insttests.sh + - ci/fah29-insttests.sh artifacts: - tests/installed/artifacts/ @@ -27,8 +27,8 @@ branches: - try required: true container: - image: registry.fedoraproject.org/fedora:28 -context: f28-primary + image: registry.fedoraproject.org/fedora:29 +context: f29-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: f28-rust +context: f29-rust inherit: true container: - image: registry.fedoraproject.org/fedora:28 + image: registry.fedoraproject.org/fedora:29 env: CONFIGOPTS: '--enable-rust' CI_PKGS: cargo @@ -65,10 +65,10 @@ tests: --- -context: f28-gnutls +context: f29-gnutls inherit: true container: - image: registry.fedoraproject.org/fedora:28 + image: registry.fedoraproject.org/fedora:29 env: CONFIGOPTS: '--with-crypto=gnutls' CI_PKGS: pkgconfig(gnutls) @@ -81,7 +81,7 @@ tests: inherit: true -context: f28-minimal +context: f29-minimal env: CONFIGOPTS: '--without-curl --without-soup --disable-gtk-doc --disable-man --disable-rust --without-libarchive --without-selinux --without-smack @@ -96,7 +96,7 @@ tests: inherit: true required: true -context: f28-libsoup +context: f29-libsoup env: CONFIGOPTS: "--without-curl --without-openssl --with-soup" @@ -109,7 +109,7 @@ tests: inherit: true required: true -context: f28-introspection-tests +context: f29-introspection-tests env: # ASAN conflicts with introspection testing; diff --git a/.papr.yml b/.papr.yml index 7b3ca01808..22d84da58f 100644 --- a/.papr.yml +++ b/.papr.yml @@ -6,8 +6,8 @@ branches: - try required: true container: - image: registry.fedoraproject.org/fedora:28 -context: f28-primary + image: registry.fedoraproject.org/fedora:29 +context: f29-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' @@ -31,10 +31,10 @@ artifacts: --- # And now the contexts below here are variant container builds -context: f28-rust +context: f29-rust inherit: true container: - image: registry.fedoraproject.org/fedora:28 + image: registry.fedoraproject.org/fedora:29 env: CONFIGOPTS: '--enable-rust' CI_PKGS: cargo @@ -45,10 +45,10 @@ tests: --- -context: f28-gnutls +context: f29-gnutls inherit: true container: - image: registry.fedoraproject.org/fedora:28 + image: registry.fedoraproject.org/fedora:29 env: CONFIGOPTS: '--with-crypto=gnutls' CI_PKGS: pkgconfig(gnutls) @@ -61,7 +61,7 @@ tests: inherit: true -context: f28-minimal +context: f29-minimal env: CONFIGOPTS: '--without-curl --without-soup --disable-gtk-doc --disable-man --disable-rust --without-libarchive --without-selinux --without-smack @@ -76,7 +76,7 @@ tests: inherit: true required: true -context: f28-libsoup +context: f29-libsoup env: CONFIGOPTS: "--without-curl --without-openssl --with-soup" @@ -89,7 +89,7 @@ tests: inherit: true required: true -context: f28-introspection-tests +context: f29-introspection-tests env: # ASAN conflicts with introspection testing; @@ -108,19 +108,19 @@ branches: - auto - try -context: f28-flatpak +context: f29-flatpak required: true # This test case wants an "unprivileged container with bubblewrap", # which we don't have right now; so just provision a VM and do a # docker --privileged run. host: - distro: fedora/28/atomic + distro: fedora/29/atomic specs: ram: 4096 # build-bundle is a static delta, which needs RAM right now tests: - - docker run --rm --privileged -v $(pwd):/srv/code registry.fedoraproject.org/fedora:28 /bin/sh -c "cd /srv/code && ./ci/flatpak.sh" + - docker run --rm --privileged -v $(pwd):/srv/code registry.fedoraproject.org/fedora:29 /bin/sh -c "cd /srv/code && ./ci/flatpak.sh" artifacts: - test-suite.log @@ -136,16 +136,16 @@ branches: - auto - try -context: f28-rpmostree +context: f29-rpmostree # XXX: some issues currently failing that need investigating. required: false cluster: hosts: - name: vmcheck - distro: fedora/28/atomic + distro: fedora/29/atomic container: - image: registry.fedoraproject.org/fedora:28 + image: registry.fedoraproject.org/fedora:29 env: HOSTS: vmcheck diff --git a/ci/fah28-insttests.sh b/ci/fah28-insttests.sh deleted file mode 100755 index 22560bec77..0000000000 --- a/ci/fah28-insttests.sh +++ /dev/null @@ -1,9 +0,0 @@ -#!/usr/bin/bash -set -xeuo pipefail - -./tests/installed/provision.sh -# TODO: enhance papr to have caching, a bit like https://docs.travis-ci.com/user/caching/ -cd tests/installed -# This should be https://getfedora.org/atomic_qcow2_latest but that's broken -curl -Lo fedora-atomic-host.qcow2 https://kojipkgs.fedoraproject.org/compose/twoweek/Fedora-Atomic-28-20180626.0/compose/AtomicHost/x86_64/images/Fedora-AtomicHost-28-20180626.0.x86_64.qcow2 -exec env "TEST_SUBJECTS=$(pwd)/fedora-atomic-host.qcow2" ./run.sh diff --git a/ci/fah29-insttests.sh b/ci/fah29-insttests.sh new file mode 100755 index 0000000000..a045cf52bc --- /dev/null +++ b/ci/fah29-insttests.sh @@ -0,0 +1,8 @@ +#!/usr/bin/bash +set -xeuo pipefail + +./tests/installed/provision.sh +# TODO: enhance papr to have caching, a bit like https://docs.travis-ci.com/user/caching/ +cd tests/installed +curl -Lo fedora-atomic-host.qcow2 https://getfedora.org/atomic_qcow2_latest +exec env "TEST_SUBJECTS=$(pwd)/fedora-atomic-host.qcow2" ./run.sh