refactor: consolidate to handler-base, migrate to pyproject.toml, add tests
This commit is contained in:
13
README.md
13
README.md
@@ -61,13 +61,9 @@ The bridge publishes status updates as the workflow progresses:
|
||||
- `failed` - Failed
|
||||
- `error` - System error
|
||||
|
||||
## Variants
|
||||
## Implementation
|
||||
|
||||
### pipeline_bridge.py (Standalone)
|
||||
Self-contained service with pip install on startup. Good for simple deployments.
|
||||
|
||||
### pipeline_bridge_v2.py (handler-base)
|
||||
Uses handler-base library for standardized NATS handling, telemetry, and health checks.
|
||||
The pipeline bridge uses the [handler-base](https://git.daviestechlabs.io/daviestechlabs/handler-base) library for standardized NATS handling, telemetry, and health checks.
|
||||
|
||||
## Environment Variables
|
||||
|
||||
@@ -81,11 +77,10 @@ Uses handler-base library for standardized NATS handling, telemetry, and health
|
||||
## Building
|
||||
|
||||
```bash
|
||||
# Standalone version
|
||||
docker build -t pipeline-bridge:latest .
|
||||
|
||||
# handler-base version
|
||||
docker build -f Dockerfile.v2 -t pipeline-bridge:v2 --build-arg BASE_TAG=latest .
|
||||
# With specific handler-base tag
|
||||
docker build --build-arg BASE_TAG=latest -t pipeline-bridge:latest .
|
||||
```
|
||||
|
||||
## Testing
|
||||
|
||||
Reference in New Issue
Block a user