| 1 | from pipeline.config import DISABLED |
| 2 | from pipeline.registry import stages |
| 3 | |
| 4 | |
| 5 | def run(): |
| 6 | active = [s for s in stages() if s.name not in DISABLED] |
| 7 | for stage in sorted(active, key=lambda s: s.priority): |
| 8 | stage.fn() |
| 9 | |
| 10 | |
| 11 | if __name__ == "__main__": |
| 12 | run() |
| 13 |