The @nixos_org integration tests have always been a fantastic tool - We just made them even faster and much simpler to run!
-
The @nixos_org integration tests have always been a fantastic tool - We just made them even faster and much simpler to run!
By adding a new lightweight container backend to the test driver, you can now run your suites on standard, non-KVM VMs. 
Here is what the new container backend brings to your NixOS workflow:
Blazing Fast Execution: How fast? Booting two machines, letting them ping each other, and tearing them down now takes ~3 seconds!
Run Anywhere (Cheaper!): You no longer need bare-metal KVM-enabled hosts. Your tests can now run seamlessly on cheap, standard VMs.
GPU Testing Support: Hardware acceleration is now accessible. You can finally test GPU-dependent workloads directly inside your integration tests!Curious how it works under the hood and how to enable it in your projects? Dive into our latest article and try it out for yourself!
Read the full breakdown here: https://nixcademy.com/posts/faster-cheaper-nixos-integration-tests-with-containers/#NixOS #DevOps #Testing #Linux #Nix #InfrastructureAsCode #CI #Containers

-
The @nixos_org integration tests have always been a fantastic tool - We just made them even faster and much simpler to run!
By adding a new lightweight container backend to the test driver, you can now run your suites on standard, non-KVM VMs. 
Here is what the new container backend brings to your NixOS workflow:
Blazing Fast Execution: How fast? Booting two machines, letting them ping each other, and tearing them down now takes ~3 seconds!
Run Anywhere (Cheaper!): You no longer need bare-metal KVM-enabled hosts. Your tests can now run seamlessly on cheap, standard VMs.
GPU Testing Support: Hardware acceleration is now accessible. You can finally test GPU-dependent workloads directly inside your integration tests!Curious how it works under the hood and how to enable it in your projects? Dive into our latest article and try it out for yourself!
Read the full breakdown here: https://nixcademy.com/posts/faster-cheaper-nixos-integration-tests-with-containers/#NixOS #DevOps #Testing #Linux #Nix #InfrastructureAsCode #CI #Containers

@jgalowicz @nixos_org That's awesome and may be ideal for the Home Manager integration tests!
-
@jgalowicz @nixos_org That's awesome and may be ideal for the Home Manager integration tests!
@rycee nice, did not think about this!
-
The @nixos_org integration tests have always been a fantastic tool - We just made them even faster and much simpler to run!
By adding a new lightweight container backend to the test driver, you can now run your suites on standard, non-KVM VMs. 
Here is what the new container backend brings to your NixOS workflow:
Blazing Fast Execution: How fast? Booting two machines, letting them ping each other, and tearing them down now takes ~3 seconds!
Run Anywhere (Cheaper!): You no longer need bare-metal KVM-enabled hosts. Your tests can now run seamlessly on cheap, standard VMs.
GPU Testing Support: Hardware acceleration is now accessible. You can finally test GPU-dependent workloads directly inside your integration tests!Curious how it works under the hood and how to enable it in your projects? Dive into our latest article and try it out for yourself!
Read the full breakdown here: https://nixcademy.com/posts/faster-cheaper-nixos-integration-tests-with-containers/#NixOS #DevOps #Testing #Linux #Nix #InfrastructureAsCode #CI #Containers

@jgalowicz
Oh. My. God.Yessssss!!!!
@nixos_org -
@jgalowicz
Oh. My. God.Yessssss!!!!
@nixos_org@jgalowicz
If this works only half as good as I expect, you probably reduced our CI time by 50% or so!
๏ธ
@nixos_org -
@jgalowicz
If this works only half as good as I expect, you probably reduced our CI time by 50% or so!
๏ธ
@nixos_org@musicmatze @nixos_org so i guess we are at 100%



-
@musicmatze @nixos_org so i guess we are at 100%



@jgalowicz
Math checks out I guess
no CI costs anymore, yay!
@nixos_org -
@rycee nice, did not think about this!
@jgalowicz Yeah, we already have a set of such tests but starting up a whole VM is a bit excessive for our purposes.
-
The @nixos_org integration tests have always been a fantastic tool - We just made them even faster and much simpler to run!
By adding a new lightweight container backend to the test driver, you can now run your suites on standard, non-KVM VMs. 
Here is what the new container backend brings to your NixOS workflow:
Blazing Fast Execution: How fast? Booting two machines, letting them ping each other, and tearing them down now takes ~3 seconds!
Run Anywhere (Cheaper!): You no longer need bare-metal KVM-enabled hosts. Your tests can now run seamlessly on cheap, standard VMs.
GPU Testing Support: Hardware acceleration is now accessible. You can finally test GPU-dependent workloads directly inside your integration tests!Curious how it works under the hood and how to enable it in your projects? Dive into our latest article and try it out for yourself!
Read the full breakdown here: https://nixcademy.com/posts/faster-cheaper-nixos-integration-tests-with-containers/#NixOS #DevOps #Testing #Linux #Nix #InfrastructureAsCode #CI #Containers

Oh my! I had the thought floating around my head why we don't simply use namespaces for all tests except the ones that test the kernel specifically. Well, I know the answer now; very cool to see this!
-
Oh my! I had the thought floating around my head why we don't simply use namespaces for all tests except the ones that test the kernel specifically. Well, I know the answer now; very cool to see this!
@Atemu @nixos_org yeah building a private POC and building something that is upstreamable are two very different things!
-
R relay@relay.infosec.exchange shared this topic