Add workflow and README file
This commit is contained in:
@@ -14,5 +14,5 @@ jobs:
|
||||
run: |
|
||||
set -exo pipefail
|
||||
for vars in distros/*; do
|
||||
~/bin/packerio validate -var-file=${vars} sources/
|
||||
~/bin/packerio validate -except=upload -var-file=${vars} sources/
|
||||
done
|
||||
|
||||
@@ -0,0 +1,23 @@
|
||||
* Distro: ${distro}
|
||||
* Version: ${version}
|
||||
* Arch: ${arch}
|
||||
* Build: ${build}
|
||||
* Date: ${formatdate("DD MMM YYYY", timestamp())}
|
||||
* Bugs: [vms](https://github.com/greg-hellings/vms/issues)
|
||||
|
||||
A bare-minimum installation of the guest OS. x86_64/amd64 builds are done on
|
||||
[Github Actions](https://github.com/greg-hellings/vms/actions) at regular intervals.
|
||||
|
||||
If you encounter a bug in the box, please file an issue. If you
|
||||
want a newer version of your desired operating system or want to add a distribution to this
|
||||
collection, please either file a PR there or open a bug. If you are opening a bug, please provide
|
||||
as much information as you can about how an automated installation of your desired distribution
|
||||
works.
|
||||
|
||||
The goal is to have the bare minimum software to be considered a basic installation of the guest
|
||||
OS that is still accessible with Vagrant. Straggling packages or leftover files from the build
|
||||
process should be considered as bugs to be filed.
|
||||
|
||||
A big shoutout to Github Actions for offering a full VM experience, by default, and generous
|
||||
execution times ranging up to 6 hours per task, which allows use of their platform to build
|
||||
these boxes with no additional cost to the community.
|
||||
@@ -59,6 +59,13 @@ variable "headless" {
|
||||
|
||||
locals {
|
||||
name = "${var.distro}-${var.version}-${var.arch}"
|
||||
build = formatdate("YYYYMMDDhh", timestamp())
|
||||
description = templatefile("../README.box.md", {
|
||||
distro = var.distro
|
||||
arch = var.arch
|
||||
version = var.version
|
||||
build = local.build
|
||||
})
|
||||
}
|
||||
|
||||
source "qemu" "x86_64" {
|
||||
@@ -106,8 +113,8 @@ build {
|
||||
post-processor "vagrant-cloud" {
|
||||
name = "upload"
|
||||
box_tag = "greg-hellings/${local.name}"
|
||||
version = "{{isotime \"2006010203\"}}"
|
||||
version_description = templatefile("../README.box.md")
|
||||
version = local.build
|
||||
version_description = local.description
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user