100 Commits
Author SHA1 Message Date
metal3d 9924ede999 Merge pull request 'feature/better-depends-on' (#184) from feature/better-depends-on into master
Go-Tests / tests (push) Successful in 1m32s
Go-Tests / sonar (push) Successful in 49s
Reviewed-on: #184
2026-05-02 12:43:01 +00:00
metal3d 7ee6b74b10 feat(depends): fixes the tests 2026-03-17 10:46:54 +01:00
metal3d b40378ec23 feat(quality): enhance logger
Warnings are flushed after the generation to help the user to find
issues.
Colors are better defined.
2026-03-17 10:39:48 +01:00
metal3d 0b1a45319f feat(depends): fixes the API point 2026-03-17 10:39:04 +01:00
metal3d e879c3f10f feat(depends): Warn user that the service is not created 2026-03-16 22:20:24 +01:00
metal3d 985418ae51 feat(quality): fixes some bad patterns
Go-Tests / tests (pull_request) Successful in 2m8s
Go-Tests / sonar (pull_request) Successful in 40s
2026-03-16 21:37:50 +01:00
metal3d 0e133ae6db fix(path): fixing the default compose file check
Go-Tests / tests (pull_request) Successful in 1m54s
Go-Tests / sonar (pull_request) Successful in 1m15s
2026-03-15 21:50:26 +01:00
metal3d 5d839035b9 feat(depends): add suffix on RBAC and SA 2026-03-15 10:15:47 +01:00
metal3d 7e1bbdc9b3 feat(quality): remove unused modules 2026-03-15 09:43:58 +01:00
metal3d f175416ac2 feat(quality): fix duplicates and modernize 2026-03-15 09:43:16 +01:00
metal3d 613baaf229 feat(depends): add RBAC 2026-03-15 08:55:24 +01:00
metal3d 8fc9cb31c4 feat(depends): Check call to kubernetes API 2026-03-08 23:50:29 +01:00
metal3d 78b5af747e feat(depends): Use kubernetes API for depends_on management
We were using netcat to port to check if a service is up, but actually
we can do like Docker / Podman compose and check the status. For now,
I'm using the endpoint status, but maybe we can just check if the object
is "up".
2026-03-08 23:47:13 +01:00
metal3d 269717eb1c fix(err): No port with depends_on
Go-Tests / tests (push) Successful in 3m25s
Go-Tests / sonar (push) Successful in 42s
As #182 were not clear, the `depends_on` from a compose file needs, at
this time, to check the port of the dependent service. If the port is
not declared (ports or with label), we need to "fail", not to "warn.

Fixes #182
2026-03-08 22:52:24 +01:00
metal3d 61896baad8 feat(logger) Change others logs 2026-03-08 22:46:26 +01:00
metal3d feff997aba feat(logger): Add a Fatal logger 2026-03-08 22:38:03 +01:00
metal3d 89e331069e Merge pull request 'Typo: replace "skpped" with "skipped"' (#183) from macier-pro/katenary:fix-typos into master
Go-Tests / tests (push) Successful in 2m33s
Go-Tests / sonar (push) Successful in 42s
Reviewed-on: #183
2026-01-28 20:34:08 +00:00
metal3d 3e80221641 Merge pull request 'fix: convent error' (#178) from kanrin/katenary:master into master
Go-Tests / tests (push) Successful in 1m39s
Go-Tests / sonar (push) Successful in 37s
Reviewed-on: #178
2025-12-07 10:08:33 +00:00
metal3d 7230081401 fix(install): bad release substitution 2025-10-20 00:02:53 +00:00
metal3d f0fc694d50 Fix typo
not important but...
2025-10-18 13:22:36 +00:00
metal3d d92cc8a01c Fixup comments remove hard coded tagname 2025-10-18 13:22:36 +00:00
metal3d 3abfaf591c feat(install)
Installation should now be taken from katenary.io
2025-10-18 13:22:36 +00:00
metal3d 569ca195df chore(packages) Use compose-go v2
Go-Tests / sonar (push) Successful in 54s
Go-Tests / tests (push) Successful in 2m7s
This prepares the next release. We need to support the compose v2 syntax
as soon as possible to avoid accumulating technical debt.
2025-10-18 14:43:16 +02:00
metal3d 9bd1ebb59a chore(doc) Regenerate doc code
Build release binaries and packages / build-packages (amd64, darwin) (push) Successful in 1m7s
Build release binaries and packages / build-packages (amd64, freebsd) (push) Successful in 2m30s
Build release binaries and packages / build-packages (amd64, linux) (push) Successful in 2m24s
Build release binaries and packages / build-packages (amd64, windows) (push) Successful in 2m9s
Build release binaries and packages / build-packages (arm64, freebsd) (push) Successful in 3m16s
Build release binaries and packages / build-packages (arm64, linux) (push) Successful in 3m33s
Build and push OCI image / build (push) Successful in 3m9s
2025-09-23 12:34:05 +02:00
metal3d 614a1df5ba fix(dependson): Fixes how depends-on are managed
Go-Tests / tests (push) Successful in 2m41s
Go-Tests / sonar (push) Successful in 58s
- depends-on were not renamed
- static files were not well managed
- droping depends-on deployment to fast

fixes #174 and #173
2025-09-23 12:30:43 +02:00
metal3d f0436ebce1 fix(err): When Katenary fails, help message was displayed
This is because Cobra thought the command was not correct.
2025-09-23 12:28:58 +02:00
metal3d b8333eacf2 chore(go): At this time, stay with 1.24 for development
Go-Tests / tests (push) Successful in 2m45s
Go-Tests / sonar (push) Successful in 1m2s
Build release binaries and packages / build-packages (amd64, darwin) (push) Successful in 1m34s
Build release binaries and packages / build-packages (amd64, freebsd) (push) Successful in 2m47s
Build release binaries and packages / build-packages (amd64, linux) (push) Successful in 3m18s
Build release binaries and packages / build-packages (arm64, freebsd) (push) Successful in 2m42s
Build release binaries and packages / build-packages (arm64, linux) (push) Successful in 1m44s
Build and push OCI image / build (push) Successful in 1m54s
Build release binaries and packages / build-packages (amd64, windows) (push) Successful in 2m53s
Even if it works on CI, Go 1.24 is actually easier to manage in
different Linux distributions.

Maybe we will change the requiments:

- if I decide that Fedora 43 (next release) is the "official
distribution to use for development)
- if I decide to ask developpers to use Homebrew to install Go
- others reasons

As I decided, at this time, to use RPM version of golang, the 1.24
version is probably the best choice for the moment.
2025-09-22 13:52:10 +02:00
metal3d bd24e833cb chore(oci): rename the step
Go-Tests / tests (push) Successful in 2m11s
Go-Tests / sonar (push) Successful in 52s
2025-09-16 13:49:38 +02:00
metal3d a17d35df03 chore(oci): Enhance OCI build
There were too many `${IMAGE_NAME,,}` to always do a lower case
operation. I now export the variable in the first step.
2025-09-16 13:49:11 +02:00
metal3d 8c443ba402 chore(doc): regenerate the doc
Go-Tests / tests (push) Successful in 2m37s
Go-Tests / sonar (push) Successful in 1m2s
2025-09-16 08:59:27 +02:00
metal3d a4647aa69a chore(code): Unecessary type checking
Changed how to use the type checking for label content.
2025-09-16 08:58:51 +02:00
metal3d f3c1bf39fe chore(doc): Document code
Go-Tests / tests (push) Successful in 2m13s
Go-Tests / sonar (push) Successful in 48s
2025-09-15 13:36:22 +02:00
metal3d e3cad1e561 chore(tests): Test only when it's necessary
Go-Tests / tests (push) Successful in 2m39s
Go-Tests / sonar (push) Successful in 51s
Pushing documentation, README.md or install.sh should not launch go test
2025-09-15 13:31:31 +02:00
metal3d debe43ce34 chore(tests): enhance output
Go-Tests / tests (push) Successful in 2m18s
Go-Tests / sonar (push) Successful in 55s
- use a better logger separation
- use tags not not overload the CI output
- removed lot of log.Println/Fatal/Error
2025-09-15 13:02:54 +02:00
metal3d 9472952d65 feat(tests): Verbose test coverage
Go-Tests / sonar (push) Successful in 50s
Go-Tests / tests (pull_request) Successful in 1m42s
Go-Tests / sonar (pull_request) Successful in 41s
Go-Tests / tests (push) Successful in 1m40s
2025-09-14 23:43:42 +02:00
metal3d 03b4d5c714 fix(volume) File from project root failed
Go-Tests / tests (pull_request) Successful in 1m47s
Go-Tests / sonar (pull_request) Successful in 48s
Go-Tests / tests (push) Successful in 1m37s
Go-Tests / sonar (push) Successful in 46s
When mounting one file from the root of the project (e.g. ./file.txt),
the volume name is empty. In this case, we generate the volume name from
the subpath.
2025-09-14 23:23:11 +02:00
metal3d 8358b068b3 Merge pull request 'fix(build): Version prefix should be "v"' (#167) from fix-build-version into master
Go-Tests / tests (push) Successful in 1m40s
Go-Tests / sonar (push) Successful in 46s
Reviewed-on: #167
2025-09-05 09:08:11 +00:00
metal3d 0de7102b2b fix(build): Version prefix should be "v"
Go-Tests / tests (pull_request) Successful in 3m26s
Go-Tests / sonar (pull_request) Successful in 43s
In version.go, we check the "v" or "release-" prefix. Without this one,
the version is built from "build info".
2025-09-05 10:09:28 +02:00
metal3d 1f3154e214 feat(actions): Add a name for the "build package" task
Go-Tests / tests (push) Successful in 1m51s
Go-Tests / sonar (push) Successful in 1m4s
2025-08-29 13:35:51 +02:00
metal3d 31ff1371d6 feat(doc): regeneration
Line changed after generation
2025-08-29 13:35:31 +02:00
metal3d 6cd1c92997 feat(doc): Enhancement, cleanup, add package instructions
Go-Tests / tests (pull_request) Successful in 1m48s
Go-Tests / sonar (pull_request) Successful in 52s
Go-Tests / tests (push) Successful in 3m30s
Go-Tests / sonar (push) Successful in 50s
- remove trailing spaces
- add instruction for packages
- reindent YAML examples
- remove section telling that there is no config files, as
`katenary.yaml` file can now be used
2025-08-29 13:24:32 +02:00
metal3d 6c2e8fa9b2 chore(typo): remove invisible characters
/ build-packages (amd64, darwin) (push) Successful in 1m4s
/ build-packages (amd64, freebsd) (push) Successful in 1m52s
/ build-packages (amd64, linux) (push) Successful in 2m15s
/ build-packages (amd64, windows) (push) Successful in 1m24s
/ build-packages (arm64, freebsd) (push) Successful in 1m48s
/ build-packages (arm64, linux) (push) Successful in 2m13s
Build and push OCI image / build (push) Successful in 1m57s
Go-Tests / sonar (push) Successful in 42s
Go-Tests / tests (push) Successful in 1m31s
2025-08-22 14:06:00 +02:00
metal3d 46f41ea01d Enhance versionning on build packages (#165)
Go-Tests / sonar (push) Has been cancelled
Go-Tests / tests (push) Has been cancelled
It was too challenging to only use "tags" without a prefix to trigger builds. So, the new rule is to prefix releases tags by "releases/"

Reviewed-on: #165
2025-08-22 14:03:36 +02:00
metal3d d30690a45a packages(actios): extract version from releases tags
Go-Tests / tests (push) Successful in 2m2s
Go-Tests / sonar (push) Successful in 43s
2025-08-22 10:09:10 +02:00
metal3d 00409472b7 chore(packages): Make better packages
Go-Tests / tests (push) Successful in 1m30s
Go-Tests / sonar (push) Successful in 52s
- we need man page in docs to build on CI/CD platform
- new workflows to build packages and push them to the repository
2025-08-21 17:55:28 +02:00
metal3d 8174597c55 More visible message
Go-Tests / tests (push) Successful in 2m0s
Go-Tests / sonar (push) Successful in 52s
2025-08-20 14:35:03 +02:00
metal3d ea11563ee0 feat(repo): needed to checkout
Go-Tests / tests (push) Successful in 1m51s
Go-Tests / sonar (push) Successful in 51s
2025-08-20 12:24:58 +02:00
metal3d 2de50f5158 feat(doc): Change repo to katenary.io
Go-Tests / tests (push) Successful in 1m59s
Go-Tests / sonar (push) Successful in 52s
2025-08-20 12:16:14 +02:00
metal3d e3951b144e feat(repo): Modify github on push
- Close all PR
- Add mirror information in README.md
2025-08-20 12:14:54 +02:00
metal3d 94792121a2 Merge pull request 'fix(generator): use args and command' (#164) from fixes/bug-163 into master
Go-Tests / tests (push) Successful in 1m50s
Go-Tests / sonar (push) Successful in 50s
Reviewed-on: #164
2025-08-20 07:42:02 +00:00
metal3d b7a036a3dd fix(generator): use args and command
Go-Tests / tests (pull_request) Successful in 1m57s
Go-Tests / sonar (pull_request) Successful in 47s
Common mistake...

- Docker and Podman uses "command" as argument to "entrypoint"
- Kubernetes uses "command" as entrypoint and "args" as argument

So, we needed to use Command and Args in all related objects.

Fixes #163
2025-08-20 09:37:36 +02:00
metal3d d1f2957512 Merge pull request 'feat-move-to-gitea' (#162) from feat-move-to-gitea into master
Go-Tests / tests (push) Successful in 1m44s
Go-Tests / sonar (push) Successful in 48s
Reviewed-on: #162
2025-08-19 22:06:28 +00:00
metal3d 95609a3092 feat(repo): use the katenary.io URL
Go-Tests / tests (pull_request) Successful in 2m0s
Go-Tests / sonar (pull_request) Successful in 57s
2025-08-19 23:58:51 +02:00
metal3d 8e54d611eb feat(doc): Remove other github references 2025-08-19 23:58:26 +02:00
metal3d ef1ff2737f feat(repo): Change references to katenary repository 2025-08-19 23:36:48 +02:00
metal3d d34f97fa5d feat(repo): Go to repo.katenary.io 2025-08-19 23:23:17 +02:00
metal3d c85e61f5d0 Merge branch 'master' of repo.katenary.io:Katenary/katenary
Go-Tests / tests (push) Successful in 1m49s
Go-Tests / sonar (push) Successful in 49s
2025-08-19 23:20:12 +02:00
metal3d f1c31b0eeb feat(doc): move some things in README
As we moved project to repo.katenary.io, badges were not OK
2025-08-19 22:31:50 +02:00
metal3d 677b0d7b3c Merge pull request 'feat(actions): Change action to Gitea' (#161) from test-workflow into master
Go-Tests / tests (push) Successful in 1m59s
Go-Tests / sonar (push) Successful in 1m7s
Reviewed-on: #161
2025-08-19 19:59:17 +00:00
metal3d f539be8f52 Remove proxy
Go-Tests / tests (pull_request) Successful in 2m29s
Go-Tests / sonar (pull_request) Successful in 51s
2025-08-19 21:54:01 +02:00
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