Code Monkey home page Code Monkey logo

nbvm's Introduction

nbvm

N.B.: now boot, next build, new binaries, no biggie.

What's here

For increasingly arbitrary combinations of...

  • Unixy host/guest OSes
  • hardware architectures
  • emulation and virtualization tools

...we have a consistent shell UI...

  • for host to control headless guest VMs: nb
  • for guest to perform various in-system actions: nbvm
  • for either to perform various pkgsrc-specific steps: nbpkg

(There are also a few miscellaneous supporting scripts waiting to be properly integrated into these.)

I use this, at present, for a couple purposes:

  • Manage a variety of pkgsrc platforms on which to test-build packages
  • Do weekly rebuilds of all packages for my server

Why (generally)

In principle, when I'm responsible for outcomes, I want to encounter problems myself as early as possible, so as to:

  1. Narrow them down with minimal time and brain, and
  2. Consider mitigation options with maximal time and brain.

Why (this repo specifically)

In practice, this repo helps me:

  • As a pkgsrc developer, to make sure all my packages work on a wide variety of platforms.
  • As a server administrator, to update every week to a fresh-built set of the latest packages I rely on (not only mine).

Possible alternatives

I should probably evaluate the following to see if they can run my free choice of guest OS/architecture (for instance, NetBSD/mac68k) on my free choice of host OS/architecture (for instance, macOS/arm64).

Goals

Short-term

  • Automate more manual steps
  • Add non-qemu guests (such as NetBSD/vax)
  • Pick a console server to catch nb boot output

Medium-term

  • Connect two hosts (such as aarch64 and x86_64) in tandem: for any guest, run where virtualized, else run where emulation is probably "faster"
  • Learn how to do a (limited) bulk build and publish (for myself) the results
  • Iterate over all guests

Long-term

  • Have these tools adopted as official pkgsrc build infrastructure
  • Allow pkgsrc developers to submit proposed changes before committing, to see how they build across a wide variety of platforms
  • Build a GitHub Action backed by these tools

nbvm's People

Contributors

schmonz avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.