@rizom/ops 0.2.0-alpha.264 → 0.2.0-alpha.266
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/brains-ops.js +162 -166
- package/dist/deploy.js +18 -18
- package/dist/directory-sync-stress-system.d.ts +2 -12
- package/dist/images.d.ts +4 -1
- package/dist/index.js +216 -220
- package/dist/schema.d.ts +13 -1
- package/dist/stress-command.d.ts +14 -0
- package/dist/stress-git-checkout.d.ts +21 -0
- package/dist/stress-health-monitor.d.ts +46 -0
- package/package.json +2 -1
- package/templates/rover-pilot/.github/workflows/build.yml +6 -0
|
@@ -1,16 +1,7 @@
|
|
|
1
1
|
import type { FetchLike } from "@brains/deploy-support/origin-ca";
|
|
2
2
|
import { type DirectorySyncStressPhase, type DirectorySyncStressProfile, type DirectorySyncStressReport, type StressRuntimeSample } from "./directory-sync-stress";
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
env?: NodeJS.ProcessEnv;
|
|
6
|
-
stdin?: string;
|
|
7
|
-
}
|
|
8
|
-
export interface StressCommandResult {
|
|
9
|
-
exitCode: number;
|
|
10
|
-
stdout: string;
|
|
11
|
-
stderr: string;
|
|
12
|
-
}
|
|
13
|
-
export type StressCommandRunner = (command: string, args: readonly string[], options?: StressCommandOptions) => Promise<StressCommandResult>;
|
|
3
|
+
import { type StressCommandRunner } from "./stress-command";
|
|
4
|
+
export { runStressCommand, type StressCommandOptions, type StressCommandResult, type StressCommandRunner, } from "./stress-command";
|
|
14
5
|
export interface DeployedDirectorySyncStressOptions {
|
|
15
6
|
rootDir: string;
|
|
16
7
|
handle: string;
|
|
@@ -60,4 +51,3 @@ export declare function applyDirectorySyncStressPhase(checkoutDir: string, phase
|
|
|
60
51
|
export declare function listProbeFiles(checkoutDir: string): Promise<string[]>;
|
|
61
52
|
export declare function removeProbeFiles(checkoutDir: string): Promise<number>;
|
|
62
53
|
export declare function parseStressRuntimeSample(output: string, timestamp: string): StressRuntimeSample | undefined;
|
|
63
|
-
export declare const runStressCommand: StressCommandRunner;
|
package/dist/images.d.ts
CHANGED
|
@@ -43,10 +43,13 @@ export interface ResolveImageBuildsOptions {
|
|
|
43
43
|
users: ImageRequirementSource[];
|
|
44
44
|
/**
|
|
45
45
|
* Explicit dispatch override — the manual/backfill path. When set, exactly
|
|
46
|
-
* this one image is built, skipping
|
|
46
|
+
* this one image is built, skipping the registry-derived resolve. Published
|
|
47
|
+
* tags stay immutable: a same-tag rebuild from a newer Dockerfile can
|
|
48
|
+
* strand the tag boot-broken, so rebuilding needs allowTagOverwrite.
|
|
47
49
|
*/
|
|
48
50
|
brainVersionInput?: string | undefined;
|
|
49
51
|
sitePackagesInput?: string | undefined;
|
|
52
|
+
allowTagOverwrite?: boolean | undefined;
|
|
50
53
|
imageExists: (tag: string) => Promise<boolean>;
|
|
51
54
|
}
|
|
52
55
|
/**
|