Commit a44702a
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 <[email protected]>
---------
Signed-off-by: Mark Phelps <[email protected]>
Signed-off-by: Mark Phelps <[email protected]>
Co-authored-by: Mark Phelps <[email protected]>
Co-authored-by: Mark Phelps <[email protected]>1 parent d8e9353 commit a44702a
File tree
39 files changed
+24
-3669
lines changed- cog-dataclass/python/cog/command
- integration-tests/tests
- pkg
- api
- cli
- init-templates/pipeline
- coglog
- docker
- command
- env
- image
- model
- procedure
- python
- cog/command
- tests/command
39 files changed
+24
-3669
lines changedThis file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
8 | 7 | | |
9 | 8 | | |
10 | 9 | | |
| |||
69 | 68 | | |
70 | 69 | | |
71 | 70 | | |
72 | | - | |
73 | 71 | | |
74 | 72 | | |
75 | 73 | | |
| |||
308 | 306 | | |
309 | 307 | | |
310 | 308 | | |
311 | | - | |
312 | 309 | | |
313 | 310 | | |
314 | 311 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
58 | 58 | | |
59 | 59 | | |
60 | 60 | | |
61 | | - | |
62 | | - | |
63 | | - | |
64 | | - | |
65 | 61 | | |
66 | 62 | | |
67 | 63 | | |
| |||
835 | 831 | | |
836 | 832 | | |
837 | 833 | | |
838 | | - | |
839 | | - | |
840 | 834 | | |
841 | 835 | | |
842 | 836 | | |
| |||
This file was deleted.
This file was deleted.
0 commit comments