!jtzdZrQSXtEpeGtzAn:nixos.org

Testing with Nix

88 Members
23 Servers

Load older messages


SenderMessageTime
15 Dec 2023
@raitobezarius:matrix.orgraitobezariusI am not aware of any beyond classical images coming from existing DE19:41:15
@ultra:beeper.comAlex S changed their profile picture.21:02:38
17 Dec 2023
@djrollins:matrix.orgdeej joined the room.12:27:05
@djrollins:matrix.orgdeej

Hello folks,

I was looking for a bit of guidance on a use case for the Nix integration testing library.

I have a project which connects to different Linux boxes and does some discovery of about the system and performs some tasks (think something like Ansible).

I've really liked using the Nix integration testing library for testing applications on NixOS, however in this project I need to be able to test against many different distro types (Ubuntu, Arch, etc). So, it would be great if I could define some VMs with Vagrantfiles and use those as definitions for nodes in a .nix test file.

All documentation around the integration testing library (understandably) focuses on NixOS VMs. So my first questions before I go too far down this rabbit hole are:

  1. Is this even remotely feasible or is the integration testing tool intrinsically tied to NixOS?
  2. If it is feasible, can anyone suggest some example tests or documentation that might point me in the direction of achieving my goal?
12:27:43
@raitobezarius:matrix.orgraitobezariusIt's possible but no one wrote any doc or example test AFAIK to achieve this12:37:06
@raitobezarius:matrix.orgraitobezariusYou need to rework the agent to interact with the guest VMs and make the test driver aware of the underlying distribution12:37:28
@infinisil:matrix.org@infinisil:matrix.org left the room.13:39:24
@tomberek:matrix.orgtomberekI want to say that I had done a proof-of-concept of this a while ago, but I may be confusing it with getting NixOps to manage non-NixOS. And my google-fu isn't helping me right now. Yes, running other distros would be excellent and likely wouldn't take too many changes. 13:46:42
@dandellion:dodsorf.asDandellion joined the room.23:57:00
18 Dec 2023
@ultra:beeper.comAlex S changed their profile picture.06:50:07
23 Dec 2023
@raitobezarius:matrix.orgraitobezarius changed their display name from raitobezarius to raitobezarius (DECT 2128).22:21:59
27 Dec 2023
@nikstur:matrix.orgnikstur changed their display name from nikstur to nikstur (DECT 5643).09:49:15
30 Dec 2023
@raitobezarius:matrix.orgraitobezarius changed their display name from raitobezarius (DECT 2128) to raitobezarius.19:52:28
31 Dec 2023
@philiptaron:matrix.org@philiptaron:matrix.org changed their display name from Philip Taron to Philip Taron (UTC-8).18:10:44
3 Jan 2024
@nikstur:matrix.orgnikstur changed their display name from nikstur (DECT 5643) to nikstur.15:33:22
23 Jan 2024
@adam:robins.wtf@adam:robins.wtf joined the room.00:43:37
27 Jan 2024
@lehmanator:gnulinux.club@lehmanator:gnulinux.club removed their profile picture.16:57:51
@lehmanator:gnulinux.club@lehmanator:gnulinux.club removed their display name Sam Lehman.17:01:25
@lehmanator:gnulinux.club@lehmanator:gnulinux.club left the room.17:06:17
29 Jan 2024
@lehmanator:tchncs.deSam Lehman joined the room.11:04:24
@lehmanator:tchncs.deSam Lehman set a profile picture.11:06:02
31 Jan 2024
@federicodschonborn:matrix.org@federicodschonborn:matrix.org changed their profile picture.03:36:23
@federicodschonborn:matrix.org@federicodschonborn:matrix.org changed their profile picture.06:22:02
9 Feb 2024
@sofo:matrix.org@sofo:matrix.org joined the room.07:28:31
20 Feb 2024
@sofo:matrix.org@sofo:matrix.org changed their display name from Sofi to Sofie.07:39:13
@sofo:matrix.org@sofo:matrix.org changed their profile picture.14:39:04
@sofo:matrix.org@sofo:matrix.org changed their profile picture.14:41:24
@sofo:matrix.org@sofo:matrix.org changed their profile picture.14:42:41
@sofo:matrix.org@sofo:matrix.org changed their profile picture.14:44:00
27 Feb 2024
@k900:0upti.meK900 Reviving this room to say that if no one objects, I want to rip out create_machine(dict) from the test driver in the next few days 19:44:36

Show newer messages


Back to Room ListRoom Version: 9