You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 439129b
Browse filesBrowse the repository at this point in the historyBrowse files
Short: "plan and run a sealed one-shot manual job",
18
-
Long: "Plan and run one declared `when: manual` job against the current serving release.\n\nThe job remains in the release runtime but never runs during deploy. Saved plans\nbind its release, runtime digest, immutable imageand data effect so agents can\nobtain a separate approval before execution.",
20
+
Short: "plan and run a sealed one-shot operator job",
21
+
Long: "Plan and run one declared `operator_run: allowed` job against the current serving release.\n\nDeployment participation is independent: `deployment_phase` may be none, pre_release,\nor post_release. Saved plans bind the release, runtime digest, immutable image,\ndata effect and inputs so agents can obtain separate approval before execution.",
19
22
Args: cobra.NoArgs,
20
23
RunE: showCommandHelp,
21
24
}
22
25
23
26
varplanOut, backupReportOutstring
27
+
varplanInputs []string
24
28
plan:=&cobra.Command{
25
29
Use: "plan <id>",
26
30
Short: "seal a current-release-bound one-shot job plan",
27
31
Long: "Observe the current serving release and write a short-lived executable job plan.\n\nThe plan binds the exact runtime digest, digest-pinned image, job data effect,\ntarget and expiry. It reads the target and writes only the local plan artifact.",
Short: "run one manual job from an inline or saved sealed plan",
41
-
Long: "Run one manual job through the canonical lock, fence, local-confirmation and journal boundary.\n\n"+
50
+
Short: "run one operator job from an inline or saved sealed plan",
51
+
Long: "Run one operator job through the canonical lock, fence, local-confirmation and journal boundary.\n\n"+
42
52
"A job with schedule configured runs under its installed systemd unit and is\nfollowed by default; Ctrl-C stops following, not the host job. --detach returns\nafter that unit accepts the run. Unscheduled and migration jobs stay attached.\n\n"+
43
53
"Humans may pass an id and confirm interactively. Automation should supply a\nsaved --plan and its separately created local-confirmation artifact through\n--approval; migration plans may also require the exact plan-bound --backup-report.",
44
54
Args: cobra.MaximumNArgs(1),
@@ -47,7 +57,11 @@ func addJobCommand(root *cobra.Command, g *globalFlags) {
Use: "history <job>", Short: "execution records of one job, newest first",
277
+
Long: "Read retained execution records for one job across timer and operator triggers. Host-supervised records come from journald; sealed attached runs come from the operation journal. The result is retention-bounded evidence, so an absent success means no retained success was observed, not that the job never succeeded.",
history.Flags().IntVarP(&historyCount, "count", "n", 20, "number of newest executions to show")
313
+
314
+
varlogsRunstring
315
+
logs:=&cobra.Command{
316
+
Use: "logs <job>", Short: "journal of one host-supervised job execution",
317
+
Long: "Stream the exact systemd journal of a host-supervised job execution. By default the newest retained run is selected; --run accepts the run id printed by ob job history. Attached sealed executions retain outcome evidence but do not have a separate host log stream.",
0 commit comments