Publish primitive manager #1

Merged
antman merged 68 commits from add-spec-file into main 2026-08-03 05:37:34 +00:00
Owner

Motivation

Want to be able to build a binary program and publish to ktc RPM registry. Ideally with systemd unit files.

What we really wanted was a way to download the state manager binary from the custom OS installer.

Solution

Publishing using RPM turned out to be a lot more complicated than expected. The RPM system mixes the concerns of a build system with that of a repository. Their spec files are bash scripts mixing declarative and imperative programming constructs. But the issue finally ruling out RPM was the binary file size changing once published and throwing errors when executed.

Instead, an archive is published as a release which can be downloaded via curl. This means the installation of the binary and the service unit file into the correct directories has to occur after the download — e.g. using an installer script or having the binary install itself.

  • Add a test pipeline on pull requests
  • Add a publish pipeline on main
  • Add a service unit file
## Motivation ~Want to be able to build a binary program and publish to ktc RPM registry.~ Ideally with systemd unit files. What we really wanted was a way to download the state manager binary from the custom OS installer. ## Solution Publishing using RPM turned out to be a lot more complicated than expected. The RPM system mixes the concerns of a build system with that of a repository. Their spec files are bash scripts mixing declarative and imperative programming constructs. But the issue finally ruling out RPM was the binary file size changing once published and throwing errors when executed. Instead, an archive is published as a release which can be downloaded via curl. This means the installation of the binary and the service unit file into the correct directories has to occur after the download — e.g. using an installer script or having the binary install itself. * Add a test pipeline on pull requests * Add a publish pipeline on main * Add a service unit file
try build and publish
Some checks failed
/ build-and-publish (push) Failing after 11s
/ test-and-lint (push) Failing after 4s
7f51bab75f
try build
Some checks failed
/ build-and-publish (push) Failing after 11s
/ test-and-lint (push) Failing after 4s
5f1de69c5a
derp
Some checks failed
/ build-and-publish (push) Failing after 9s
/ test-and-lint (push) Failing after 5s
26d42b5cdf
huh
Some checks failed
/ test-and-lint (push) Failing after 4s
/ build-and-publish (push) Failing after 8s
41c2b433cf
expand home variable
Some checks failed
/ test-and-lint (push) Failing after 5s
/ build-and-publish (push) Failing after 9s
352c22c0d4
fixed path
Some checks failed
/ build-and-publish (push) Failing after 9s
/ test-and-lint (push) Failing after 4s
b0e44c6f6a
make path
Some checks failed
/ build-and-publish (push) Failing after 10s
/ test-and-lint (push) Failing after 4s
d43f229561
fix path again
Some checks failed
/ build-and-publish (push) Failing after 10s
/ test-and-lint (push) Failing after 4s
fdd4c57a80
opps
Some checks failed
/ build-and-publish (push) Failing after 9s
/ test-and-lint (push) Failing after 4s
cb5e66409f
huh
Some checks failed
/ build-and-publish (push) Failing after 10s
/ test-and-lint (push) Failing after 5s
c0b52d7779
ak
Some checks failed
/ build-and-publish (push) Failing after 38s
/ test-and-lint (push) Failing after 5s
6186337993
fixed path
Some checks failed
/ build-and-publish (push) Successful in 40s
/ test-and-lint (push) Failing after 4s
20958a6068
try build without target
Some checks failed
/ build-and-publish (push) Successful in 39s
/ test-and-lint (push) Failing after 4s
5a736902b2
try on bare metal
Some checks failed
/ build-and-publish (push) Failing after 3s
/ test-and-lint (push) Failing after 6s
5382bc0fc0
a update version number
Some checks failed
/ test-and-lint (push) Failing after 7s
/ build-and-publish (push) Failing after 3s
c61feff3a7
full path to deno
Some checks failed
/ build-and-publish (push) Successful in 38s
/ test-and-lint (push) Failing after 6s
3a10705820
erp
Some checks failed
/ build-and-publish (push) Successful in 39s
/ test-and-lint (push) Failing after 5s
256f87041e
grh
Some checks failed
/ build-and-publish (push) Successful in 39s
/ test-and-lint (push) Failing after 6s
cfdee52975
eh
Some checks failed
/ test-and-lint (push) Has been cancelled
/ build-and-publish (push) Has been cancelled
b94bd16408
oops
Some checks failed
/ build-and-publish (push) Successful in 38s
/ test-and-lint (push) Failing after 7s
9d57733f3f
try stuff
Some checks failed
/ build-and-publish (push) Failing after 7s
/ test-and-lint (push) Failing after 8s
03fcf6e211
huh
Some checks failed
/ build-and-publish (push) Failing after 8s
/ test-and-lint (push) Failing after 6s
4ba3fe834a
gwa
Some checks failed
/ build-and-publish (push) Failing after 7s
/ test-and-lint (push) Failing after 5s
3af2233f6d
ananannnnnn
Some checks failed
/ build-and-publish (push) Failing after 7s
/ test-and-lint (push) Failing after 13s
2f9f998bd5
try fix package name
Some checks failed
/ build-and-publish (push) Failing after 8s
/ test-and-lint (push) Failing after 11s
0db053756f
gruh
Some checks failed
/ build-and-publish (push) Failing after 7s
/ test-and-lint (push) Failing after 8s
a321134f38
reeeeeeee
Some checks failed
/ build-and-publish (push) Failing after 13s
/ test-and-lint (push) Failing after 10s
90be9af7fc
wtaf
Some checks failed
/ build-and-publish (push) Failing after 8s
/ test-and-lint (push) Failing after 9s
508a013163
clean build directory
Some checks failed
/ build-and-publish (push) Failing after 9s
/ test-and-lint (push) Failing after 8s
bc4372ac5c
aaaaaaaa
Some checks failed
/ build-and-publish (push) Successful in 37s
/ test-and-lint (push) Failing after 6s
e0cfaa7d04
hm
Some checks failed
/ build-and-publish (push) Failing after 13s
/ test-and-lint (push) Failing after 6s
e974d50c46
definitely no %build
Some checks failed
/ build-and-publish (push) Successful in 37s
/ test-and-lint (push) Failing after 6s
a4feaa9c98
I don't know what I'm doing
Some checks failed
/ build-and-publish (push) Failing after 4s
/ test-and-lint (push) Has been cancelled
38a047d3d0
ops
Some checks failed
/ build-and-publish (push) Failing after 4s
/ test-and-lint (push) Failing after 5s
01572dd520
gwa
Some checks failed
/ build-and-publish (push) Successful in 34s
/ test-and-lint (push) Failing after 6s
437c539bcb
more debug
Some checks failed
/ build-and-publish (push) Successful in 34s
/ test-and-lint (push) Failing after 5s
923c5291f8
huh?!
Some checks failed
/ build-and-publish (push) Failing after 3s
/ test-and-lint (push) Failing after 7s
6ca7268722
aaaaa
Some checks failed
/ build-and-publish (push) Failing after 3s
/ test-and-lint (push) Failing after 6s
01079a2658
a
Some checks failed
/ build-and-publish (push) Successful in 34s
/ test-and-lint (push) Failing after 7s
2e2440bf98
try build on docker
Some checks failed
/ build-and-publish (push) Successful in 40s
/ test-and-lint (push) Failing after 5s
18a72c8bf6
hm
Some checks failed
/ build-and-publish (push) Failing after 8s
/ test-and-lint (push) Failing after 6s
e2cb905a25
hmm
Some checks failed
/ test-and-lint (push) Has been cancelled
/ build-and-publish (push) Has been cancelled
d1b2d2aeb4
fu
Some checks failed
/ test-and-lint (push) Has been cancelled
/ build-and-publish (push) Has been cancelled
979d062784
version
Some checks failed
/ build-and-publish (push) Successful in 37s
/ test-and-lint (push) Failing after 4s
13f6247d28
hmm
Some checks failed
/ build-and-publish (push) Successful in 39s
/ test-and-lint (push) Failing after 4s
1c25ef1110
scream
Some checks failed
/ build-and-publish (push) Failing after 9s
/ test-and-lint (push) Failing after 4s
a8d216e3d0
wat
Some checks failed
/ build-and-publish (push) Failing after 11s
/ test-and-lint (push) Failing after 7s
4b3a728c6a
hm
Some checks failed
/ build-and-publish (push) Failing after 10s
/ test-and-lint (push) Failing after 7s
70df08f35a
hm
Some checks failed
/ build-and-publish (push) Failing after 10s
/ test-and-lint (push) Failing after 7s
f3aa5f6b04
nah
Some checks failed
/ build-and-publish (push) Successful in 42s
/ test-and-lint (push) Failing after 4s
76a281b19b
try publish release
Some checks failed
/ test-and-lint (push) Failing after 7s
/ build-and-publish (push) Failing after 12s
c7725fdf60
?
Some checks failed
/ build-and-publish (push) Failing after 13s
/ test-and-lint (push) Failing after 5s
385dfbc667
!
Some checks failed
/ build-and-publish (push) Successful in 14s
/ test-and-lint (push) Failing after 5s
0f3033ff36
use correct token
Some checks failed
/ build-and-publish (push) Successful in 14s
/ test-and-lint (push) Failing after 5s
946a589cb4
try explicit post
Some checks failed
/ build-and-publish (push) Successful in 13s
/ test-and-lint (push) Failing after 6s
33492721f0
fix authorization header
Some checks failed
/ build-and-publish (push) Successful in 13s
/ test-and-lint (push) Failing after 5s
e4bcd125fa
cleanup pipeline
Some checks failed
/ build-and-publish (push) Failing after 10s
/ test-and-lint (push) Failing after 4s
78c6dd98ec
blah
Some checks failed
/ build-and-publish (push) Successful in 13s
/ test-and-lint (push) Failing after 5s
1ebb8a6c90
one more test
Some checks failed
/ build-and-publish (push) Successful in 14s
/ test-and-lint (push) Failing after 5s
d091d4ec7d
try thing
Some checks failed
/ build-and-publish (push) Successful in 14s
/ test-and-lint (push) Failing after 5s
3951460dd4
ree
Some checks failed
/ test-and-lint (push) Failing after 4s
/ build-and-publish (push) Successful in 12s
b610fa6816
try name directory
Some checks failed
/ build-and-publish (push) Failing after 11s
/ test-and-lint (push) Failing after 7s
6e94200ac8
copy recursively
Some checks failed
/ test-and-lint (push) Failing after 6s
/ build-and-publish (push) Successful in 12s
41b0bd395b
ready to merge
Some checks failed
/ test-and-lint (push) Failing after 10s
2234895ed3
fixed test running before server online
Some checks failed
/ test-and-lint (push) Failing after 12s
bba92b0c32
more time
All checks were successful
/ test-and-lint (push) Successful in 12s
0cf0aafb28
antman merged commit 451c05efc1 into main 2026-08-03 05:37:34 +00:00
antman deleted branch add-spec-file 2026-08-03 05:37:34 +00:00
antman referenced this pull request from a commit 2026-08-03 05:37:36 +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/state-manager!1
No description provided.