Commit Graph

537 Commits

Author SHA1 Message Date
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
macier-pro 88ce6d4579 Typo: Replace "skpped" with "skipped"
Go-Tests / tests (pull_request) Successful in 1m39s
Go-Tests / sonar (pull_request) Failing after 35s
2026-01-19 09:11:45 +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
Orz 990eda74eb fix: convent error
Go-Tests / tests (pull_request) Successful in 2m54s
Go-Tests / sonar (pull_request) Failing after 24s
2025-10-28 18:42:06 +08: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 / tests (push) Successful in 2m7s
Go-Tests / sonar (push) Successful in 54s
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
releases/3.0.0-rc9 releases/3.0.0
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.
releases/3.0.0-rc8
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
releases/3.0.0-rc7
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