Commit Graph

529 Commits

Author SHA1 Message Date
8fc9cb31c4 feat(depends): Check call to kubernetes API 2026-03-08 23:50:29 +01:00
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
269717eb1c fix(err): No port with depends_on
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
61896baad8 feat(logger) Change others logs 2026-03-08 22:46:26 +01:00
feff997aba feat(logger): Add a Fatal logger 2026-03-08 22:38:03 +01:00
89e331069e Merge pull request 'Typo: replace "skpped" with "skipped"' (#183) from macier-pro/katenary:fix-typos into master
Reviewed-on: Katenary/katenary#183
2026-01-28 20:34:08 +00:00
88ce6d4579 Typo: Replace "skpped" with "skipped" 2026-01-19 09:11:45 +00:00
3e80221641 Merge pull request 'fix: convent error' (#178) from kanrin/katenary:master into master
Reviewed-on: Katenary/katenary#178
2025-12-07 10:08:33 +00:00
Orz
990eda74eb fix: convent error 2025-10-28 18:42:06 +08:00
7230081401 fix(install): bad release substitution 2025-10-20 00:02:53 +00:00
f0fc694d50 Fix typo
not important but...
2025-10-18 13:22:36 +00:00
d92cc8a01c Fixup comments remove hard coded tagname 2025-10-18 13:22:36 +00:00
3abfaf591c feat(install)
Installation should now be taken from katenary.io
2025-10-18 13:22:36 +00:00
569ca195df chore(packages) Use compose-go v2
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
9bd1ebb59a chore(doc) Regenerate doc code releases/3.0.0 releases/3.0.0-rc9 2025-09-23 12:34:05 +02:00
614a1df5ba fix(dependson): Fixes how depends-on are managed
- 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
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
b8333eacf2 chore(go): At this time, stay with 1.24 for development
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
bd24e833cb chore(oci): rename the step 2025-09-16 13:49:38 +02:00
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
8c443ba402 chore(doc): regenerate the doc 2025-09-16 08:59:27 +02:00
a4647aa69a chore(code): Unecessary type checking
Changed how to use the type checking for label content.
2025-09-16 08:58:51 +02:00
f3c1bf39fe chore(doc): Document code 2025-09-15 13:36:22 +02:00
e3cad1e561 chore(tests): Test only when it's necessary
Pushing documentation, README.md or install.sh should not launch go test
2025-09-15 13:31:31 +02:00
debe43ce34 chore(tests): enhance output
- 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
9472952d65 feat(tests): Verbose test coverage 2025-09-14 23:43:42 +02:00
03b4d5c714 fix(volume) File from project root failed
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
8358b068b3 Merge pull request 'fix(build): Version prefix should be "v"' (#167) from fix-build-version into master
Reviewed-on: Katenary/katenary#167
2025-09-05 09:08:11 +00:00
0de7102b2b fix(build): Version prefix should be "v"
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
1f3154e214 feat(actions): Add a name for the "build package" task 2025-08-29 13:35:51 +02:00
31ff1371d6 feat(doc): regeneration
Line changed after generation
2025-08-29 13:35:31 +02:00
6cd1c92997 feat(doc): Enhancement, cleanup, add package instructions
- 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
6c2e8fa9b2 chore(typo): remove invisible characters releases/3.0.0-rc7 2025-08-22 14:06:00 +02:00
46f41ea01d Enhance versionning on build packages (#165)
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: Katenary/katenary#165
2025-08-22 14:03:36 +02:00
d30690a45a packages(actios): extract version from releases tags 2025-08-22 10:09:10 +02:00
00409472b7 chore(packages): Make better packages
- 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
8174597c55 More visible message 2025-08-20 14:35:03 +02:00
ea11563ee0 feat(repo): needed to checkout 2025-08-20 12:24:58 +02:00
2de50f5158 feat(doc): Change repo to katenary.io 2025-08-20 12:16:14 +02:00
e3951b144e feat(repo): Modify github on push
- Close all PR
- Add mirror information in README.md
2025-08-20 12:14:54 +02:00
94792121a2 Merge pull request 'fix(generator): use args and command' (#164) from fixes/bug-163 into master
Reviewed-on: Katenary/katenary#164
2025-08-20 07:42:02 +00:00
b7a036a3dd fix(generator): use args and command
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
d1f2957512 Merge pull request 'feat-move-to-gitea' (#162) from feat-move-to-gitea into master
Reviewed-on: Katenary/katenary#162
2025-08-19 22:06:28 +00:00
95609a3092 feat(repo): use the katenary.io URL 2025-08-19 23:58:51 +02:00
8e54d611eb feat(doc): Remove other github references 2025-08-19 23:58:26 +02:00
ef1ff2737f feat(repo): Change references to katenary repository 2025-08-19 23:36:48 +02:00
d34f97fa5d feat(repo): Go to repo.katenary.io 2025-08-19 23:23:17 +02:00
c85e61f5d0 Merge branch 'master' of repo.katenary.io:Katenary/katenary 2025-08-19 23:20:12 +02:00
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
677b0d7b3c Merge pull request 'feat(actions): Change action to Gitea' (#161) from test-workflow into master
Reviewed-on: Katenary/katenary#161
2025-08-19 19:59:17 +00:00