2021-06-18 20:36:45 +00:00
|
|
|
import RemoteBuilderEnvironmentVariable from './remote-builder-environment-variable';
|
|
|
|
|
import RemoteBuilderSecret from './remote-builder-secret';
|
|
|
|
|
|
2021-06-06 19:39:06 +00:00
|
|
|
export interface RemoteBuilderProviderInterface {
|
|
|
|
|
run(): Promise<void>;
|
2021-06-18 20:36:45 +00:00
|
|
|
runBuild(
|
|
|
|
|
// eslint-disable-next-line no-unused-vars
|
|
|
|
|
buildId: string,
|
|
|
|
|
// eslint-disable-next-line no-unused-vars
|
|
|
|
|
stackName: string,
|
|
|
|
|
// eslint-disable-next-line no-unused-vars
|
|
|
|
|
image: string,
|
|
|
|
|
// eslint-disable-next-line no-unused-vars
|
|
|
|
|
commands: string[],
|
|
|
|
|
// eslint-disable-next-line no-unused-vars
|
|
|
|
|
mountdir: string,
|
|
|
|
|
// eslint-disable-next-line no-unused-vars
|
|
|
|
|
workingdir: string,
|
|
|
|
|
// eslint-disable-next-line no-unused-vars
|
|
|
|
|
environment: RemoteBuilderEnvironmentVariable[],
|
|
|
|
|
// eslint-disable-next-line no-unused-vars
|
|
|
|
|
secrets: RemoteBuilderSecret[],
|
|
|
|
|
): Promise<void>;
|
2021-06-06 19:39:06 +00:00
|
|
|
}
|