diff --git a/dist/npmci.bash.js b/dist/npmci.bash.js index 38a0fee..dae5a6d 100644 --- a/dist/npmci.bash.js +++ b/dist/npmci.bash.js @@ -76,6 +76,7 @@ exports.bash = (commandArg, retryArg = 2, bareArg = false) => __awaiter(this, vo } else { plugins.beautylog.log('ShellExec would be: ' + commandArg); + yield plugins.smartdelay.delayFor(100); execResult = { exitCode: 0, stdout: 'testOutput' @@ -95,4 +96,4 @@ exports.bashBare = (commandArg, retryArg = 2) => __awaiter(this, void 0, void 0, exports.bashNoError = (commandArg) => __awaiter(this, void 0, void 0, function* () { return yield exports.bash(commandArg, -1); }); -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibnBtY2kuYmFzaC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uL3RzL25wbWNpLmJhc2gudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7OztBQUFBLDJDQUEwQztBQUMxQyxpQ0FBZ0M7QUFFaEM7O0dBRUc7QUFDUSxRQUFBLFlBQVksR0FBRyxNQUFNLENBQUMsS0FBSyxFQUFXLENBQUE7QUFFakQ7O0dBRUc7QUFDSCxJQUFJLGVBQWUsR0FBRyxJQUFJLE9BQU8sQ0FBQyxVQUFVLENBQUMsVUFBVSxDQUFDO0lBQ3RELFFBQVEsRUFBRSxNQUFNO0lBQ2hCLGVBQWUsRUFBRSxFQUFFO0NBQ3BCLENBQUMsQ0FBQTtBQUVGLElBQUksUUFBUSxHQUFHO0lBQ2IsRUFBRSxDQUFDLENBQ0QsQ0FBQyxNQUFNLE9BQU8sQ0FBQyxVQUFVLENBQUMsVUFBVSxDQUFDLHdDQUF3QyxDQUFDLENBQUMsQ0FBQyxRQUFRLEtBQUssQ0FDL0YsQ0FBQyxDQUFDLENBQUM7UUFDRCxlQUFlLENBQUMsY0FBYyxDQUFDLENBQUMsMkJBQTJCLENBQUMsQ0FBQyxDQUFBO1FBQzdELG9C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RCxNQUFNLENBQUMsVUFBVSxDQUFDLE1BQU0sQ0FBQTtBQUMxQixDQUFDLENBQUEsQ0FBQTtBQUVEOztHQUVHO0FBQ1EsUUFBQSxRQUFRLEdBQUcsQ0FBTyxVQUFrQixFQUFFLFdBQW1CLENBQUM7SUFDbkUsTUFBTSxDQUFDLE1BQU0sWUFBSSxDQUFDLFVBQVUsRUFBRSxRQUFRLEVBQUUsSUFBSSxDQUFDLENBQUE7QUFDL0MsQ0FBQyxDQUFBLENBQUE7QUFFRDs7R0FFRztBQUNRLFFBQUEsV0FBVyxHQUFHLENBQU8sVUFBa0I7SUFDaEQsTUFBTSxDQUFDLE1BQU0sWUFBSSxDQUFDLFVBQVUsRUFBRSxDQUFDLENBQUMsQ0FBQyxDQUFBO0FBQ25DLENBQUMsQ0FBQSxDQUFBIn0= \ No newline at end of file diff --git a/dist/npmci.build.docker.js b/dist/npmci.build.docker.js index 06dd945..56977c8 100644 --- a/dist/npmci.build.docker.js +++ b/dist/npmci.build.docker.js @@ -93,20 +93,18 @@ exports.mapDockerfiles = (sortedArray) => __awaiter(this, void 0, void 0, functi * builds the correspoding real docker image for each Dockerfile class instance */ exports.buildDockerfiles = (sortedArrayArg) => __awaiter(this, void 0, void 0, function* () { - sortedArrayArg.forEach(function (dockerfileArg) { - return __awaiter(this, void 0, void 0, function* () { - yield dockerfileArg.build(); - }); - }); + for (let dockerfileArg of sortedArrayArg) { + yield dockerfileArg.build(); + } return sortedArrayArg; }); /** * pushes the real Dockerfile images to a Docker registry */ exports.pushDockerfiles = (sortedArrayArg) => __awaiter(this, void 0, void 0, function* () { - sortedArrayArg.forEach((dockerfileArg) => __awaiter(this, void 0, void 0, function* () { + for (let dockerfileArg of sortedArrayArg) { yield dockerfileArg.push(NpmciEnv.buildStage); - })); + } return sortedArrayArg; }); /** @@ -114,9 +112,9 @@ exports.pushDockerfiles = (sortedArrayArg) => __awaiter(this, void 0, void 0, fu * This is needed if building, testing, and publishing of Docker images is carried out in seperate CI stages. */ exports.pullDockerfileImages = (sortableArrayArg, registryArg = 'registry.gitlab.com') => __awaiter(this, void 0, void 0, function* () { - sortableArrayArg.forEach((dockerfileArg) => __awaiter(this, void 0, void 0, function* () { + for (let dockerfileArg of sortableArrayArg) { yield dockerfileArg.pull(registryArg); - })); + } return sortableArrayArg; }); /** @@ -124,9 +122,9 @@ exports.pullDockerfileImages = (sortableArrayArg, registryArg = 'registry.gitlab * @param sortedArrayArg Dockerfile[] that contains all Dockerfiles in cwd */ exports.testDockerfiles = (sortedArrayArg) => __awaiter(this, void 0, void 0, function* () { - sortedArrayArg.forEach((dockerfileArg) => __awaiter(this, void 0, void 0, function* () { + for (let dockerfileArg of sortedArrayArg) { yield dockerfileArg.test(); - })); + } return sortedArrayArg; }); /** @@ -158,6 +156,7 @@ class Dockerfile { plugins.beautylog.info('now building Dockerfile for ' + this.cleanTag); yield npmci_bash_1.bashBare('docker build -t ' + this.buildTag + ' -f ' + this.filePath + ' .'); NpmciEnv.dockerFilesBuilt.push(this); + return; }); } ; @@ -277,4 +276,4 @@ exports.cleanTagsArrayFunction = function (dockerfileArrayArg, trackingArrayArg) }); return cleanTagsArray; }; -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibnBtY2kuYnVpbGQuZG9ja2VyLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vdHMvbnBtY2kuYnVpbGQuZG9ja2VyLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7Ozs7Ozs7QUFBQSwyQ0FBMEM7QUFDMUMsdUNBQXNDO0FBQ3RDLHdDQUF1QztBQUN2Qyw2Q0FBdUM7QUFFdkM7O0dBRUc7QUFDUSxRQUFBLEtBQUssR0FBRztJQUNqQixNQUFNLHVCQUFlLEVBQUU7U0FDcEIsSUFBSSxDQUFDLHVCQUFlLENBQUM7U0FDckIsSUFBSSxDQUFDLHNCQUFjLENBQUM7U0FDcEIsSUFBSSxDQUF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0FBQTtRQUM3QyxDQUFDO0lBQ0gsQ0FBQyxDQUFDLENBQUE7SUFDRixNQUFNLENBQUMsY0FBYyxDQUFBO0FBQ3ZCLENBQUMsQ0FBQSJ9 \ No newline at end of file diff --git a/dist/npmci.plugins.d.ts b/dist/npmci.plugins.d.ts index 04945ca..e31bfc4 100644 --- a/dist/npmci.plugins.d.ts +++ b/dist/npmci.plugins.d.ts @@ -8,6 +8,7 @@ export import projectinfo = require('projectinfo'); export import q = require('smartq'); export declare let request: any; export import smartcli = require('smartcli'); +export import smartdelay = require('smartdelay'); export import smartfile = require('smartfile'); export import shelljs = require('shelljs'); export import smartparam = require('smartparam'); diff --git a/dist/npmci.plugins.js b/dist/npmci.plugins.js index ad661b4..cb20b2a 100644 --- a/dist/npmci.plugins.js +++ b/dist/npmci.plugins.js @@ -10,6 +10,7 @@ exports.projectinfo = require("projectinfo"); exports.q = require("smartq"); exports.request = require('request'); exports.smartcli = require("smartcli"); +exports.smartdelay = require("smartdelay"); exports.smartfile = require("smartfile"); exports.shelljs = require("shelljs"); exports.smartparam = require("smartparam"); @@ -19,4 +20,4 @@ exports.smartsocket = require("smartsocket"); exports.smartssh = require("smartssh"); exports.smartstring = require("smartstring"); exports.through2 = require("through2"); -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibnBtY2kucGx1Z2lucy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uL3RzL25wbWNpLnBsdWdpbnMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7QUFBQSx5Q0FBOEM7QUFDbkMsUUFBQSxJQUFJLEdBQUcsT0FBTyxDQUFDLE1BQU0sQ0FBQyxDQUFBO0FBQ2pDLGdEQUFxRDtBQUMxQyxRQUFBLE1BQU0sR0FBRyxPQUFPLENBQUMsUUFBUSxDQUFDLENBQUE7QUFDckMsdUNBQTRDO0FBQzVDLCtCQUFvQztBQUNwQyw2Q0FBa0Q7QUFDbEQsOEJBQW1DO0FBQ3hCLFFBQUEsT0FBTyxHQUFHLE9BQU8sQ0FBQyxTQUFTLENBQUMsQ0FBQTtBQUN2Qyx1Q0FBNEM7QUFDNUMseUNBQThDO0FBQzlDLHFDQUEwQztBQUMxQywyQ0FBZ0Q7QUFDaEQsbUNBQXdDO0FBQ3hDLDJDQUFnRDtBQUNoRCw2Q0FBa0Q7QUFDbEQsdUNBQTRDO0FBQzVDLDZDQUFrRDtBQUNsRCx1Q0FBNEMifQ== \ No newline at end of file +//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibnBtY2kucGx1Z2lucy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uL3RzL25wbWNpLnBsdWdpbnMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7QUFBQSx5Q0FBOEM7QUFDbkMsUUFBQSxJQUFJLEdBQUcsT0FBTyxDQUFDLE1BQU0sQ0FBQyxDQUFBO0FBQ2pDLGdEQUFxRDtBQUMxQyxRQUFBLE1BQU0sR0FBRyxPQUFPLENBQUMsUUFBUSxDQUFDLENBQUE7QUFDckMsdUNBQTRDO0FBQzVDLCtCQUFvQztBQUNwQyw2Q0FBa0Q7QUFDbEQsOEJBQW1DO0FBQ3hCLFFBQUEsT0FBTyxHQUFHLE9BQU8sQ0FBQyxTQUFTLENBQUMsQ0FBQTtBQUN2Qyx1Q0FBNEM7QUFDNUMsMkNBQWdEO0FBQ2hELHlDQUE4QztBQUM5QyxxQ0FBMEM7QUFDMUMsMkNBQWdEO0FBQ2hELG1DQUF3QztBQUN4QywyQ0FBZ0Q7QUFDaEQsNkNBQWtEO0FBQ2xELHVDQUE0QztBQUM1Qyw2Q0FBa0Q7QUFDbEQsdUNBQTRDIn0= \ No newline at end of file diff --git a/package.json b/package.json index 50d8087..2cc6326 100644 --- a/package.json +++ b/package.json @@ -42,10 +42,11 @@ "request": "^2.81.0", "shelljs": "^0.7.7", "smartcli": "^2.0.1", + "smartdelay": "^1.0.1", "smartfile": "^4.1.7", "smartparam": "^0.1.1", "smartq": "^1.1.1", - "smartshell": "^1.0.2", + "smartshell": "^1.0.3", "smartsocket": "^1.1.7", "smartssh": "^1.2.1", "smartstring": "^2.0.24", diff --git a/ts/npmci.bash.ts b/ts/npmci.bash.ts index 96c4547..e39adf3 100644 --- a/ts/npmci.bash.ts +++ b/ts/npmci.bash.ts @@ -72,6 +72,7 @@ export let bash = async (commandArg: string, retryArg: number = 2, bareArg: bool } } else { plugins.beautylog.log('ShellExec would be: ' + commandArg) + await plugins.smartdelay.delayFor(100) execResult = { exitCode: 0, stdout: 'testOutput' @@ -83,7 +84,7 @@ export let bash = async (commandArg: string, retryArg: number = 2, bareArg: bool /** * bashBare allows usage of bash without sourcing any files like nvm */ -export let bashBare = async(commandArg: string, retryArg: number = 2): Promise => { +export let bashBare = async (commandArg: string, retryArg: number = 2): Promise => { return await bash(commandArg, retryArg, true) } diff --git a/ts/npmci.build.docker.ts b/ts/npmci.build.docker.ts index c1bcf3d..26895e2 100644 --- a/ts/npmci.build.docker.ts +++ b/ts/npmci.build.docker.ts @@ -86,9 +86,9 @@ export let mapDockerfiles = async (sortedArray: Dockerfile[]): Promise { - sortedArrayArg.forEach(async function (dockerfileArg) { + for (let dockerfileArg of sortedArrayArg) { await dockerfileArg.build() - }) + } return sortedArrayArg } @@ -96,9 +96,9 @@ export let buildDockerfiles = async (sortedArrayArg: Dockerfile[]) => { * pushes the real Dockerfile images to a Docker registry */ export let pushDockerfiles = async (sortedArrayArg: Dockerfile[]) => { - sortedArrayArg.forEach(async (dockerfileArg) => { + for (let dockerfileArg of sortedArrayArg) { await dockerfileArg.push(NpmciEnv.buildStage) - }) + } return sortedArrayArg } @@ -107,9 +107,9 @@ export let pushDockerfiles = async (sortedArrayArg: Dockerfile[]) => { * This is needed if building, testing, and publishing of Docker images is carried out in seperate CI stages. */ export let pullDockerfileImages = async (sortableArrayArg: Dockerfile[], registryArg = 'registry.gitlab.com') => { - sortableArrayArg.forEach(async (dockerfileArg) => { + for (let dockerfileArg of sortableArrayArg) { await dockerfileArg.pull(registryArg) - }) + } return sortableArrayArg } @@ -118,9 +118,9 @@ export let pullDockerfileImages = async (sortableArrayArg: Dockerfile[], registr * @param sortedArrayArg Dockerfile[] that contains all Dockerfiles in cwd */ export let testDockerfiles = async (sortedArrayArg: Dockerfile[]) => { - sortedArrayArg.forEach(async (dockerfileArg) => { + for (let dockerfileArg of sortedArrayArg) { await dockerfileArg.test() - }) + } return sortedArrayArg } @@ -163,6 +163,7 @@ export class Dockerfile { plugins.beautylog.info('now building Dockerfile for ' + this.cleanTag) await bashBare('docker build -t ' + this.buildTag + ' -f ' + this.filePath + ' .') NpmciEnv.dockerFilesBuilt.push(this) + return }; /** diff --git a/ts/npmci.plugins.ts b/ts/npmci.plugins.ts index d94f503..0b7b904 100644 --- a/ts/npmci.plugins.ts +++ b/ts/npmci.plugins.ts @@ -8,6 +8,7 @@ export import projectinfo = require('projectinfo') export import q = require('smartq') export let request = require('request') export import smartcli = require('smartcli') +export import smartdelay = require('smartdelay') export import smartfile = require('smartfile') export import shelljs = require('shelljs') export import smartparam = require('smartparam') diff --git a/yarn.lock b/yarn.lock index 1eba796..066c885 100644 --- a/yarn.lock +++ b/yarn.lock @@ -22,11 +22,7 @@ version "2.1.5" resolved "https://registry.yarnpkg.com/@types/js-base64/-/js-base64-2.1.5.tgz#31b6d36a66a4c59ae3f31b5e16bfd6b832a6eb41" -"@types/lodash@4.x.x", "@types/lodash@^4.14.35": - version "4.14.52" - resolved "https://registry.yarnpkg.com/@types/lodash/-/lodash-4.14.52.tgz#de5c7ab14da1289733233c9b0ec6f9e377db90f5" - -"@types/lodash@^4.14.55": +"@types/lodash@4.x.x", "@types/lodash@^4.14.35", "@types/lodash@^4.14.55": version "4.14.55" resolved "https://registry.yarnpkg.com/@types/lodash/-/lodash-4.14.55.tgz#75d7d4eba020ee4103d4cbd0f2a3ef5db8f7534f" @@ -42,11 +38,7 @@ version "2.2.39" resolved "https://registry.yarnpkg.com/@types/mocha/-/mocha-2.2.39.tgz#f68d63db8b69c38e9558b4073525cf96c4f7a829" -"@types/node@*": - version "7.0.5" - resolved "https://registry.yarnpkg.com/@types/node/-/node-7.0.5.tgz#96a0f0a618b7b606f1ec547403c00650210bfbb7" - -"@types/node@^7.0.8": +"@types/node@*", "@types/node@^7.0.8": version "7.0.8" resolved "https://registry.yarnpkg.com/@types/node/-/node-7.0.8.tgz#25e4dd804b630c916ae671233e6d71f6ce18124a" @@ -284,20 +276,7 @@ beautylog@^5.0.23: smartenv "^1.2.5" typings-global "^1.0.13" -beautylog@^6.0.0, beautylog@^6.1.1: - version "6.1.1" - resolved "https://registry.yarnpkg.com/beautylog/-/beautylog-6.1.1.tgz#2a83603ad7e2a0a09701ac63d7d3064a588dc779" - dependencies: - "@types/lodash" "4.x.x" - beautycolor "^1.0.5" - figlet "^1.2.0" - lodash "^4.17.4" - ora "^1.1.0" - smartenv "^2.0.0" - smartq "^1.0.4" - typings-global "^1.0.14" - -beautylog@^6.1.3: +beautylog@^6.0.0, beautylog@^6.1.1, beautylog@^6.1.3: version "6.1.3" resolved "https://registry.yarnpkg.com/beautylog/-/beautylog-6.1.3.tgz#0e8640cc429746b1e0c46e8767e9273b6b1902f1" dependencies: @@ -2147,15 +2126,7 @@ set-blocking@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/set-blocking/-/set-blocking-2.0.0.tgz#045f9782d011ae9a6803ddd382b24392b3d890f7" -shelljs@^0.7.4, shelljs@^0.7.5: - version "0.7.6" - resolved "https://registry.yarnpkg.com/shelljs/-/shelljs-0.7.6.tgz#379cccfb56b91c8601e4793356eb5382924de9ad" - dependencies: - glob "^7.0.0" - interpret "^1.0.0" - rechoir "^0.6.2" - -shelljs@^0.7.6, shelljs@^0.7.7: +shelljs@^0.7.4, shelljs@^0.7.5, shelljs@^0.7.6, shelljs@^0.7.7: version "0.7.7" resolved "https://registry.yarnpkg.com/shelljs/-/shelljs-0.7.7.tgz#b2f5c77ef97148f4b4f6e22682e10bba8667cff1" dependencies: @@ -2227,6 +2198,12 @@ smartcli@^2.0.1: typings-global "^1.0.14" yargs "^6.4.0" +smartdelay@^1.0.1: + version "1.0.1" + resolved "https://registry.yarnpkg.com/smartdelay/-/smartdelay-1.0.1.tgz#687f8bcc09d7c62c9c5a8a1771c1aba3aff54156" + dependencies: + typings-global "^1.0.14" + smartenv@^1.2.2, smartenv@^1.2.5: version "1.2.5" resolved "https://registry.yarnpkg.com/smartenv/-/smartenv-1.2.5.tgz#5e50343ec4653953ef24929fc548cd74ea53205c" @@ -2244,7 +2221,7 @@ smartenv@^2.0.0: q "^1.4.1" typings-global "^1.0.14" -smartfile@4.1.6, smartfile@^4.0.21, smartfile@^4.1.0: +smartfile@4.1.6: version "4.1.6" resolved "https://registry.yarnpkg.com/smartfile/-/smartfile-4.1.6.tgz#d71026aefef99233c56766c3c6c11afc41a19b3a" dependencies: @@ -2261,7 +2238,7 @@ smartfile@4.1.6, smartfile@^4.0.21, smartfile@^4.1.0: vinyl "^2.0.1" vinyl-file "^3.0.0" -smartfile@^4.1.7: +smartfile@^4.0.21, smartfile@^4.1.0, smartfile@^4.1.7: version "4.1.7" resolved "https://registry.yarnpkg.com/smartfile/-/smartfile-4.1.7.tgz#5657bea62ad673d891b2c9a00f5866154e768c3f" dependencies: @@ -2309,9 +2286,9 @@ smartrequest@^1.0.4: smartq "^1.1.0" typings-global "^1.0.14" -smartshell@^1.0.2: - version "1.0.2" - resolved "https://registry.yarnpkg.com/smartshell/-/smartshell-1.0.2.tgz#b05b8ea6b5ea7191f577028f96bf961c26302182" +smartshell@^1.0.3: + version "1.0.3" + resolved "https://registry.yarnpkg.com/smartshell/-/smartshell-1.0.3.tgz#a921fed84783fd840e87d74964d8b4ca84f44998" dependencies: "@types/shelljs" "^0.6.0" shelljs "^0.7.6"