nix-community / nixbox

NixOS Vagrant boxes [maintainer=@ifurther]
https://app.vagrantup.com/nixbox/
MIT License
304 stars 101 forks source link

Integrate github action #89

Open hennersz opened 1 year ago

hennersz commented 1 year ago

Heya I've managed to get nixbox building in github actions for virtualbox and libvirt in my own fork They are currently published under my own namespace in vagrant cloud. If the maintainers of this repo want to integrate it and publish under the nixos account I can open a PR

pdietl commented 7 months ago

@zimbatm are you interesting in adding such a github action? Maybe to trigger on a release? Or would you be down to upload new boxes for nix 23.11? I can build the boxes of all the providers, but obviously I can't upload them.

hennersz commented 7 months ago

Fyi the actions started intermittently failing more and more often, so I need to do some work to try and fix it

zimbatm commented 7 months ago

yeah sounds good. especially now that GHA supports nested virtualization, it should make building those VM images much easier. then upload them as release assets.

I'm not actively using this project anymore, so if any of you or @ifurther also wants to take over maintenance, that would be nice.

ifurther commented 7 months ago

I am interesting this, maybe we can do it.

zimbatm commented 7 months ago

Invited you both since you are active on the project. Make yourself at home and let me know if you need anything.

pdietl commented 6 months ago

Thanks @zimbatm! How do we get the credentials for uploading to VagrantCloud?

zimbatm commented 6 months ago

I added the ATLAS_TOKEN secret to GitHub Actions, for the automation. If you sign up to https://app.vagrantup.com/account/new and give me your account, I will also give you access to the org.

ifurther commented 6 months ago

@zimbatm my vargrnat username is same for my github username. @pdietl the github action ubuntu image have the packer, but no VirtualBox. So user uses the macos to use vagrant.

zimbatm commented 6 months ago

Invited you to the "nixbox" org. I propose that we start fresh, so you can also organize things like you want.

ifurther commented 6 months ago

Thanks @zimbatm I will update makefile

ifurther commented 6 months ago

@zimbatm I can't set the nixbox/nixos to public

zimbatm commented 6 months ago

https://app.vagrantup.com/nixbox/boxes/nixos is public isn't it?

ifurther commented 6 months ago

Now is public, thanks

ifurther commented 6 months ago

Hi @hennersz I add the ci building the image now, cloud you help me add the flake function to new ?

hennersz commented 6 months ago

might be able to look at this over the weekend