nixbox icon indicating copy to clipboard operation
nixbox copied to clipboard

Integrate github action

Open hennersz opened this issue 1 year ago • 15 comments

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

hennersz avatar May 26 '23 11:05 hennersz

@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.

pdietl avatar Jan 06 '24 02:01 pdietl

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

hennersz avatar Jan 06 '24 10:01 hennersz

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.

zimbatm avatar Jan 07 '24 11:01 zimbatm

I am interesting this, maybe we can do it.

ifurther avatar Jan 07 '24 12:01 ifurther

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

zimbatm avatar Jan 07 '24 13:01 zimbatm

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

pdietl avatar Jan 07 '24 19:01 pdietl

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.

zimbatm avatar Jan 08 '24 12:01 zimbatm

@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.

ifurther avatar Jan 08 '24 13:01 ifurther

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

zimbatm avatar Jan 09 '24 08:01 zimbatm

Thanks @zimbatm I will update makefile

ifurther avatar Jan 09 '24 14:01 ifurther

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

ifurther avatar Jan 14 '24 11:01 ifurther

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

zimbatm avatar Jan 14 '24 13:01 zimbatm

Now is public, thanks

ifurther avatar Jan 14 '24 13:01 ifurther

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

ifurther avatar Jan 14 '24 17:01 ifurther

might be able to look at this over the weekend

hennersz avatar Jan 18 '24 17:01 hennersz