@rizom/ops 0.2.0-alpha.283 → 0.2.0-alpha.284
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 +154 -154
- package/dist/index.js +144 -144
- package/dist/run-command.d.ts +3 -0
- package/dist/verify-user.d.ts +3 -0
- package/package.json +1 -1
- package/templates/rover-pilot/.github/workflows/deploy.yml +3 -0
package/dist/run-command.d.ts
CHANGED
|
@@ -16,6 +16,9 @@ export interface CommandDependencies extends LoadPilotRegistryOptions {
|
|
|
16
16
|
logger?: ((message: string) => void) | undefined;
|
|
17
17
|
fetchImpl?: FetchLike | undefined;
|
|
18
18
|
lookupHost?: LookupHost | undefined;
|
|
19
|
+
verificationRetryAttempts?: number | undefined;
|
|
20
|
+
verificationRetryDelayMs?: number | undefined;
|
|
21
|
+
sleep?: ((delayMs: number) => Promise<void>) | undefined;
|
|
19
22
|
bootstrapRunCommand?: OpsRunCommand | undefined;
|
|
20
23
|
sshKeygen?: SshKeygen | undefined;
|
|
21
24
|
directorySyncStressRunner?: typeof runDeployedDirectorySyncStress | undefined;
|
package/dist/verify-user.d.ts
CHANGED
|
@@ -3,6 +3,9 @@ import { type ResolvedUser } from "./load-registry";
|
|
|
3
3
|
export interface VerifyPilotUserOptions {
|
|
4
4
|
fetchImpl?: FetchLike;
|
|
5
5
|
logger?: (message: string) => void;
|
|
6
|
+
operationalRetryAttempts?: number;
|
|
7
|
+
operationalRetryDelayMs?: number;
|
|
8
|
+
sleep?: (delayMs: number) => Promise<void>;
|
|
6
9
|
}
|
|
7
10
|
export interface FailedCheck {
|
|
8
11
|
name: string;
|
package/package.json
CHANGED
|
@@ -241,6 +241,9 @@ jobs:
|
|
|
241
241
|
fi
|
|
242
242
|
curl -I -k --max-time 20 --resolve "$PREVIEW_DOMAIN:443:$SERVER_IP" "https://$PREVIEW_DOMAIN/"
|
|
243
243
|
|
|
244
|
+
- name: Verify operational health
|
|
245
|
+
run: bunx brains-ops verify-user "$GITHUB_WORKSPACE" "$HANDLE"
|
|
246
|
+
|
|
244
247
|
- name: Upload generated config
|
|
245
248
|
uses: actions/upload-artifact@v4
|
|
246
249
|
with:
|