metal3d
e9e7c5f7b5
chore(test): fix concurrency problem
2025-08-03 14:12:49 +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
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
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
b7e948954b
chore(make): manpage requirements are now in requirements
2025-07-15 13:57:35 +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
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
metal3d
748d0bf1ea
Merge pull request #120 from metal3d/develop
2025-06-27 00:27:49 +02:00
metal3d
130e6d4e24
chore(dependencies): Update dependencies
2025-06-26 23:57:44 +02:00
metal3d
a66fec07e1
chore(optim): Optimizing some piece of code
...
Simply use modern methods
2025-06-26 23:57:19 +02:00
metal3d
a3d1e9342f
fix(doc): Follow Go recommendations
2025-06-26 23:56:06 +02:00
metal3d
72bc88661a
fix(convension): Fix APIVersion
...
Sonarlint complains about "ApiVersion"
2025-06-26 23:37:20 +02:00
metal3d
e2b897eb9d
fix(generation): Fix container name
...
Container names were built using the service name. We didn't checked the
name and leave underscores inside.
This commit does:
- fix all service and rename containers (`container_name`)
- use `ContainerName` everywhere we need to get the container by name
See #106
2025-06-26 23:37:20 +02:00
metal3d
9fcce059e5
fix(doc): Fixing method name in comment
2025-06-26 23:18:11 +02:00
metal3d
36f6413917
feat(build): UPX compression
...
UPX can compress binaries from 22Mo to 7Mo on Linux / Windows and 14Mo
on MacOS. Let's use it to reduce binary size.
I don't know why it doesn't work on FreeBSD.
2025-06-15 16:02:45 +02:00
metal3d
8c729f3c57
fix(build): remove "-it" options
...
Building in parallel make a warn message as TTY is not OK
2025-06-15 16:01:16 +02:00
metal3d
063cc9d439
Merge pull request #119 from metal3d/develop
...
Develop
2025-06-15 16:14:10 +03:00
metal3d
ac5317e600
feat(doc): regenerate docs
2025-06-15 14:48:35 +02:00
metal3d
bc0b65006d
feat(doc): Add doc target
...
This only regenerates docs for packages.
2025-06-15 14:48:24 +02:00
metal3d
933f04bf5e
feat(version): change Go version
2025-06-15 14:43:58 +02:00
metal3d
7d46435ba2
Merge pull request #118 from metal3d/develop
...
Develop
2025-06-04 15:22:09 +02:00
metal3d
d94bb8ac32
feat(doc): regenerate documentation
2025-06-04 15:18:11 +02:00
metal3d
b143f743ef
feat(chore): Add tests and use "any" instead of "inteface"
2025-06-04 15:17:26 +02:00
metal3d
a8341a9b44
feat(tests): .Close() can be "unchecked"
2025-06-04 14:41:53 +02:00
metal3d
def5d097a4
feat(tests): Fixing linter problems
...
Using golangci-lint
2025-06-04 14:29:13 +02:00
metal3d
ba0ae1bc60
Merge pull request #117 from metal3d/develop
...
Develop
2025-06-04 09:51:48 +02:00
metal3d
d77029b597
feat(version): update dependencies
...
New versions for:
- Cobra
- K8S API
- indirect subpackages
2025-06-04 09:48:52 +02:00
metal3d
b5f62d43af
fix(test): Fix non constant string format
...
Go 1.24 made several changes about formatting messages:
https://tip.golang.org/doc/go1.24#vet
These changes make tests (and vet) craching.
The fix is to use a string format and give error message as argument.
2025-06-04 09:46:13 +02:00
metal3d
9220dc3278
fix(test): Fix bad test
...
We were failing if the test is OK...
2025-06-04 09:24:33 +02:00
metal3d
36c72fb665
Merge pull request #114 from GSergeevich/readme_fix
...
Fix example of docker-compose.yml
2025-04-02 15:01:06 +02:00
metal3d
9ef961ae7c
issue(107): Really drop ignored services
...
It's, at this time, not needed to keep the ignored services inside the
project. Maybe later someone will ask to keep env variables, or
something like this... But at this time, it's a source of bug like #107 .
2025-01-19 23:38:17 +01:00