Skip to content

Phase 4: Full Orchestration Integration#17

Merged
vdemeester merged 4 commits intomainfrom
feature/orchestration-integration
Feb 6, 2026
Merged

Phase 4: Full Orchestration Integration#17
vdemeester merged 4 commits intomainfrom
feature/orchestration-integration

Conversation

@vdemeester
Copy link
Copy Markdown
Owner

Summary

  • Implement Tekton results capture for Podman backend
  • Integrate orchestrator for parallel task execution
  • Add parameter and result substitution

Changes

Results Capture

  • Add results.go with ReadResultFromPath and CollectResults helpers
  • Mount temp directory to /tekton/results in containers
  • Collect result files after container execution

Orchestrator Integration

  • Use BuildDAG and ExecuteParallel for parallel task execution
  • Expand matrix tasks before building DAG
  • Evaluate when conditions for conditional task execution
  • Track and pass results between dependent tasks
  • Execute finally tasks after main pipeline (even on error)

Parameter Substitution

  • Support $(params.name) with string, array, and object params
  • Support $(tasks.taskname.results.resultname) for result passing
  • Support $(workspaces.name.path) and $(context.*) variables
  • Apply substitution to step scripts, commands, args, and env

Test plan

  • mallet run examples/simple/hello-pipelinerun.yaml - params work
  • mallet run examples/simple/results-pipelinerun.yaml - results pass between tasks
  • All existing tests pass

🤖 Generated with Claude Code

vdemeester and others added 4 commits February 6, 2026 15:20
- Add results.go with ReadResultFromPath and CollectResults helpers
- Mount temp directory to /tekton/results in containers
- Collect result files after container execution
- Update ReadResult to use path-based reading
- Update TODO to mark Phase 3 complete

TDD approach: tests written first, then implementation.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Use BuildDAG and ExecuteParallel for parallel task execution
- Expand matrix tasks before building DAG
- Evaluate when conditions for conditional task execution
- Track and pass results between tasks
- Execute finally tasks after main pipeline (even on error)

This enables:
- Parallel execution of independent tasks
- Matrix builds (task runs for each parameter combination)
- Conditional task execution (when clauses)
- Result passing between dependent tasks

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Add substituteVariables function for Tekton variable replacement
- Support $(params.name) with string, array, and object params
- Support $(tasks.taskname.results.resultname) for result passing
- Support $(workspaces.name.path) and $(context.*) variables
- Apply substitution to step scripts, commands, args, and env

Result passing between tasks now works correctly.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@vdemeester vdemeester merged commit 64243e6 into main Feb 6, 2026
3 checks passed
@vdemeester vdemeester deleted the feature/orchestration-integration branch February 6, 2026 14:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant