Skip to content

Commit 12a7128

Browse files
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

File tree

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,6 @@ apps/**/public/build
5555

5656
.cosine
5757
.trigger
58-
.triggerdeploy.json
5958
.tshy*
6059
.yarn
6160
*.tsbuildinfo

0 commit comments

Comments
 (0)