All of lore.kernel.org
 help / color / mirror / Atom feed
From: Nicolas Iooss <nicolas.iooss@m4x.org>
To: William Roberts <bill.c.roberts@gmail.com>
Cc: SElinux list <selinux@vger.kernel.org>
Subject: Re: [PATCH 1/1] GitHub Actions: run SELinux testsuite in Fedora virtual machine
Date: Sat, 2 Jan 2021 11:35:31 +0100	[thread overview]
Message-ID: <CAJfZ7==i=8s=AfVERNfadwdNa-OMJbGdsmCXm=waf1c6w_XrRw@mail.gmail.com> (raw)
In-Reply-To: <CAFftDdoTGNizbiX68drThF=M_QUyRdCD7zb3MGjuKtU-yi_+Vw@mail.gmail.com>

On Thu, Dec 31, 2020 at 3:43 PM William Roberts
<bill.c.roberts@gmail.com> wrote:
>
> On Wed, Dec 30, 2020 at 2:12 PM Nicolas Iooss <nicolas.iooss@m4x.org> wrote:
> >
> > Use the Vagrant configuration in scripts/ci in a workflow for GitHub
> > Actions.
> >
> > Signed-off-by: Nicolas Iooss <nicolas.iooss@m4x.org>
> > ---
> > Example of run: https://github.com/fishilico/selinux/runs/1627586446
> >
> >  .github/workflows/vm_testsuite.yml | 22 ++++++++++++++++++++++
> >  1 file changed, 22 insertions(+)
> >  create mode 100644 .github/workflows/vm_testsuite.yml
> >
> > diff --git a/.github/workflows/vm_testsuite.yml b/.github/workflows/vm_testsuite.yml
> > new file mode 100644
> > index 000000000000..af2fad1e73f5
> > --- /dev/null
> > +++ b/.github/workflows/vm_testsuite.yml
> > @@ -0,0 +1,22 @@
> > +name: Run SELinux testsuite in a virtual machine
> > +
> > +on: [push, pull_request]
> > +
> > +jobs:
> > +  vm_testsuite:
> > +
> > +    # Use VirtualBox+vagrant on macOS, as described in https://github.com/actions/virtual-environments/issues/433
> > +    runs-on: macos-latest
>
> Good find, they support nested virtualization.
>
> > +
> > +    steps:
> > +    - uses: actions/checkout@v2
> > +
> > +    - name: Create Vagrant VM
> > +      run: |
> > +        cd scripts/ci
> > +        vagrant up
> > +
> > +    - name: Run SELinux testsuite in the VM
> > +      run: |
> > +        cd scripts/ci
> > +        vagrant ssh -- ./run-selinux-test.sh
> > --
> > 2.29.2
> >
>
> LGTM ack. Do you have any fork that has a build with this just to see
> it running?

Yes, I have been testing it on
https://github.com/fishilico/selinux/actions, with several successful
builds such as https://github.com/fishilico/selinux/runs/1627586446.

Thanks,
Nicolas


  reply	other threads:[~2021-01-02 10:36 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-12-30 20:08 [PATCH 1/1] GitHub Actions: run SELinux testsuite in Fedora virtual machine Nicolas Iooss
2020-12-30 20:13 ` Nicolas Iooss
2020-12-31 14:42 ` William Roberts
2021-01-02 10:35   ` Nicolas Iooss [this message]
2021-01-06  8:17     ` Nicolas Iooss
2021-01-19 14:32       ` Ondrej Mosnacek
2021-01-20 16:00         ` Nicolas Iooss
2021-01-22  9:39           ` Ondrej Mosnacek

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAJfZ7==i=8s=AfVERNfadwdNa-OMJbGdsmCXm=waf1c6w_XrRw@mail.gmail.com' \
    --to=nicolas.iooss@m4x.org \
    --cc=bill.c.roberts@gmail.com \
    --cc=selinux@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.