Skip to content

design: add pipelines proposal#847

Open
cdalar wants to merge 2 commits into
mainfrom
design/pipelines
Open

design: add pipelines proposal#847
cdalar wants to merge 2 commits into
mainfrom
design/pipelines

Conversation

@cdalar

@cdalar cdalar commented May 12, 2026

Copy link
Copy Markdown
Owner

Summary

  • Adds design/pipelines.md β€” proposal for an onctl pipelines feature: one binary that owns both VM provisioning and idempotent application deployment, driven by a single YAML.
  • Splits the lifecycle into two commands: onctl infra up|destroy|status|list (persistent) and onctl deploy (idempotent), with an implicit preview env for first-run magic and multi-env support via --env.
  • North-star demo: cd repo-with-Dockerfile && export HCLOUD_TOKEN=... && onctl deploy β†’ preview env provisioned + app deployed + URL printed.
  • 7 milestones (M0–M6) from schema/parser β†’ single-VM happy path β†’ zero-config preview β†’ environments β†’ multi-VM DAG β†’ ops/preview lifecycle β†’ CI hardening.

This PR is design-only β€” no code, no behavior change. Posted to gather feedback before implementation.

Test plan

  • Review YAML shape (single-VM minimal, multi-env, multi-VM DAG examples)
  • Validate --env resolution rules (5 cases) make sense
  • Confirm auto-provision rules for preview / named / production envs match desired UX
  • Pick one open question to resolve before M0 starts (top candidate: bundled cloud-init location)

πŸ€– Generated with Claude Code

Design doc for an onctl pipelines feature: one binary that owns both
provisioning and idempotent application deployment, driven by a single
YAML file. Splits `onctl infra` (persistent) from `onctl deploy`
(idempotent), with implicit `preview` environment for first-run magic
and multi-env support via `--env`.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
@codecov

codecov Bot commented May 12, 2026

Copy link
Copy Markdown

Codecov Report

βœ… All modified and coverable lines are covered by tests.
βœ… Project coverage is 14.71%. Comparing base (869f323) to head (3326ea1).

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #847      +/-   ##
==========================================
- Coverage   14.77%   14.71%   -0.07%     
==========================================
  Files          36       36              
  Lines        3127     3127              
==========================================
- Hits          462      460       -2     
- Misses       2614     2615       +1     
- Partials       51       52       +1     

β˜” View full report in Codecov by Sentry.
πŸ“’ Have feedback on the report? Share it here.

πŸš€ New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

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