Commit Graph
100 Commits
Author SHA1 Message Date
metal3d 4336490a72 feat(actions): Change action to Gitea
- Build and packages on Gitea action
- Use go 1.25
- Update dependencies
2025-08-19 21:52:33 +02:00
metal3d 9f75f874d1 Features/buildah build (#159)
* feat(oci): Build using pure Buildah
2025-08-13 10:20:48 +02:00
metal3d 90eda75219 feat(oci): Use Buildah
And set version the right way...
2025-08-04 16:18:35 +02:00
metal3d b13e922966 feat(package) Version were not correctly set
As the code moved in "internal" package, we need to set the version to
the new location
2025-08-04 16:13:35 +02:00
metal3d 0d36a48f93 fix(securty): Fix security alert
Code scanning alert: we need to specify permissions on this action.
2025-08-03 23:29:39 +02:00
metal3d 60016b8c3e Merge pull request #157 from Katenary/features/oci-image
Features/oci image
2025-08-03 23:06:06 +02:00
metal3d 07263520b6 feat(oci): remove testing on push branches 2025-08-03 23:01:54 +02:00
metal3d 0f3812b666 feat(oci): Add OCI image generation
Not fully tested but it should produce an image in ghcr.io
2025-08-03 22:54:19 +02:00
metal3d 50a9d0ddde feat(md): fixes typo and rules 2025-08-03 22:53:53 +02:00
metal3d f5d3005c3b Merge pull request #156 from Katenary/feat-move-to-internal
feat(refacto): move everything in internal package
2025-08-03 16:03:17 +02:00
metal3d 76b3b83d07 feat(workflow): change when to make CI
We will abandon develop branch for a while. It's better to work with
feature branches.
2025-08-03 15:59:00 +02:00
metal3d 14ca5bf0ea feat(refacto): move everything in internal package
This allows to install katenary with `go install` and to clean up the
project folder.
2025-08-03 15:54:58 +02:00
metal3d d1768e5742 Merge pull request #155 from Katenary/develop
Develop
2025-08-03 14:20:17 +02:00
metal3d 0fcf0f60e8 chore(modules): Update versions 2025-08-03 14:15:55 +02:00
metal3d e9ad85a0ac chore(make): Split and enhancements
- split Makefile in several sub files
- use a separated container for tests
-
2025-08-03 14:15:35 +02:00
metal3d b4b122fe7f Do not ignore cmd/katenary directory 2025-08-03 14:14:29 +02:00
metal3d 6aaeda7a3c chore(modernize): use iterator 2025-08-03 14:13:57 +02:00
metal3d 0b3f7b2b5c chore(code): remove dead code 2025-08-03 14:13:42 +02:00
metal3d e9e7c5f7b5 chore(test): fix concurrency problem 2025-08-03 14:12:49 +02:00
metal3d 0df53ed5ae Merge pull request #154 from Katenary/develop
fix(configmap): File from the root of project ends by a dash
2025-08-03 13:16:21 +02:00
metal3d 136478aff7 fix(configmap): File from the root of project ends by a dash
fixes #150

If we mount a file from the root of project, the names ends by a dash.
That makes helm failing to install the package.
2025-08-03 10:20:11 +02:00
metal3d 5b812b30f7 Merge pull request #146 from Katenary/develop
fix(katenaryfile): Schema is broken without json annotation
2025-07-15 21:25:39 +02:00
metal3d f2b5c16e71 fix(katenaryfile): Schema is broken without json annotation
We need to add json annotation. The yaml annoation is not enought when
generating the schema.
2025-07-15 21:24:17 +02:00
metal3d df1f29c0ff Merge pull request #145 from Katenary/develop
fix(katenaryfile): Fix parsing katenary file
2025-07-15 21:18:45 +02:00
metal3d afbd6fc1ac fix(katenaryfile): Fix parsing katenary file
It seems that "json" annotation fails to get dashed names (like
configmap-files). That means that all labels in katernay.yaml file
couldn't be parsed.

Using `yaml` annotaiton fixes the problem. Fixes #144.
2025-07-15 21:13:22 +02:00
metal3d 327e0aa799 Merge pull request #142 from Katenary/develop
chore(make): manpage requirements are now in requirements
2025-07-15 13:58:48 +02:00
metal3d b7e948954b chore(make): manpage requirements are now in requirements 2025-07-15 13:57:35 +02:00
metal3d 93c0658c19 Merge pull request #141 from Katenary/develop
Develop
2025-07-15 13:53:20 +02:00
metal3d bdf74f2deb chore(cleanup): removed unecessary file 2025-07-15 13:51:21 +02:00
metal3d 2435bb9f8a chore(doc): Rebuild label list and description 2025-07-15 13:50:07 +02:00
metal3d 5ee38dcf7f Merge pull request #140 from Katenary/develop
Develop
2025-07-15 13:45:38 +02:00
metal3d a754dc9275 fix(make): no need to auto retrieve key now 2025-07-15 13:44:25 +02:00
metal3d 732e080da3 Merge branch 'master' into develop 2025-07-15 13:42:15 +02:00
metal3d 22e1ebdce1 chore(make): huge refactor, add more tests
- more test on gpg signature
- change build target in the help message
- refactor upx compression
-
2025-07-15 13:41:49 +02:00
metal3d e4280f2c4e chore(build): Fixes cache, add better cleanup, add PHONY 2025-07-15 10:27:24 +02:00
metal3d a99609d21d Merge pull request #139 from Katenary/develop
fix(doc): Fix documentation linkg
2025-07-13 15:41:01 +02:00
metal3d e55658d382 fix(doc): Fix documentation linkg
No translation, so remove "en" from the url.
2025-07-13 15:40:30 +02:00
metal3d 9dbe9e1114 Merge pull request #138 from Katenary/develop
Develop
2025-07-13 15:37:31 +02:00
metal3d eea198786a fix(doc): Readthedocs needs manpage plugin
A pitty, I wanted to leave it separated
2025-07-13 15:29:16 +02:00
metal3d da9c0a7b58 chore(doc): regenerate and fixes a typo 2025-07-13 15:16:39 +02:00
metal3d d582b884bf chore(rules): Avoid mardownlint to complain 2025-07-13 15:16:20 +02:00
metal3d aa3e4c64ee chore(ignore): ignoring binary in the current directory 2025-07-13 15:08:32 +02:00
metal3d ce479629f6 fix(service): Fixes naming service ports
- ports should be named "port-XXX" with XXX to be the port number if the
port name cannot be discovered
- it follows what we do in Deployment objects
- this should fix #132
2025-07-13 15:02:26 +02:00
metal3d 89fd516b20 Merge pull request #137 from Katenary/develop
Develop
2025-07-13 00:53:45 +02:00
metal3d 8bbb991afb chore(doc): Move to new repository 2025-07-13 00:43:21 +02:00
metal3d 4c5c9ba553 chore(doc): Move to new repository 2025-07-13 00:39:25 +02:00
metal3d ef1511d4f7 Merge pull request #134 from Katenary/develop
Develop
2025-07-13 00:21:15 +02:00
metal3d a290219c81 chore(licence): I prefer to mention the project 2025-07-13 00:19:02 +02:00
metal3d c4e406f855 chore(moving): Moved repository to organization 2025-07-13 00:17:48 +02:00
metal3d 2beac5f4dd Merge pull request #135 from Katenary/issue-133
fix(deployment): Missed the command from compose file
2025-07-13 00:10:22 +02:00
metal3d 5f5cd0268a fix(deployment): Missed the command from compose file
Fixes #133
2025-07-13 00:07:07 +02:00
metal3d 796cbb6d30 chore(package): Rewrite package targets
- rewrite to make packages building more consistent
- add rpm signature with GPG
- auto test packages in several distributions to ensure the packages are
OK

Even if loops to build stuffs are sometimes easier to automate, it's
simpler to fixup if some rules (targets) are explicitly defined.
2025-07-12 09:12:12 +02:00
metal3d 39ebf7eb78 chore(package): change description, add a final dot 2025-07-12 09:08:41 +02:00
metal3d a1c5161ff7 chore(package): Be able to sign RPM 2025-07-12 09:08:28 +02:00
metal3d 2307ad667e chore(dev): changed how to test version
- force release version check to use "v" (or not) as first character
- one line condtion
2025-07-11 09:17:33 +02:00
metal3d a26e832fed fix(doc): recompiled documentation 2025-07-11 09:16:43 +02:00
metal3d 8582010d90 fix(versionning): Fix version
Version should be x.y.z for releases. It makes things homogenous for
debian version (that needs a number as first char) and it is
semantically better.

At this time, the Makefile is OK. Maybe we don't need `PKG_VERSION`
later.
2025-07-10 15:15:25 +02:00
metal3d b7186eb8b4 chore(makefile): Refacto
Refactor the makefile:

- use the "package" container image to build windows installer
- cleanup and reorder targets
- enhance the way we named packages (add version and architecture to the
name)
2025-07-10 08:13:49 +02:00
metal3d 0f3528818f chore(package): Add NSIS to the package image
This container image can make Windows installer too.
2025-07-10 08:11:39 +02:00
metal3d 9fadc77979 chore(package): Add application in registry
Allow the application to appear in "Install/Uninstall" Windows
parameters.
2025-07-10 08:10:11 +02:00
metal3d 13d231a62c feat(package): Add RPM, deb, pacman and tar packages and manpage
Build package using fpm. As I don't want ruby/gem in my computer, the
build system creates an OCI image with Podman (at this time), and
generate dist pacakges.

To enhance the packages, a manpage is now generated from the
documentation.
2025-07-09 14:11:46 +02:00
metal3d 6cbaa06bec chore(license): Change date and copyright
I keep MIT license, just changed date and pseudo
2025-07-07 23:50:03 +02:00
metal3d 1552e9c877 Merge pull request #131 from metal3d/develop
Develop
2025-07-07 23:02:13 +02:00
metal3d 3b2cd37ea4 chore(test): add tests 2025-07-07 22:48:13 +02:00
metal3d 4c566cbc1a fix(doc): Fix function doc 2025-07-07 22:47:59 +02:00
metal3d 69c528e5e0 chore(doc): Enhance documentation, fix typo 2025-07-07 22:10:27 +02:00
metal3d 42bf35593f chore(makefile): rewrite correctly some rules
- cleanup
- sign and check gpg signature
- fixup NSIS installer method
- also sign windows installer
2025-07-07 21:58:15 +02:00
metal3d 4e739c5f08 fix(doc): Fixing duplicated package 2025-07-07 21:57:14 +02:00
metal3d f75623b4ff chore(nsis): sort language
Sort all languages, excepting the first one wich is the default language
2025-07-07 21:31:58 +02:00
metal3d d82b5e4a98 feat(nsis): Add more languages, files and license page
- Include maximum of language for the Windows installer
- Add licence page to inform the user that Katenary is free (as freedom)
2025-07-07 18:18:20 +02:00
metal3d 42c738211c fix(build): Fixing build, do not use alpine
Alpine image seems to break the Windows binary (striped by error) and
makes katenary unusable.
2025-07-07 17:59:16 +02:00
metal3d c54bc35c9f feat(nsis): Create installer for Windows
Use nsis to create an installer for Windows user. It installs the binary
for the user (for now) and set the Path to access katenary binary from
cmd or Powershell.
2025-07-07 17:58:21 +02:00
metal3d 1f406dc558 Merge pull request #130 from metal3d/develop
fix(build): Windows is a shame
2025-07-07 13:50:31 +02:00
metal3d 0c0b50b0df fix(build): Windows is a shame
- Windows defender says that UPX compressed files are virus
(https://github.com/upx/upx/issues/437) so I stop using this for
Windows. Sorry, you will download a huge binary
- Windows, one more time, stop making the binary working when it's
stripped. Then, one more time, I cannot reduce the binary size

I'm thinking very seriously about no longer offering support for Windows
and letting people compile Katenary on their own.
2025-07-07 13:47:27 +02:00
metal3d 6efee2fbae Merge pull request #129 from metal3d/develop
Many fixes on code quality and CI
2025-07-06 15:37:08 +02:00
metal3d 47e149e20b chore(doc): Regenerated doc 2025-07-06 15:36:43 +02:00
metal3d d163700147 feat(tests): Add tests for label structures 2025-07-06 15:31:21 +02:00
metal3d fa3befaa88 fix(tests): Fixing unbound error 2025-07-06 15:31:05 +02:00
metal3d e5b7c0d550 fix(doc): Respect Go recommandation in docstring 2025-07-06 15:30:31 +02:00
metal3d 9e4663cc6e chore(convention): Respect Go convention, package name should be lowercase 2025-07-06 14:34:16 +02:00
metal3d 1a5c95d240 fix(ci): typo in permission block 2025-07-06 14:26:20 +02:00
metal3d 21845c5de1 fix(ci): typo in permission block 2025-07-06 14:24:12 +02:00
metal3d 4a91d458fd fix(ci): try to add permission block 2025-07-06 14:21:56 +02:00
metal3d a52b20efab Merge pull request #128 from metal3d/feat-change-actions
Feat change actions
2025-07-06 14:16:38 +02:00
metal3d 02c4c5168b feat(ci): Changes CI
- use SonarQube action
- remove the helm installation as it is already present
- changes types and branches activation
2025-07-06 14:13:23 +02:00
metal3d 7b875454cb feat(chore): use range over int
More readable range
2025-07-06 11:53:56 +02:00
metal3d 2da5d9df08 feat(chore): modernize code 2025-07-06 11:53:24 +02:00
metal3d a0eb3c0bb6 fix(doc): Fix doc string 2025-07-06 11:52:48 +02:00
metal3d 7e76543c48 fix(doc): Fix the docstring following Go recommandation 2025-07-06 11:41:19 +02:00
metal3d 09c2c86d59 fix(permission): globalize and fixes
Permission alert frop OpenGrep is wrong, as the directory must use 0755.
To make things working and to ease futur changes, I set the default
permission in a constant.
2025-07-06 11:39:19 +02:00
metal3d e58948bb44 feat(code): use better check on empty string 2025-07-06 10:53:18 +02:00
metal3d a00b03b2aa feat(chore): Add SAST with opengrep 2025-07-06 10:52:56 +02:00
metal3d b47b956798 fix(install): Enhance checks and code
- Opengrep complains about non quoted strings
- Bad indentation fixed
2025-07-06 10:52:35 +02:00
metal3d a409a1347e feat(chore): rename variable 2025-07-06 10:51:25 +02:00
metal3d 8999aabc21 fix(security): Change access rights on generated directories
Ppengrep complains, it is right.
2025-07-06 10:51:09 +02:00
metal3d 14e8907437 feat(doc): Add package doc for labels 2025-07-06 10:49:54 +02:00
metal3d 740c400b9a Merge pull request #127 from metal3d/develop
feat(doc): regenerate the package docs
2025-07-04 15:05:34 +02:00
metal3d 7cd38bbd23 feat(doc): regenerate the package docs 2025-07-04 14:59:49 +02:00
metal3d 8c509b5bff Merge pull request #126 from metal3d/develop
Merge branch 'master' into develop
2025-07-04 14:53:00 +02:00
metal3d 28b22a0b30 Merge branch 'master' into develop 2025-07-04 14:49:35 +02:00