diff --git a/core/src/commands/get/get-actions.ts b/core/src/commands/get/get-actions.ts index f3384e6456..404cfae364 100644 --- a/core/src/commands/get/get-actions.ts +++ b/core/src/commands/get/get-actions.ts @@ -152,7 +152,7 @@ export class GetActionsCommand extends Command { actionsFilter = [opts.kind + ".*"] } - const graph = await garden.getResolvedConfigGraph({ log, emit: false, actionsFilter }) + const graph = await garden.getResolvedConfigGraph({ log, emit: false, actionsFilter, statusOnly: true }) const kindOpt = opts["kind"]?.toLowerCase() let actions: ResolvedActionWithState[] = [] diff --git a/core/src/commands/get/get-files.ts b/core/src/commands/get/get-files.ts index a2d06c5636..26f6d87bc5 100644 --- a/core/src/commands/get/get-files.ts +++ b/core/src/commands/get/get-files.ts @@ -43,7 +43,7 @@ export class GetFilesCommand extends Command { } async action({ garden, log, args }: CommandParams): Promise> { - const graph = await garden.getConfigGraph({ log, emit: false }) + const graph = await garden.getConfigGraph({ log, emit: false, statusOnly: true }) const actions = graph.getActions({ refs: args.keys?.length ? args.keys : undefined }) const result = fromPairs( diff --git a/core/src/commands/get/get-graph.ts b/core/src/commands/get/get-graph.ts index 6e0526882c..2264b63870 100644 --- a/core/src/commands/get/get-graph.ts +++ b/core/src/commands/get/get-graph.ts @@ -25,7 +25,7 @@ export class GetGraphCommand extends Command { } async action({ garden, log }: CommandParams): Promise> { - const graph = await garden.getConfigGraph({ log, emit: false }) + const graph = await garden.getConfigGraph({ log, emit: false, statusOnly: true }) const renderedGraph = graph.render() const output: GraphOutput = { nodes: renderedGraph.nodes, diff --git a/core/src/commands/get/get-modules.ts b/core/src/commands/get/get-modules.ts index b26efc6250..4c5812d2a0 100644 --- a/core/src/commands/get/get-modules.ts +++ b/core/src/commands/get/get-modules.ts @@ -86,7 +86,7 @@ export class GetModulesCommand extends Command { actionsFilter = args.modules.map((name) => `build.${name}`) } - const graph = await garden.getConfigGraph({ log, emit: false, actionsFilter }) + const graph = await garden.getConfigGraph({ log, emit: false, actionsFilter, statusOnly: true }) const modules = sortBy( graph.getModules({ names: args.modules, includeDisabled: !opts["exclude-disabled"] }), diff --git a/core/src/commands/logs.ts b/core/src/commands/logs.ts index 00b6fbf98f..fceabed6dd 100644 --- a/core/src/commands/logs.ts +++ b/core/src/commands/logs.ts @@ -150,7 +150,7 @@ export class LogsCommand extends Command { } } - const graph = await garden.getConfigGraph({ log, emit: false }) + const graph = await garden.getConfigGraph({ log, emit: false, statusOnly: true }) const allDeploys = graph.getDeploys() const actions = args.names ? allDeploys.filter((s) => args.names?.includes(s.name)) : allDeploys diff --git a/core/src/commands/update-remote/actions.ts b/core/src/commands/update-remote/actions.ts index 11521d6db9..55fd6e6b32 100644 --- a/core/src/commands/update-remote/actions.ts +++ b/core/src/commands/update-remote/actions.ts @@ -91,7 +91,7 @@ export async function updateRemoteActions({ opts: ParameterValues }) { const { actions: keys } = args - const graph = await garden.getConfigGraph({ log, emit: false }) + const graph = await garden.getConfigGraph({ log, emit: false, statusOnly: true }) const actions = graph.getActions({ refs: keys }) const actionSources = actions diff --git a/core/src/commands/update-remote/modules.ts b/core/src/commands/update-remote/modules.ts index 7bec15eefd..60675a7bd2 100644 --- a/core/src/commands/update-remote/modules.ts +++ b/core/src/commands/update-remote/modules.ts @@ -90,7 +90,7 @@ export async function updateRemoteModules({ opts: ParameterValues }) { const { modules: moduleNames } = args - const graph = await garden.getConfigGraph({ log, emit: false }) + const graph = await garden.getConfigGraph({ log, emit: false, statusOnly: true }) const modules = graph.getModules({ names: moduleNames }) const moduleSources = modules diff --git a/core/src/commands/util/profile-project.ts b/core/src/commands/util/profile-project.ts index 2e8440a007..a55ef68f26 100644 --- a/core/src/commands/util/profile-project.ts +++ b/core/src/commands/util/profile-project.ts @@ -29,7 +29,7 @@ export class ProfileProjectCommand extends Command { } async action({ garden, log }: CommandParams): Promise { - const graph = await garden.getConfigGraph({ log, emit: false }) + const graph = await garden.getConfigGraph({ log, emit: false, statusOnly: true }) summarizeGraph(log, garden, graph) log.info(renderDivider())