mario-campos / emulate Goto Github PK
View Code? Open in Web Editor NEWGitHub Actions for BSD.
License: BSD 2-Clause "Simplified" License
GitHub Actions for BSD.
License: BSD 2-Clause "Simplified" License
The issue here is that the image download takes a significant amount of time (anecdotally, 30-60 seconds). The image itself is of a 14 GB disk. But, per @jcs, if we could initially make the image's disk only as big as necessary (2 GB?) and then dynamically expand it at run-time using Vagrant, we could see a nice performance improvement.
Fortunately, Vagrant and Virtualbox have (experimental) support for this: https://www.vagrantup.com/docs/disks.
However, once Vagrant expands the disk, something (the guest?) will have to expand the partition and then the guest will have to expand the file system. Some guests, like OpenBSD, do not have great support for this. Others, like NetBSD and FreeBSD, do.
The other point to keep in mind is that this will have the most impact from having a one-partition disk, so that all the "file systems" can make use of the new space. So, this will require some changes to the Packer HCL files to adjust their installation layout.
I noticed that when running the CI it tries fetching packages for OpenBSD 7.1 from the mirror which are no longer available since it is out of support now that 7.3 is out.
It would be nice if you could update -latest to 7.3.
Hi,
it looks like something changed in github's CI and I am seeing lots of random CI failures for emulate.
https://github.com/openiked/openiked-portable/actions/runs/7033906227/
https://github.com/NetworkConfiguration/dhcpcd/actions/runs/6573789362
I can't tell what is going wrong but jobs randomly timeout or crash. It has gotten so bad that the emulated runners are basically constantly broken: https://github.com/NetworkConfiguration/dhcpcd/actions
Any idea what's happening there and how we could fix it?
Installing Guest Additions should improve performance somehow. It looks like FreeBSD has support for Guest Additions. Perhaps NetBSD and OpenBSD do as well.
It would be nice to be able to use the default Actions environment variables in the guest:
GITHUB_TOKEN
GITHUB_SHA
I expect GitHub will deprecate macos-10.15
eventually and we want to be off of that by then. Linux is pretty fast and (in my personal experience) I think GitHub assigns jobs to ubuntu-latest
runners faster than it does to macos-*
runners.
We could also just switch to macos-latest
or macos-11
. We just need to get off of macos-10.15
.
BASH_ENV
or some other pre-execution "initializer."
BASH_ENV
to access the first BASH_SOURCE
or $@
from bash?ps
, or something else, to find the command line of the first bash
shell.PATH
and/or EXECIGNORE
to give preference to a different "bash" executable.
bash
process is executed with the absolute path, and not with $PATH
?/bin/bash
with an executable program that hijacks the script argument and forwards it to the guest. This method is proven, but 1) requires privilege and 2) does not work on macOS (due to its System Integrity Protection).
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.