Remove pipelines functionality (#2671)
* Remove pipelines functionality
Pipelines was an experimental feature that will not launch. This removes
all pipeline-related code to simplify the codebase ahead of upcoming
major changes.
Removed:
- pkg/api/ - Pipeline API client (PostNewPipeline, PullSource)
- pkg/procedure/ - Pipeline validation logic
- pkg/docker/pipeline_push.go - Pipeline push implementation
- pkg/cli/pull.go - Pipeline-only pull command
- pkg/image/model_dependencies.go - Pipeline dependency analysis (replicate.use)
- pkg/coglog/pull_log_context.go - Orphaned pull logging
- pkg/cli/init-templates/pipeline/ - Pipeline init templates
- python/cog/command/call_graph.py - Python call graph analysis
- Integration tests for pipelines
Also removed:
- --x-pipeline hidden flag from build, push, predict, run, init commands
- PipelinesImage field from BuildOptions
- Pipeline field from docker.BuildInfo
- R8_PIPELINES_RUNTIME_HOST environment variable
- run.cog.r8_model_dependencies image label
* chore: rm deadcode and run make fmt
Signed-off-by: Mark Phelps <mphelps@cloudflare.com>
---------
Signed-off-by: Mark Phelps <209477+markphelps@users.noreply.github.com>
Signed-off-by: Mark Phelps <mphelps@cloudflare.com>
Co-authored-by: Mark Phelps <209477+markphelps@users.noreply.github.com>
Co-authored-by: Mark Phelps <mphelps@cloudflare.com>