This commit is contained in:
Philipp Kunz 2016-06-07 03:59:47 +02:00
parent 5a05092bc8
commit fe0b99309b
6 changed files with 83 additions and 36 deletions

View File

@ -1,3 +1,3 @@
import "typings-global"; import "typings-global";
export declare let bash: (commandArg: string, retryArg?: number) => void; export declare let bash: (commandArg: string, retryArg?: number, bareArg?: boolean) => string;
export declare let bashBare: (commandArg: any, retryArg?: number) => void; export declare let bashBare: (commandArg: any, retryArg?: number) => string;

37
dist/npmci.bash.js vendored

File diff suppressed because one or more lines are too long

View File

@ -1,16 +1,20 @@
export declare let build: () => any; export declare let build: () => any;
export declare let readDockerfiles: () => any; export declare let readDockerfiles: () => any;
export declare let getDockerImagesGitlab: (sortableArrayArg: Dockerfile[]) => void;
export declare let sortDockerfiles: (sortableArrayArg: Dockerfile[]) => any; export declare let sortDockerfiles: (sortableArrayArg: Dockerfile[]) => any;
export declare let mapDockerfiles: (sortedArray: Dockerfile[]) => any; export declare let mapDockerfiles: (sortedArray: Dockerfile[]) => any;
export declare let buildDockerfiles: (sortedArrayArg: Dockerfile[]) => any; export declare let buildDockerfiles: (sortedArrayArg: Dockerfile[]) => any;
export declare let pushDockerfiles: (sortedArrayArg: Dockerfile[]) => any; export declare let pushDockerfiles: (sortedArrayArg: Dockerfile[]) => any;
export declare let pullDockerfileImages: (sortableArrayArg: Dockerfile[]) => any;
export declare let testDockerfiles: (sortedArrayArg: Dockerfile[]) => any;
export declare let releaseDockerfiles: (sortedArrayArg: Dockerfile[]) => any;
export declare class Dockerfile { export declare class Dockerfile {
filePath: string; filePath: string;
repo: string; repo: string;
version: string; version: string;
cleanTag: string; cleanTag: string;
buildTag: string; buildTag: string;
releaseTag: string;
containerName: string;
content: string; content: string;
patchedContent: string; patchedContent: string;
baseImage: string; baseImage: string;
@ -23,10 +27,14 @@ export declare class Dockerfile {
}); });
build(): any; build(): any;
push(): any; push(): any;
pull(): void;
test(): void;
release(): void;
getId(): string;
patchContents(): any; patchContents(): any;
restoreContents(): any; restoreContents(): any;
} }
export declare let dockerFileVersion: (dockerfileNameArg: string) => string; export declare let dockerFileVersion: (dockerfileNameArg: string) => string;
export declare let dockerBaseImage: (dockerfileContentArg: string) => string; export declare let dockerBaseImage: (dockerfileContentArg: string) => string;
export declare let dockerTag: (repoArg: string, versionArg: string) => string; export declare let dockerTag: (repoArg: string, versionArg: string, stageArg: string) => string;
export declare let cleanTagsArrayFunction: (dockerfileArrayArg: Dockerfile[], trackingArrayArg: Dockerfile[]) => string[]; export declare let cleanTagsArrayFunction: (dockerfileArrayArg: Dockerfile[], trackingArrayArg: Dockerfile[]) => string[];

File diff suppressed because one or more lines are too long

View File

@ -2,3 +2,4 @@ import "typings-global";
export declare let cwd: string; export declare let cwd: string;
export declare let NpmciPackageRoot: string; export declare let NpmciPackageRoot: string;
export declare let NpmciPackageConfig: string; export declare let NpmciPackageConfig: string;
export declare let NpmciProjectDir: string;

3
dist/npmci.paths.js vendored
View File

@ -4,5 +4,6 @@ var plugins = require("./npmci.plugins");
exports.cwd = process.cwd(); exports.cwd = process.cwd();
exports.NpmciPackageRoot = plugins.path.join(__dirname, "../"); exports.NpmciPackageRoot = plugins.path.join(__dirname, "../");
exports.NpmciPackageConfig = plugins.path.join(exports.NpmciPackageRoot, "./config.json"); exports.NpmciPackageConfig = plugins.path.join(exports.NpmciPackageRoot, "./config.json");
exports.NpmciProjectDir = process.cwd();
//# sourceMappingURL=data:application/json;charset=utf8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIm5wbWNpLnBhdGhzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7QUFBQSxRQUFPLGdCQUFnQixDQUFDLENBQUE7QUFDeEIsSUFBWSxPQUFPLFdBQU0saUJBQWlCLENBQUMsQ0FBQTtBQUVoQyxXQUFHLEdBQUcsT0FBTyxDQUFDLEdBQUcsRUFBRSxDQUFDO0FBRXBCLHdCQUFnQixHQUFHLE9BQU8sQ0FBQyxJQUFJLENBQUMsSUFBSSxDQUFDLFNBQVM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