Publish iso workflow #9

Merged
antman merged 34 commits from publish-iso-workflow into main 2026-08-06 06:41:20 +00:00
Owner

Motivation

We need to publish the final iso somewhere, so we need a workflow that does that on main branch.
We also need to create a base VM image using this iso that can be used for testing, the first example being the state manager tests

Solution

The process of publishing the iso file is just making a new file in /tank/local/isos/. I decided this was easier then trying to upload a 2.5GB file as a release. Can revisit later if necessary

I decided to pull out the start process code from the sim test package. I needed a simpler system for creating a pseudo terminal for programmatically accessing a VM. This could be useful as a separate package later — this need keeps coming up.

For some reason running commands as sudo in jobs doesn't work, with the exception of starting deno as sudo. And so I had to implement the logic of the jobs in deno.

Also started using a self hosted RPM repo to improve workflow speed since downloading the packages took several minutes.

I also realized that leaving VMs running from other workflows in other repositories was slowing everything down. Now the vms are shutdown at the end of each workflow. If the workflow fails, the vm will still be running for investigation

### Motivation We need to publish the final iso somewhere, so we need a workflow that does that on main branch. We also need to create a base VM image using this iso that can be used for testing, the first example being the state manager tests ### Solution The process of publishing the iso file is just making a new file in `/tank/local/isos/`. I decided this was easier then trying to upload a 2.5GB file as a release. Can revisit later if necessary I decided to pull out the start process code from the sim test package. I needed a simpler system for creating a pseudo terminal for programmatically accessing a VM. This could be useful as a separate package later — this need keeps coming up. For some reason running commands as sudo in jobs doesn't work, with the exception of starting deno as sudo. And so I had to implement the logic of the jobs in deno. Also started using a self hosted RPM repo to improve workflow speed since downloading the packages took several minutes. I also realized that leaving VMs running from other workflows in other repositories was slowing everything down. Now the vms are shutdown at the end of each workflow. If the workflow fails, the vm will still be running for investigation
Add publish workflow
All checks were successful
/ build-and-test (push) Successful in 10m44s
73852675d1
more grunt, less disk
Some checks failed
/ build-and-test (push) Has been cancelled
cb79c5f89f
5gigs
Some checks failed
/ build-and-test (push) Has been cancelled
01e9467ec3
more disk
All checks were successful
/ build-and-test (push) Successful in 9m2s
d69a3287ac
antman changed title from Publish iso workflow to WIP: Publish iso workflow 2026-08-05 08:34:18 +00:00
test the publish workflow
Some checks failed
/ build-and-test (push) Has been cancelled
0bf041fcd9
huh
Some checks failed
/ build-and-test (push) Has been cancelled
8e5a72b622
test
Some checks failed
/ build-and-test (push) Failing after 3s
e71318a1e9
???
Some checks failed
/ build-and-test (push) Has been cancelled
43e9d2bddd
reeeeeeee
Some checks failed
/ build-and-test (push) Failing after 5m5s
572b6bd57d
yyyyyyyy
Some checks failed
/ build-and-test (push) Has been cancelled
b66ddd9b24
I don't understand
Some checks failed
/ build-and-test (push) Has been cancelled
3289542e63
ccccccccccccccccc
Some checks failed
/ build-and-test (push) Has been cancelled
5feaff46c0
fuck
Some checks failed
/ build-and-test (push) Has been cancelled
68ced9ead0
wtf
Some checks failed
/ build-and-test (push) Has been cancelled
e9312c7ded
doofus
Some checks failed
/ build-and-test (push) Has been cancelled
07d49764ad
good
Some checks failed
/ build-and-test (push) Has been cancelled
8733eb2e3d
try
Some checks failed
/ build-and-test (push) Has been cancelled
3b10ac38fd
do it in deno
Some checks failed
/ build-and-test (push) Has been cancelled
98b596359c
ok
Some checks failed
/ build-and-test (push) Has been cancelled
ca93086a26
cool
Some checks failed
/ build-and-test (push) Has been cancelled
d3a2037808
wait
Some checks failed
/ build-and-test (push) Has been cancelled
48738cdfb5
re
Some checks failed
/ build-and-test (push) Has been cancelled
a50718a626
wait longer
Some checks failed
/ build-and-test (push) Failing after 10m35s
901718a64c
try to think
Some checks failed
/ build-and-test (push) Failing after 10m38s
5d0e8587ce
ffs
Some checks failed
/ build-and-test (push) Failing after 11m45s
a92951a3ee
add shutdown vm step
Some checks failed
/ build-and-test (push) Failing after 16m13s
6ea3c35449
shutdown vm from pseudo terminal
Some checks failed
/ build-and-test (push) Failing after 11m42s
a7dfa1aca6
increase timeout
All checks were successful
/ build-and-test (push) Successful in 12m15s
81eb445755
delete scratch
All checks were successful
/ build-and-test (push) Successful in 12m15s
05588bd884
try custom repo
All checks were successful
/ build-and-test (push) Successful in 10m17s
98e2a3268c
add repo for base OS
All checks were successful
/ build-and-test (push) Successful in 9m14s
89b61781fd
cleanup
All checks were successful
/ build-and-test (push) Successful in 7m31s
7e6119856f
antman changed title from WIP: Publish iso workflow to Publish iso workflow 2026-08-06 06:41:03 +00:00
antman merged commit 5e9a9cfffb into main 2026-08-06 06:41:20 +00:00
antman deleted branch publish-iso-workflow 2026-08-06 06:41:20 +00:00
antman referenced this pull request from a commit 2026-08-06 06:41:20 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
kill-the-cloud/os-installer!9
No description provided.