Package encapic as an RPM for the VM puppet masters #2

Merged
benvin merged 2 commits from benvin/rpm-packaging into main 2026-09-19 18:40:42 +10:00
Member

The VM puppet masters are dnf-managed hosts moving off cobbler onto encapi, and encapic ships only as a release binary the k8s compilers curl.

  • drive the release with goreleaser, keeping encapic_linux_amd64 and its .sha256 byte-compatible with the compiler initContainer
  • build encapic--1.x86_64.rpm and PUT it to artifactapi rpm-internal
  • install /usr/bin/encapic, the /usr/bin/encapic-enc ENC entrypoint and /etc/encapic/encapic.conf as %config(noreplace)
  • stop nested class parameters in the cobbler-wire document being parsed as extra classes
The VM puppet masters are dnf-managed hosts moving off cobbler onto encapi, and encapic ships only as a release binary the k8s compilers curl. - drive the release with goreleaser, keeping encapic_linux_amd64 and its .sha256 byte-compatible with the compiler initContainer - build encapic-<version>-1.x86_64.rpm and PUT it to artifactapi rpm-internal - install /usr/bin/encapic, the /usr/bin/encapic-enc ENC entrypoint and /etc/encapic/encapic.conf as %config(noreplace) - stop nested class parameters in the cobbler-wire document being parsed as extra classes
unkin-agent added 2 commits 2026-09-19 18:13:00 +10:00
The VM puppet masters are dnf-managed hosts moving off cobbler onto encapi,
and encapic ships only as a release binary the k8s compilers curl.

- drive the release with goreleaser, keeping the encapic_linux_amd64 asset
  and its .sha256 byte-compatible with the compiler initContainer
- build encapic-<version>-1.x86_64.rpm and PUT it to artifactapi rpm-internal
- install /usr/bin/encapic, the /usr/bin/encapic-enc ENC entrypoint and
  /etc/encapic/encapic.conf as %config(noreplace)
- add make rpm/rpm-package/pre-commit and a PR packaging check
Stop nested class parameters being parsed as classes
ci/woodpecker/pr/test Pipeline was successful
ci/woodpecker/pr/pre-commit Pipeline was successful
ci/woodpecker/pr/build Pipeline was successful
2241ea3d72
encapi's cobbler-wire document keys class parameters under the role name, and
the line-based parser treats every indented line as a class, so a node with
class params is classified with the parameter keys as extra classes.

- track the indentation of the classes block and skip deeper lines
- cover the nested form real cobbler-imported nodes return
benvin merged commit fe44518287 into main 2026-09-19 18:40:42 +10:00
benvin deleted branch benvin/rpm-packaging 2026-09-19 18:40:42 +10:00
Sign in to join this conversation.