Commit Graph
39 Commits
Author SHA1 Message Date
Greg Hellings 2baf005b84 Tell builders to skip HTTP 2024-04-16 23:02:23 -05:00
Greg Hellings b9f10c9c86 Make more intelligent use of the cache
Bust cache on the dynamic files
Use the cached builds for both virtualbox and Hyper-V
Hopefully improve loop downloading files to cache
2024-04-15 03:53:58 +00:00
Greg Hellings da06cd988b Improve cache usage
1. Only download cached files that are not present in the current cache
2. Try pulling directly from the cache, not only with the target
   information
2024-04-12 10:22:23 -05:00
Greg Hellings ea51188897 Try pre-caching ISO files
Since the builds themselves get run in a big parallel morass of
nonsense, this causes cache clobbering all over. So now I move the
downloading to the pre-trigger stage and hopefully we can use
the pre-download step to cache things properly. Hopefully this will also
prevent issues where dynamically generated download files are missing
for later runs.
2024-04-10 12:56:52 -05:00
Greg Hellings 49ef1adc5b Pin and prune plugins 2024-01-17 15:09:11 -06:00
Greg Hellings 3aef715e85 Fix opensuse on virtualbox 2024-01-09 22:18:34 -06:00
Greg Hellings b11669345e Hyperv Debian + UEFI 2023-12-30 05:37:32 +00:00
Greg HellingsandGitHub 255f6f68e6 Test on SHR (#15)
* Test on SHR

* Fix name? Maybe?

* Restore proper Bash syntax

* Simplify build

* Pin to Isaiah

* Update to checktout v4

* Bring back the caching

* Set plugin path locally

* Separate jobs, just so I can handle this

* Allow easier target switching

* Test just qemu

* Constrain HTTP ports

* Prevent resource collision for network

* Re-enable building all

* Try only vbox
2023-12-12 11:57:09 -06:00
Greg HellingsandGitHub ebbc8a7371 Hyperv (#14)
* Do not commit the .venv file

* Fix packer formatting issues

* I am, once again, asking to fix the cache path

* Fix URI generation for tests

* Prevent prompting during Hyper-V tests

* Add more waits to hopefully build on GHA

* Hyper-V ISO expansion

Expand coverage of Hyper-V ISO to all distros except Debian
Simplify a few steps in the update/upgrade process for VMs
Edit the test script for Windows support

* Fix plugin cache path on Mac

* Point to the correct mirror URL
2023-12-07 12:15:48 -06:00
Greg HellingsandGitHub 634aae8d75 Do some better linting (#13)
* Do some better linting

* Update names, Packer version, and more

* Do not lint on push

* More linting and scripting

* Cleanup shellcheck lint

* Add Packer format check

* Fix Packer formatting

* Limit to only one

* Remove generated HCL files

* Only lint checked files

* Use pipes instead

* Improve attempt to build

Actually go back to attempting to build boxes on GitHub. Maybe it will
work better with this structure

* Change to using environment files

* Initialize plugins, first

* More verbose usage of the file

* Do the output properly this time

* PACKER_LOG set to 1

* No need for python3 anymore

* Limit to only one result

* Choose a specific CPU model

* Init separately

* Update actions version

* Add version outputting

* Correct actions version

* Try to execute qemu properly

* Fix CPU model name

* Do not over-subscribe GitHub runners

* Try type instead of command to guard runs

* Do not write to non-existent folder

* Cache packer plugins

* Use ~ instead of /home/greg

* Try the proper path

* Move to intelligent matrix

* Set global env path

* Add lots of waits for VBoxManage on hosted runners

* Add more waits

* Add more waits
2023-12-06 10:21:32 -06:00
Greg Hellings 86dfe113a0 Improve naming and architecture listing 2023-11-28 14:02:55 -06:00
Greg Hellings e6b8a19397 Make build VMs beefier 2023-11-28 10:32:23 -06:00
Greg Hellings 9e46f463f4 Set plugin version properly 2023-11-28 10:32:08 -06:00
Greg Hellings d472bf08d5 x86_64 to amd64 to match Vagrant arch names 2023-11-27 21:00:35 -06:00
Greg Hellings e2f62a80bd HyperV added
Only enabled so far for Archlinux and CentOS. Also, needed to change file endings on ALL THE THINGS. Might or might not show up.
2023-08-25 11:51:45 -05:00
Greg Hellings 7f2ba562a4 Add hyperv-iso source and test with archlinux 2023-08-25 04:23:01 -05:00
Greg Hellings b43b95e124 Move everything off of Ansible 2023-08-22 00:18:02 -05:00
Greg Hellingsandgreg-compass a56b40249b Begin adding VMWare 2023-08-15 11:23:29 -05:00
Greg Hellings 15044c8fb9 Beginning vmware-iso 2023-08-14 01:05:21 -05:00
Greg Hellings 9afb5f2c8d Upload all versions 2023-08-12 17:28:31 -05:00
Greg Hellings 9577e133eb Allow buiding all the things 2023-08-12 13:54:23 -05:00
Greg Hellings 4955599f41 Move to external boot files 2023-08-11 21:46:51 -05:00
Greg Hellings c46b459a85 Now with Ubuntu support 2023-08-11 09:55:32 -05:00
Greg Hellings cc95162e18 Continue restructuring 2023-08-10 14:10:58 -05:00
Greg Hellings 22c04bd092 Consolidate CentOS 7 2023-08-03 15:46:44 -05:00
Greg Hellings bb63ff7534 Lots of improvements everywhere 2023-08-03 14:44:02 -05:00
Greg HellingsandGitHub 0a3832d2c4 Add CentOS (#12)
* Add CentOS 7

* Fix rawhide boot

* Test locale versions
2022-06-22 10:00:04 -05:00
Greg HellingsandGitHub 0941dd9909 Unified Build Time
Unify build time for all runs in a single release
Clean up Ansible and gitignores
2022-06-08 02:27:48 -05:00
Greg HellingsandGitHub dea5487a3c Add virtualbox-iso target
Lots of other, small quality of life improvements to build process
Output of build serial console to artifacts upon failure
Reducing verbosity of Packer, now that serial output is captured
Fixed sizing problems with the boot partitions of Ubuntu versions
Use of Mac builders for Virtualbox targets
Updating Ubuntu builders to 22.04, as well
2022-06-08 01:39:37 -05:00
Greg HellingsandGitHub 288b91a797 Boost VM RAM
Bump VM RAM to 4096MB
2022-06-05 15:51:36 -05:00
Greg HellingsandGitHub a552637428 Tidy up several things in build files (#3)
Change from QCow2 to Raw images
Update boot options for better outputs
Add SSH host key acceptance files
Change Ubuntu builder to Ubuntu 22
2022-06-04 13:23:22 -05:00
Greg Hellings 483f274125 Lean on defaults 2022-06-01 10:56:48 -05:00
Greg Hellings 6b19a145f7 Add qemu_accelerator option 2022-05-27 09:07:08 -05:00
Greg Hellings d7643afdfe Add vagrant cloud taken for uploads 2022-05-27 08:40:09 -05:00
Greg Hellings 5370a91e0c Put boxes into boxen namespace 2022-05-27 01:04:42 -05:00
Greg Hellings 5b40c9a79e Spread build source defs more evenly 2022-05-25 01:40:52 -05:00
Greg Hellings 5aa52aeff0 Add Ansible linting and other stuff 2022-05-05 08:17:48 -05:00
Greg Hellings dda70b6d32 Add workflow and README file 2022-05-04 09:00:17 -05:00
Greg Hellings ff59effbb1 Ubuntu 20.04 on QEmu working 2022-05-04 09:00:17 -05:00