feat: v2
This commit is contained in:
@@ -4,7 +4,6 @@ import { join } from "node:path";
|
||||
import { tmpdir } from "node:os";
|
||||
import type { V1Deployment } from "@kubernetes/client-node";
|
||||
import {
|
||||
DEFAULT_BUILDERS,
|
||||
DEFAULT_REGISTRY,
|
||||
DEFAULT_ROLLOUT_TIMEOUT_MS,
|
||||
extractConfigArgument,
|
||||
@@ -35,7 +34,6 @@ describe("kuber config", () => {
|
||||
expect(await loadConfig(cwd)).toMatchObject({
|
||||
project: cwd.split("/").at(-1),
|
||||
registry: DEFAULT_REGISTRY,
|
||||
builders: DEFAULT_BUILDERS,
|
||||
rolloutTimeoutMs: DEFAULT_ROLLOUT_TIMEOUT_MS,
|
||||
configFile: undefined,
|
||||
});
|
||||
@@ -50,7 +48,6 @@ describe("kuber config", () => {
|
||||
project: "configured-project",
|
||||
composeFile: "deploy/compose.yml",
|
||||
registry: "registry.example.com/",
|
||||
builders: { amd64: "user@amd", remoteRoot: "build-root" },
|
||||
rolloutTimeoutMs: 42_000,
|
||||
async preBuild() {},
|
||||
};`,
|
||||
@@ -61,11 +58,6 @@ describe("kuber config", () => {
|
||||
project: "configured-project",
|
||||
composeFile: join(cwd, "deploy", "compose.yml"),
|
||||
registry: "registry.example.com",
|
||||
builders: {
|
||||
amd64: "user@amd",
|
||||
arm64: DEFAULT_BUILDERS.arm64,
|
||||
remoteRoot: "build-root",
|
||||
},
|
||||
rolloutTimeoutMs: 42_000,
|
||||
configFile,
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user