singularci
Version:
SingularCI is a DSL transpiler used to generate CI/CD configuration files for existing CI platforms
31 lines • 788 B
TypeScript
import Task from './interfaces/Task';
export default class Job {
private name;
private tasks;
constructor(name: string, tasks: Task[]);
getName(): string;
getTasks(): Task[];
}
export declare type dockerBuildSyntax = {
image_name: string;
docker_file_path: string;
user_name: string;
password: string;
};
export declare type dockerPullSyntax = {
user_name: string;
password: string;
image_name: string;
};
export declare type checkoutSyntax = {
repo_url: string;
repo_name: string;
};
export declare type JobSyntaxType = {
name: string;
run?: string[];
docker_build?: dockerBuildSyntax;
docker_pull?: dockerPullSyntax;
checkout?: checkoutSyntax;
};
//# sourceMappingURL=Job.d.ts.map