Commit Graph
19 Commits
Author SHA1 Message Date
Hector Ventura 68d28d49ef fix(config): accept Compose files that use YAML anchors and merge keys in config validate (#65)
* fix(config): accept Compose files that use YAML anchors and merge keys in config validate

config validate read the file without resolving anchors, aliases or merge keys, so a service built from an anchor looked empty and a valid file got two errors and exit 1. The file is now read with its anchors resolved, the way Compose reads it. snakeyaml was already on the classpath through Jackson's YAML module and is now declared, since it is used directly.

Signed-off-by: Hector Ventura <hectorvent@gmail.com>

* fix(config): bound alias expansion and read Compose scalars as YAML 1.2 in config validate

A few nested aliases can describe millions of values; the reader now stops at 100000 and reports the file instead of using up memory. Only true and false are booleans, so a service named on, off, yes or no keeps its name.

Signed-off-by: Hector Ventura <hectorvent@gmail.com>

* fix(config): report a self-referencing alias instead of overflowing the stack in config validate

A recursive alias is a collection that contains itself. The reader now stops at 64 levels of nesting and reports the file, so the command still prints its validation report.

Signed-off-by: Hector Ventura <hectorvent@gmail.com>

---------

Signed-off-by: Hector Ventura <hectorvent@gmail.com>
2026-10-11 21:12:20 -05:00
Hector Ventura 030d468fd3 test: add an opt-in integration suite against the real emulator images (#44)
mvn test -Pintegration drives start, wait, status, env and stop for all four products through the CLI's own command tree, plus two AWS instances side by side, each container uniquely named on a free port and removed afterwards. Tests tagged integration are excluded from the default build. A new Integration workflow runs the suite on main, weekly and on demand.
2026-10-09 22:11:00 -05:00
semantic-release-bot 0746e1a61c chore(release): 0.3.0
# [0.3.0](https://github.com/floci-io/floci-cli/compare/0.2.3...0.3.0) (2026-10-09)

### Bug Fixes

* **cli:** honour --no-color on parse errors and show profile defaults in --help ([#35](https://github.com/floci-io/floci-cli/issues/35)) ([fc67e72](https://github.com/floci-io/floci-cli/commit/fc67e72a625df8156cc69fc2068e6923ae36f2f6))
* **profile:** make profile names, files and exit codes consistent ([#33](https://github.com/floci-io/floci-cli/issues/33)) ([5c0cc33](https://github.com/floci-io/floci-cli/commit/5c0cc339bf0be5937ae3fb561b4cb2103d5325fb))
* **update:** save the update-check cache in the native binary ([#41](https://github.com/floci-io/floci-cli/issues/41)) ([a40c7be](https://github.com/floci-io/floci-cli/commit/a40c7be73242f22edd3f6a93544a63c6c147621e))

### Features

* **az:** configure the az CLI against floci-az with floci az setup ([#29](https://github.com/floci-io/floci-cli/issues/29)) ([7b58a38](https://github.com/floci-io/floci-cli/commit/7b58a38c5a5bf4e2e84991c5400ec3abbab90264))
* **config:** create profiles for instances that run side by side ([#30](https://github.com/floci-io/floci-cli/issues/30)) ([788eb47](https://github.com/floci-io/floci-cli/commit/788eb470fb2d51b0d2b6743a060e709d9970c34d))
* **profile:** warn when a profile sets a key floci does not read ([#37](https://github.com/floci-io/floci-cli/issues/37)) ([22668a1](https://github.com/floci-io/floci-cli/commit/22668a1200c4835ac369cb9ebea355b0d4f9feb4))
* **start:** give each instance its own Docker resource namespace and base URL ([#31](https://github.com/floci-io/floci-cli/issues/31)) ([bf9ee40](https://github.com/floci-io/floci-cli/commit/bf9ee4037bb22628ad7f470bca7c551a8f6e65e2))

### Performance Improvements

* **doctor:** run checks concurrently and share docker lookups ([#32](https://github.com/floci-io/floci-cli/issues/32)) ([dd38f6d](https://github.com/floci-io/floci-cli/commit/dd38f6dc27307d7297d5fcc5c1a02897f8bb9f03))
* **native:** build smaller binaries with -Os and enforce a size budget ([#28](https://github.com/floci-io/floci-cli/issues/28)) ([3c4118f](https://github.com/floci-io/floci-cli/commit/3c4118ff1a5521ade1b7e788f45dbaca9069f648))
* restart without a fixed pause and wait no longer than --timeout ([#36](https://github.com/floci-io/floci-cli/issues/36)) ([01d6133](https://github.com/floci-io/floci-cli/commit/01d61335489121757612a5b7062d13f9a593b20b))
2026-10-09 04:42:47 +00:00
Hector Ventura 3c4118ff1a perf(native): build smaller binaries with -Os and enforce a size budget (#28) 2026-10-08 21:28:53 -05:00
semantic-release-bot f11ce0597a chore(release): 0.2.3
## [0.2.3](https://github.com/floci-io/floci-cli/compare/0.2.2...0.2.3) (2026-09-15)

### Bug Fixes

* **profile:** keep legacy profile names usable and expand values consistently ([#25](https://github.com/floci-io/floci-cli/issues/25)) ([7343a53](https://github.com/floci-io/floci-cli/commit/7343a539c20a57856a793a498053ebb469f49c1c)), closes [#23](https://github.com/floci-io/floci-cli/issues/23) [#23](https://github.com/floci-io/floci-cli/issues/23)
2026-09-15 04:32:15 +00:00
semantic-release-bot eb92df71c6 chore(release): 0.2.2
## [0.2.2](https://github.com/floci-io/floci-cli/compare/0.2.1...0.2.2) (2026-09-13)

### Bug Fixes

* **profile:** apply --profile to every command, not just config show ([#23](https://github.com/floci-io/floci-cli/issues/23)) ([52c08ec](https://github.com/floci-io/floci-cli/commit/52c08ecec56e163a034d21e5cf6cefcdef6c39cd)), closes [#22](https://github.com/floci-io/floci-cli/issues/22)
2026-09-13 23:39:51 +00:00
semantic-release-bot c437bf0bb3 chore(release): 0.2.1
## [0.2.1](https://github.com/floci-io/floci-cli/compare/0.2.0...0.2.1) (2026-08-27)

### Bug Fixes

* **env:** single-quote exported values in every product tree ([#19](https://github.com/floci-io/floci-cli/issues/19)) ([6496795](https://github.com/floci-io/floci-cli/commit/6496795708fe7a12141e3640a0e74435892a8c57)), closes [#18](https://github.com/floci-io/floci-cli/issues/18)
2026-08-27 03:42:57 +00:00
Hector Ventura 980904e55a chore: release 0.2.0 2026-07-28 21:50:27 -05:00
Hector Ventura 2ff3181198 chore: release 0.1.9 2026-07-24 11:57:39 -04:00
Hector Ventura 96e28c1b11 chore: release 0.1.8 2026-06-21 09:53:22 -05:00
Hector Ventura 529d8578fb chore: release 0.1.7 2026-06-20 11:43:16 -05:00
Hector Ventura 53753f1816 chore: release 0.1.6 2026-06-11 00:50:48 -05:00
Hector Ventura 35173645d0 chore: release 0.1.5 2026-06-10 17:32:56 -05:00
Hector Ventura e9931123aa fix: gcp health check fix 2026-06-03 20:55:06 -05:00
Hector Ventura 4383369a7a chore: release 0.1.3 2026-06-02 20:34:17 -05:00
Hector Ventura ca8871a81a fix: update homebrew action with proper github-token 2026-05-15 23:14:54 -05:00
Hector Ventura 003277340d fix: showing wrong version on floci version command 2026-05-15 23:07:30 -05:00
Hector Ventura 11883f5b67 fix: adding floci aws/az commands 2026-05-15 18:08:45 -05:00
Hector Ventura aef1df595f chore: first commit 2026-05-12 17:10:46 -05:00