Something went wrong. Try again.
A collection of +180 reusable WebAssembly modules for building composable CI/CD pipelines with FluentCI fluentci.io/modules
Something went wrong. Try again.
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411{ "name": "consul", "runtime": "component", "exports": { "start": { "description": "Start an idempotent background service through FluentCI’s native workspace service manager and wait for readiness.", "input": { "type": "object", "properties": { "project": { "type": "string", "default": ".", "description": "Workspace directory used by every native service manager call. Default: \".\"." }, "name": { "type": "string", "description": "Full service name, default module-consul-default; must start with module-consul- to scope lifecycle operations." }, "version": { "type": "string", "description": "Docker image version tag. Uses the profile default when omitted; cannot be combined with image." }, "image": { "type": "string", "description": "Full Docker image reference, including an optional digest; replaces the default repository and version." }, "port": { "type": "integer", "description": "Host port for the primary endpoint; zero allocates an available loopback port. AWS Emulator uses the same nonzero port inside and outside its container. Default: 0.", "default": 0 }, "ports": { "type": "string", "description": "Comma-separated container ports or HOST:CONTAINER bindings. Omit for every profile port with random host bindings. Include the primary port once." }, "volumes": { "type": "string", "description": "Comma-separated /CONTAINER_PATH anonymous volumes or SOURCE:/CONTAINER_PATH[:ro|rw] mounts. Explicit named/bind data survives stop." }, "env": { "type": "string", "description": "Comma-separated KEY=VALUE test configuration overrides; no JSON object. Use disposable test values because definitions are sent to the manager." }, "command": { "type": "string", "description": "Comma-separated foreground command tokens replacing the image command; literal argv, with no shell expansion." }, "dependsOn": { "type": "string", "description": "Comma-separated existing native service names whose readiness must be satisfied before startup." }, "startupTimeoutMs": { "type": "integer", "description": "Readiness deadline, from 100 to 600000 milliseconds; defaults to the service profile." }, "stopTimeoutMs": { "type": "integer", "description": "Graceful shutdown deadline from 100 to 120000 milliseconds. Default: 5000.", "default": 5000 }, "restartPolicy": { "type": "string", "description": "Native restart policy: never, on_failure or always. Default: \"never\". Allowed values: never, on_failure, always.", "default": "never", "enum": [ "never", "on_failure", "always" ] }, "maxRestarts": { "type": "integer", "description": "Maximum automatic restarts, from zero to 100. Default: 0.", "default": 0 }, "healthCheck": { "type": "boolean", "description": "Keep running the readiness probe as the native recurring health check. Default: true.", "default": true }, "readinessCommand": { "type": "string", "description": "Comma-separated literal probe command run inside the owned container; overrides the profile probe." }, "readinessPath": { "type": "string", "description": "HTTP readiness URL path for profiles using an HTTP probe." } }, "required": [], "additionalProperties": false }, "output": { "type": "object", "required": [ "name", "state", "backend", "host", "port", "endpoint", "ports" ], "properties": { "name": { "type": "string" }, "state": { "type": "string" }, "backend": { "type": "string" }, "host": { "type": "string" }, "endpoint": { "type": "string" }, "port": { "type": "integer" }, "ports": { "type": "array", "items": { "type": "object", "required": [ "containerPort", "port", "address" ], "properties": { "containerPort": { "type": "integer" }, "port": { "type": "integer" }, "address": { "type": "string" } }, "additionalProperties": false } } }, "additionalProperties": false } }, "stop": { "description": "Stop only this named service through the native manager; preserve explicitly mounted data. Native dependents are stopped too.", "input": { "type": "object", "properties": { "project": { "type": "string", "default": ".", "description": "Workspace directory used by every native service manager call. Default: \".\"." }, "name": { "type": "string", "description": "Full service name, default module-consul-default; must start with module-consul- to scope lifecycle operations." } }, "required": [], "additionalProperties": false }, "output": { "type": "object", "required": [ "name", "state", "backend", "host", "port", "endpoint", "ports" ], "properties": { "name": { "type": "string" }, "state": { "type": "string" }, "backend": { "type": "string" }, "host": { "type": "string" }, "endpoint": { "type": "string" }, "port": { "type": "integer" }, "ports": { "type": "array", "items": { "type": "object", "required": [ "containerPort", "port", "address" ], "properties": { "containerPort": { "type": "integer" }, "port": { "type": "integer" }, "address": { "type": "string" } }, "additionalProperties": false } } }, "additionalProperties": false } }, "restart": { "description": "Restart the existing native service definition and wait for readiness.", "input": { "type": "object", "properties": { "project": { "type": "string", "default": ".", "description": "Workspace directory used by every native service manager call. Default: \".\"." }, "name": { "type": "string", "description": "Full service name, default module-consul-default; must start with module-consul- to scope lifecycle operations." } }, "required": [], "additionalProperties": false }, "output": { "type": "object", "required": [ "name", "state", "backend", "host", "port", "endpoint", "ports" ], "properties": { "name": { "type": "string" }, "state": { "type": "string" }, "backend": { "type": "string" }, "host": { "type": "string" }, "endpoint": { "type": "string" }, "port": { "type": "integer" }, "ports": { "type": "array", "items": { "type": "object", "required": [ "containerPort", "port", "address" ], "properties": { "containerPort": { "type": "integer" }, "port": { "type": "integer" }, "address": { "type": "string" } }, "additionalProperties": false } } }, "additionalProperties": false } }, "status": { "description": "Return the service’s native lifecycle state and actual loopback port bindings.", "input": { "type": "object", "properties": { "project": { "type": "string", "default": ".", "description": "Workspace directory used by every native service manager call. Default: \".\"." }, "name": { "type": "string", "description": "Full service name, default module-consul-default; must start with module-consul- to scope lifecycle operations." } }, "required": [], "additionalProperties": false }, "output": { "type": "object", "required": [ "name", "state", "backend", "host", "port", "endpoint", "ports" ], "properties": { "name": { "type": "string" }, "state": { "type": "string" }, "backend": { "type": "string" }, "host": { "type": "string" }, "endpoint": { "type": "string" }, "port": { "type": "integer" }, "ports": { "type": "array", "items": { "type": "object", "required": [ "containerPort", "port", "address" ], "properties": { "containerPort": { "type": "integer" }, "port": { "type": "integer" }, "address": { "type": "string" } }, "additionalProperties": false } } }, "additionalProperties": false } }, "logs": { "description": "Read native service logs; optionally follow new output until interrupted, without starting or stopping a service.", "input": { "type": "object", "properties": { "project": { "type": "string", "default": ".", "description": "Workspace directory used by every native service manager call. Default: \".\"." }, "name": { "type": "string", "description": "Full service name, default module-consul-default; must start with module-consul- to scope lifecycle operations." }, "tail": { "type": "integer", "default": 100, "minimum": 1, "maximum": 10000, "description": "Maximum recent log lines, from 1 to 10000, before optional live output. Default: 100." }, "follow": { "type": "boolean", "default": false, "description": "Stream new native service logs until interrupted. Default false returns a bounded snapshot. Interrupting logs leaves the background service running. Default: false." } }, "required": [], "additionalProperties": false }, "output": { "type": "string" } } }}