distributable, please
Some checks failed
CI / Rustfmt (push) Successful in 22s
CI / Cargo Audit & Deny (push) Successful in 36s
CI / Security Blocking Checks (push) Successful in 6s
CI / Web Blocking Checks (push) Successful in 53s
CI / Web Advisory Checks (push) Successful in 34s
Publish Images / Resolve Publish Metadata (push) Successful in 1s
CI / Security Advisory Checks (push) Successful in 38s
CI / Clippy (push) Successful in 2m7s
Publish Images / Publish Docker Dist Bundle (push) Failing after 19s
Publish Images / Publish web (amd64) (push) Successful in 49s
Publish Images / Publish web (arm64) (push) Successful in 3m31s
CI / Tests (push) Successful in 8m48s
Publish Images / Build Rust Bundles (amd64) (push) Successful in 12m42s
Publish Images / Build Rust Bundles (arm64) (push) Successful in 12m19s
Publish Images / Publish agent (amd64) (push) Successful in 26s
Publish Images / Publish api (amd64) (push) Successful in 38s
Publish Images / Publish notifier (amd64) (push) Successful in 42s
Publish Images / Publish executor (amd64) (push) Successful in 46s
Publish Images / Publish agent (arm64) (push) Successful in 56s
Publish Images / Publish api (arm64) (push) Successful in 1m52s
Publish Images / Publish executor (arm64) (push) Successful in 2m2s
Publish Images / Publish notifier (arm64) (push) Successful in 2m3s
Publish Images / Publish manifest attune/agent (push) Successful in 6s
Publish Images / Publish manifest attune/api (push) Successful in 11s
Publish Images / Publish manifest attune/executor (push) Successful in 10s
Publish Images / Publish manifest attune/notifier (push) Successful in 8s
Publish Images / Publish manifest attune/web (push) Successful in 8s
Some checks failed
CI / Rustfmt (push) Successful in 22s
CI / Cargo Audit & Deny (push) Successful in 36s
CI / Security Blocking Checks (push) Successful in 6s
CI / Web Blocking Checks (push) Successful in 53s
CI / Web Advisory Checks (push) Successful in 34s
Publish Images / Resolve Publish Metadata (push) Successful in 1s
CI / Security Advisory Checks (push) Successful in 38s
CI / Clippy (push) Successful in 2m7s
Publish Images / Publish Docker Dist Bundle (push) Failing after 19s
Publish Images / Publish web (amd64) (push) Successful in 49s
Publish Images / Publish web (arm64) (push) Successful in 3m31s
CI / Tests (push) Successful in 8m48s
Publish Images / Build Rust Bundles (amd64) (push) Successful in 12m42s
Publish Images / Build Rust Bundles (arm64) (push) Successful in 12m19s
Publish Images / Publish agent (amd64) (push) Successful in 26s
Publish Images / Publish api (amd64) (push) Successful in 38s
Publish Images / Publish notifier (amd64) (push) Successful in 42s
Publish Images / Publish executor (amd64) (push) Successful in 46s
Publish Images / Publish agent (arm64) (push) Successful in 56s
Publish Images / Publish api (arm64) (push) Successful in 1m52s
Publish Images / Publish executor (arm64) (push) Successful in 2m2s
Publish Images / Publish notifier (arm64) (push) Successful in 2m3s
Publish Images / Publish manifest attune/agent (push) Successful in 6s
Publish Images / Publish manifest attune/api (push) Successful in 11s
Publish Images / Publish manifest attune/executor (push) Successful in 10s
Publish Images / Publish manifest attune/notifier (push) Successful in 8s
Publish Images / Publish manifest attune/web (push) Successful in 8s
This commit is contained in:
60
docker/distributable/packs/core/runtimes/README.md
Normal file
60
docker/distributable/packs/core/runtimes/README.md
Normal file
@@ -0,0 +1,60 @@
|
||||
# Core Pack Runtime Metadata
|
||||
|
||||
This directory contains runtime metadata YAML files for the core pack. Each file defines a runtime environment that can be used to execute actions and sensors.
|
||||
|
||||
## File Structure
|
||||
|
||||
Each runtime YAML file contains only the fields that are stored in the database:
|
||||
|
||||
- `ref` - Unique runtime reference (format: pack.name)
|
||||
- `pack_ref` - Pack this runtime belongs to
|
||||
- `name` - Human-readable runtime name
|
||||
- `description` - Brief description of the runtime
|
||||
- `distributions` - Runtime verification and capability metadata (JSONB)
|
||||
- `installation` - Installation requirements and metadata (JSONB)
|
||||
- `execution_config` - Interpreter, environment, dependency, and execution-time env var metadata
|
||||
|
||||
## `execution_config.env_vars`
|
||||
|
||||
Runtime authors can declare execution-time environment variables in a purely declarative way.
|
||||
|
||||
String values replace the variable entirely:
|
||||
|
||||
```yaml
|
||||
env_vars:
|
||||
NODE_PATH: "{env_dir}/node_modules"
|
||||
```
|
||||
|
||||
Object values support merge semantics against an existing value already present in the execution environment:
|
||||
|
||||
```yaml
|
||||
env_vars:
|
||||
PYTHONPATH:
|
||||
operation: prepend
|
||||
value: "{pack_dir}/lib"
|
||||
separator: ":"
|
||||
```
|
||||
|
||||
Supported operations:
|
||||
|
||||
- `set` - Replace the variable with the resolved value
|
||||
- `prepend` - Add the resolved value before the existing value
|
||||
- `append` - Add the resolved value after the existing value
|
||||
|
||||
Supported template variables:
|
||||
|
||||
- `{pack_dir}`
|
||||
- `{env_dir}`
|
||||
- `{interpreter}`
|
||||
- `{manifest_path}`
|
||||
|
||||
## Available Runtimes
|
||||
|
||||
- **python.yaml** - Python 3 runtime for actions and sensors
|
||||
- **nodejs.yaml** - Node.js runtime for JavaScript-based actions and sensors
|
||||
- **shell.yaml** - Shell (bash/sh) runtime - always available
|
||||
- **native.yaml** - Native compiled runtime (Rust, Go, C, etc.) - executes binaries directly without an interpreter
|
||||
|
||||
## Loading
|
||||
|
||||
Runtime metadata files are loaded by the pack loading system and inserted into the `runtime` table in the database.
|
||||
Reference in New Issue
Block a user