github mbecker20/komodo v1.16.4
Komodo v1.16.4

14 hours ago

Changelog

  • Action: Added global YAML.parseDockerCompose, TOML.parseResourceFile, and other convenience methods and typings available within the script.
const stack = await komodo.read("GetStack", { stack: "test-stack" });

// Returns an object with the DockerCompose type to help extract information from the compose file
const compose: DockerCompose = YAML.parseDockerCompose(stack.config.file_contents);
const service = compose.services["hello_world"];
const [image, version] = service.image.split(":")
console.log("Image:", image);
console.log("Version:", version);

Enjoy 🦎

Don't miss a new komodo release

NewReleases is sending notifications on new releases.