Commit 12a7128
refactor(cli): drop --build-only / --register-only modes
The two-phase deploy machinery added in 8f98ebb has been replaced with two
~150-line driver scripts living next to the GovSignals tasks Dockerfile,
which import build/deploy primitives via the new `trigger.dev/internal`
subpath export instead of going through the CLI binary. None of the CLI
flags or helper functions are reachable any more.
Removed:
- buildOnlyDeploy (~170 lines) and registerOnlyDeploy (~340 lines)
- CLI options --build-only, --register-only, --registry, --repository,
--containerfile-module
- Zod schema fields buildOnly, registerOnly, registry, repository,
containerfileModule
- Early-return shims at the top of _deployCommand
- The containerfileModule passthrough in _deployCommand's buildWorker call
(the option is gone; buildWorker still accepts the parameter for callers
using `trigger.dev/internal` directly)
- init.ts changes that taught `trigger init` to add `.triggerdeploy.json`
to the project .gitignore
- Root .gitignore entry for .triggerdeploy.json
What stays:
- managed-index-controller.ts offline-mode bootstrap (TRIGGER_INDEX_OFFLINE=1
env var) — still needed by the offline indexer that runs inside the build
container
- buildImage.ts offlineIndex option, generateContainerfile, parseGenerateOptions
- buildWorker.ts containerfileModule plumbing (now consumed via
`trigger.dev/internal`)
- All supervisor / helm / webapp fork patches
Net: -520 lines.
Co-authored-by: Cursor <cursoragent@cursor.com>1 parent 499e4a7 commit 12a7128
3 files changed
Lines changed: 7 additions & 527 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
58 | | - | |
59 | 58 | | |
60 | 59 | | |
61 | 60 | | |
| |||
0 commit comments