-
-
Notifications
You must be signed in to change notification settings - Fork 5
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Enable executables to run within container environments by specifying a container image as the execution environment. This would provide isolated, reproducible execution environments for flow executables while maintaining the same interface and workflow patterns.
Container Configuration
Basic Container Execution
executables:
- name: build-go-app
exec:
cmd: go build -o bin/app ./cmd/app
container:
image: golang:1.21-alpine
workdir: /workspaceAdvanced Container Options
# wip spec of what these could be
executables:
- name: run-tests
exec:
params:
- text: "test"
envKey: NODE_ENV
- text: "true"
envKey: CI
args:
- flag: verbose
envKey: VERBOSE
type: bool
default: false
cmd: npm test
container:
image: node:18-alpine
workdir: /app
mountWorkspace: /app # Simple workspace mounting
volumes:
- "/tmp:/tmp" # Additional volumes as needed
inheritEnv: true # Inherit params/args environment
user: "1000:1000"
network: hostMetadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request