Re: [PATCH userspace] GitHub Actions: do not use macOS latest runner for now

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Sep 27, 2021 at 10:06 AM Nicolas Iooss <nicolas.iooss@xxxxxxx> wrote:
> GitHub is currently migrating its macos-latest runner to macOS 11:
> https://github.com/actions/virtual-environments/issues/4060
>
> Unfortunately, installing VirtualBox and Vagrant on this new version of
> macOS is not easy, and the current macos-11 runner does not support
> running virtual machines using Vagrant. This issue is being fixed on
> https://github.com/actions/virtual-environments/pull/4010 .
>
> Until this Pull Request is merged, use macos-10.15 runner instead of
> macos-latest, to continue using Vagrant to run the SELinux testsuite in
> a virtual machine.
>
> Signed-off-by: Nicolas Iooss <nicolas.iooss@xxxxxxx>

It seems to me there is a decent chance that the PR will be merged
before the migration takes effect, but I guess it's better to be safe
than sorry :)

Acked-by: Ondrej Mosnacek <omosnace@xxxxxxxxxx>

> ---
>
> For information, I tested this patch on
> https://github.com/fishilico/selinux/actions/runs/1273275936
>
>  .github/workflows/vm_testsuite.yml | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/.github/workflows/vm_testsuite.yml b/.github/workflows/vm_testsuite.yml
> index af2fad1e73f5..601276ddcf50 100644
> --- a/.github/workflows/vm_testsuite.yml
> +++ b/.github/workflows/vm_testsuite.yml
> @@ -6,7 +6,8 @@ jobs:
>    vm_testsuite:
>
>      # Use VirtualBox+vagrant on macOS, as described in https://github.com/actions/virtual-environments/issues/433
> -    runs-on: macos-latest
> +    # Use an old version of macOS until https://github.com/actions/virtual-environments/pull/4010 is merged.
> +    runs-on: macos-10.15
>
>      steps:
>      - uses: actions/checkout@v2
> --
> 2.32.0
>


--
Ondrej Mosnacek
Software Engineer, Linux Security - SELinux kernel
Red Hat, Inc.




[Index of Archives]     [Selinux Refpolicy]     [Linux SGX]     [Fedora Users]     [Fedora Desktop]     [Yosemite Photos]     [Yosemite Camping]     [Yosemite Campsites]     [KDE Users]     [Gnome Users]

  Powered by Linux