1import * as _ from 'lodash-es' 5const getGensDfActionNames = () => _.chain(getDeployActions()).map((fnc, fncName) => { 6 if (!(fnc as any).gensDf) return 10const getLazyDockerActionNames = () => _.chain(getDeployActions()).map((fnc, fncName) => { 11 if (!(fnc as any).needsLazyDocker) return 15export const deployActionBuildsDf = ({action}: {action?: string}) => isApplyishAction(action) || action === 'builddf' 16export const deployActionGensDf = ({action}: {action?: string}) => { 17 return _.includes(getGensDfActionNames(), action) || deployActionBuildsDf({action}) 19// actions that need docker paths computed but defer actual build 20export const deployActionNeedsLazyDocker = ({action}: {action?: string}) => { 21 return _.includes(getLazyDockerActionNames(), action)