UNPKG

balena-cli

Version:

The official balena Command Line Interface

28 lines (27 loc) 802 B
import type { BalenaSDK } from 'balena-sdk'; import type { RegistrySecrets } from '@balena/compose/dist/multibuild'; import { ExpectedError } from '../errors'; export interface BuildOpts { dockerfilePath: string; emulated: boolean; nocache: boolean; registrySecrets: RegistrySecrets; headless: boolean; convertEol: boolean; multiDockerignore: boolean; isDraft: boolean; } export interface RemoteBuild { appSlug: string; source: string; auth: string; baseUrl: string; opts: BuildOpts; sdk: BalenaSDK; releaseId?: number; hadError?: boolean; } export declare class RemoteBuildFailedError extends ExpectedError { constructor(message?: string); } export declare function startRemoteBuild(build: RemoteBuild): Promise<number | undefined>;