1. 18 May, 2021 1 commit
  2. 08 Dec, 2020 1 commit
  3. 27 Nov, 2020 1 commit
  4. 12 Nov, 2020 1 commit
  5. 11 Nov, 2020 1 commit
    • Ondrej Mosnacek's avatar
      ci: bump Fedora image version to 33 · 3de445af
      Ondrej Mosnacek authored
      The testsuite will soon be switching to testing multiple filesystems,
      which exposes a bug in F32 image's kernel. Since Fedora 33 has been
      released recently and the testsuite runs just fine on it, just bump the
      image version to avoid the bug.
      
      This commit also fixes the script to read out the Fedora image version
      from environment variables instead of using hard-coded values.
      Signed-off-by: default avatarOndrej Mosnacek <omosnace@redhat.com>
      3de445af
  6. 11 Aug, 2020 1 commit
  7. 07 Aug, 2020 1 commit
  8. 18 Jun, 2020 2 commits
    • William Roberts's avatar
      ci: dont use hardcoded project name · 1af345d2
      William Roberts authored
      Not everyone's github project is "selinux" so use the projects
      name, as derived from TRAVIS_BUILD_DIR. TRAVIS_BUILD_DIR is
      the absolute path to the project checkout on disk, so the
      basename should be sufficient. The script that runs in the KVM
      environment also needs to be updated where it can find the
      selinux project code, so we pass it in through an env variable
      in the ssh command.
      
      Tested on Travis CI here:
        - https://travis-ci.org/github/williamcroberts/selinux/jobs/697307824Signed-off-by: default avatarWilliam Roberts <william.c.roberts@intel.com>
      Acked-by: default avatarPetr Lautrbach <plautrba@redhat.com>
      1af345d2
    • William Roberts's avatar
      ci: run SELinux kernel test suite · 562d6d15
      William Roberts authored
      The current Travis CI runs the userspace tooling and libraries against
      policy files, but cannot test against an SELinux enabled kernel. Thus,
      some tests are not being done in the CI. Travis, unfortunately only
      provides Ubuntu images, so in order to run against a modern distro with
      SELinux in enforcing mode, we need to launch a KVM with something like
      Fedora.
      
      This patch enables this support by launching a Fedora32 Cloud Image with
      the SELinux userspace library passed on from the Travis clone, it then
      builds and replaces the current SELinux bits on the Fedora32 image and
      runs the SELinux testsuite.
      
      The cloud image run can be controlled with the TRAVIS env variable:
      TRAVIS_CLOUD_IMAGE_VERSION. That variable takes the major and minor
      version numbers in a colon delimited string, eg: "32:1.6".
      Signed-off-by: default avatarWilliam Roberts <william.c.roberts@intel.com>
      Acked-by: default avatarStephen Smalley <stephen.smalley.work@gmail.com>
      562d6d15