commit
cf41e81153
4
dist/index.d.ts
vendored
4
dist/index.d.ts
vendored
@ -1,3 +1 @@
|
|||||||
export { build } from './npmci.build';
|
import './npmci.cli';
|
||||||
export { install } from './npmci.install';
|
|
||||||
export { publish } from './npmci.publish';
|
|
||||||
|
100
dist/index.js
vendored
100
dist/index.js
vendored
@ -1,100 +1,4 @@
|
|||||||
"use strict";
|
"use strict";
|
||||||
Object.defineProperty(exports, "__esModule", { value: true });
|
Object.defineProperty(exports, "__esModule", { value: true });
|
||||||
const plugins = require("./npmci.plugins");
|
require("./npmci.cli");
|
||||||
const paths = require("./npmci.paths");
|
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi90cy9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOztBQUFBLHVCQUFvQiJ9
|
||||||
let npmciInfo = new plugins.projectinfo.ProjectinfoNpm(paths.NpmciPackageRoot);
|
|
||||||
plugins.beautylog.log('npmci version: ' + npmciInfo.version);
|
|
||||||
const npmci_build_1 = require("./npmci.build");
|
|
||||||
const npmci_clean_1 = require("./npmci.clean");
|
|
||||||
const npmci_command_1 = require("./npmci.command");
|
|
||||||
const npmci_install_1 = require("./npmci.install");
|
|
||||||
const npmci_publish_1 = require("./npmci.publish");
|
|
||||||
const npmci_prepare_1 = require("./npmci.prepare");
|
|
||||||
const npmci_test_1 = require("./npmci.test");
|
|
||||||
const npmci_trigger_1 = require("./npmci.trigger");
|
|
||||||
const NpmciEnv = require("./npmci.env");
|
|
||||||
var npmci_build_2 = require("./npmci.build");
|
|
||||||
exports.build = npmci_build_2.build;
|
|
||||||
var npmci_install_2 = require("./npmci.install");
|
|
||||||
exports.install = npmci_install_2.install;
|
|
||||||
var npmci_publish_2 = require("./npmci.publish");
|
|
||||||
exports.publish = npmci_publish_2.publish;
|
|
||||||
let smartcli = new plugins.smartcli.Smartcli();
|
|
||||||
smartcli.addVersion(npmciInfo.version);
|
|
||||||
// build
|
|
||||||
smartcli.addCommand('build')
|
|
||||||
.then((argv) => {
|
|
||||||
npmci_build_1.build(argv._[1])
|
|
||||||
.then(NpmciEnv.configStore)
|
|
||||||
.catch(err => {
|
|
||||||
console.log(err);
|
|
||||||
process.exit(1);
|
|
||||||
});
|
|
||||||
});
|
|
||||||
// clean
|
|
||||||
smartcli.addCommand('clean')
|
|
||||||
.then((argv) => {
|
|
||||||
npmci_clean_1.clean()
|
|
||||||
.then(NpmciEnv.configStore)
|
|
||||||
.catch(err => {
|
|
||||||
console.log(err);
|
|
||||||
process.exit(1);
|
|
||||||
});
|
|
||||||
});
|
|
||||||
// command
|
|
||||||
smartcli.addCommand('command')
|
|
||||||
.then((argv) => {
|
|
||||||
npmci_command_1.command()
|
|
||||||
.then(NpmciEnv.configStore)
|
|
||||||
.catch(err => {
|
|
||||||
console.log(err);
|
|
||||||
process.exit(1);
|
|
||||||
});
|
|
||||||
});
|
|
||||||
// install
|
|
||||||
smartcli.addCommand('install')
|
|
||||||
.then((argv) => {
|
|
||||||
npmci_install_1.install(argv._[1])
|
|
||||||
.then(NpmciEnv.configStore)
|
|
||||||
.catch(err => {
|
|
||||||
console.log(err);
|
|
||||||
process.exit(1);
|
|
||||||
});
|
|
||||||
});
|
|
||||||
// prepare
|
|
||||||
smartcli.addCommand('prepare')
|
|
||||||
.then((argv) => {
|
|
||||||
npmci_prepare_1.prepare(argv._[1])
|
|
||||||
.then(NpmciEnv.configStore)
|
|
||||||
.catch(err => {
|
|
||||||
console.log(err);
|
|
||||||
process.exit(1);
|
|
||||||
});
|
|
||||||
});
|
|
||||||
// publish
|
|
||||||
smartcli.addCommand('publish')
|
|
||||||
.then((argv) => {
|
|
||||||
npmci_publish_1.publish(argv._[1])
|
|
||||||
.then(NpmciEnv.configStore)
|
|
||||||
.catch(err => {
|
|
||||||
console.log(err);
|
|
||||||
process.exit(1);
|
|
||||||
});
|
|
||||||
});
|
|
||||||
// test
|
|
||||||
smartcli.addCommand('test')
|
|
||||||
.then((argv) => {
|
|
||||||
npmci_test_1.test(argv._[1])
|
|
||||||
.then(NpmciEnv.configStore)
|
|
||||||
.catch(err => {
|
|
||||||
console.log(err);
|
|
||||||
process.exit(1);
|
|
||||||
});
|
|
||||||
});
|
|
||||||
// trigger
|
|
||||||
smartcli.addCommand('trigger')
|
|
||||||
.then((argv) => {
|
|
||||||
npmci_trigger_1.trigger();
|
|
||||||
});
|
|
||||||
smartcli.startParse();
|
|
||||||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi90cy9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOztBQUFBLDJDQUEwQztBQUMxQyx1Q0FBc0M7QUFDdEMsSUFBSSxTQUFTLEdBQUcsSUFBSSxPQUFPLENBQUMsV0FBVyxDQUFDLGNBQWMsQ0FBQyxLQUFLLENBQUMsZ0JBQWdCLENBQUMsQ0FBQTtBQUM5RSxPQUFPLENBQUMsU0FBUyxDQUFDLEdBQUcsQ0FBQyxpQkFBaUIsR0FBRyxTQUFTLENBQUMsT0FBTyxDQUFDLENBQUE7QUFFNUQsK0NBQXFDO0FBQ3JDLCtDQUFxQztBQUNyQyxtREFBeUM7QUFDekMsbURBQXlDO0FBQ3pDLG1EQUF5QztBQUN6QyxtREFBeUM7QUFDekMsNkNBQW1DO0FBQ25DLG1EQUF5QztBQUN6Qyx3Q0FBdUM7QUFFdkMsNkNBQXFDO0FBQTVCLDhCQUFBLEtBQUssQ0FBQTtBQUNkLGlEQUEwQztBQUFqQyxrQ0FBQSxPQUFPLENBQUE7QUFDaEIsaURBQTBDO0FBQWpDLGtDQUFBLE9BQU8sQ0FBQTtBQUVoQixJQUFJLFFBQVEsR0FBRyxJQUFJLE9BQU8sQ0FBQyxRQUFRLENBQUMsUUFBUSxFQUFFLENBQUE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Q0FBQyxJQUFJLENBQUMsQ0FBQyxDQUFFLENBQUMsQ0FBRSxDQUFDO1NBQ2pCLElBQUksQ0FBQyxRQUFRLENBQUMsV0FBVyxDQUFDO1NBQzFCLEtBQUssQ0FBQyxHQUFHO1FBQ1IsT0FBTyxDQUFDLEdBQUcsQ0FBQyxHQUFHLENBQUMsQ0FBQTtRQUNoQixPQUFPLENBQUMsSUFBSSxDQUFDLENBQUMsQ0FBQyxDQUFBO0lBQ2pCLENBQUMsQ0FBQyxDQUFBO0FBQ04sQ0FBQyxDQUFDLENBQUE7QUFFSixPQUFPO0FBQ1AsUUFBUSxDQUFDLFVBQVUsQ0FBQyxNQUFNLENBQUM7S0FDeEIsSUFBSSxDQUFDLENBQUMsSUFBSTtJQUNULGlCQUFJLENBQUMsSUFBSSxDQUFDLENBQUMsQ0FBRSxDQUFDLENBQUUsQ0FBQztTQUNkLElBQUksQ0FBQyxRQUFRLENBQUMsV0FBVyxDQUFDO1NBQzFCLEtBQUssQ0FBQyxHQUFHO1FBQ1IsT0FBTyxDQUFDLEdBQUcsQ0FBQyxHQUFHLENBQUMsQ0FBQTtRQUNoQixPQUFPLENBQUMsSUFBSSxDQUFDLENBQUMsQ0FBQyxDQUFBO0lBQ2pCLENBQUMsQ0FBQyxDQUFBO0FBQ04sQ0FBQyxDQUFDLENBQUE7QUFFSixVQUFVO0FBQ1YsUUFBUSxDQUFDLFVBQVUsQ0FBQyxTQUFTLENBQUM7S0FDM0IsSUFBSSxDQUFDLENBQUMsSUFBSTtJQUNULHVCQUFPLEVBQUUsQ0FBQTtBQUNYLENBQUMsQ0FBQyxDQUFBO0FBRUosUUFBUSxDQUFDLFVBQVUsRUFBRSxDQUFBIn0=
|
|
@ -8,15 +8,16 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|||||||
});
|
});
|
||||||
};
|
};
|
||||||
Object.defineProperty(exports, "__esModule", { value: true });
|
Object.defineProperty(exports, "__esModule", { value: true });
|
||||||
const plugins = require("./npmci.plugins");
|
const plugins = require("./mod.plugins");
|
||||||
const buildDocker = require("./npmci.build.docker");
|
const npmciMods = require("../npmci.mods");
|
||||||
/**
|
/**
|
||||||
* builds for a specific service
|
* builds for a specific service
|
||||||
*/
|
*/
|
||||||
exports.build = (commandArg) => __awaiter(this, void 0, void 0, function* () {
|
exports.build = (commandArg) => __awaiter(this, void 0, void 0, function* () {
|
||||||
switch (commandArg) {
|
switch (commandArg) {
|
||||||
case 'docker':
|
case 'docker':
|
||||||
yield buildDocker.build();
|
let modDocker = yield npmciMods.modDocker.load();
|
||||||
|
yield modDocker.build();
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
plugins.beautylog.log('build target ' + commandArg + ' not recognised!');
|
plugins.beautylog.log('build target ' + commandArg + ' not recognised!');
|
||||||
@ -24,4 +25,4 @@ exports.build = (commandArg) => __awaiter(this, void 0, void 0, function* () {
|
|||||||
;
|
;
|
||||||
return;
|
return;
|
||||||
});
|
});
|
||||||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibnBtY2kuYnVpbGQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi90cy9ucG1jaS5idWlsZC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7Ozs7O0FBQUEsMkNBQTBDO0FBRzFDLG9EQUFtRDtBQU9uRDs7R0FFRztBQUNRLFFBQUEsS0FBSyxHQUFHLENBQU8sVUFBVTtJQUNsQyxNQUFNLENBQUMsQ0FBQyxVQUFVLENBQUMsQ0FBQyxDQUFDO1FBQ25CLEtBQUssUUFBUTtZQUNYLE1BQU0sV0FBVyxDQUFDLEtBQUssRUFBRSxDQUFBO1lBQ3pCLEtBQUssQ0FBQTtRQUNQO1lBQ0UsT0FBTyxDQUFDLFNBQVMsQ0FBQyxHQUFHLENBQUMsZUFBZSxHQUFHLFVBQVUsR0FBRyxrQkFBa0IsQ0FBQyxDQUFBO0lBQzVFLENBQUM7SUFBQSxDQUFDO0lBQ0YsTUFBTSxDQUFBO0FBQ1IsQ0FBQyxDQUFBLENBQUEifQ==
|
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi90cy9tb2RfYnVpbGQvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7OztBQUFBLHlDQUF3QztBQUd4QywyQ0FBMEM7QUFPMUM7O0dBRUc7QUFDUSxRQUFBLEtBQUssR0FBRyxDQUFPLFVBQVU7SUFDbEMsTUFBTSxDQUFDLENBQUMsVUFBVSxDQUFDLENBQUMsQ0FBQztRQUNuQixLQUFLLFFBQVE7WUFDWCxJQUFJLFNBQVMsR0FBRyxNQUFNLFNBQVMsQ0FBQyxTQUFTLENBQUMsSUFBSSxFQUFFLENBQUE7WUFDaEQsTUFBTSxTQUFTLENBQUMsS0FBSyxFQUFFLENBQUE7WUFDdkIsS0FBSyxDQUFBO1FBQ1A7WUFDRSxPQUFPLENBQUMsU0FBUyxDQUFDLEdBQUcsQ0FBQyxlQUFlLEdBQUcsVUFBVSxHQUFHLGtCQUFrQixDQUFDLENBQUE7SUFDNUUsQ0FBQztJQUFBLENBQUM7SUFDRixNQUFNLENBQUE7QUFDUixDQUFDLENBQUEsQ0FBQSJ9
|
1
dist/mod_build/mod.plugins.d.ts
vendored
Normal file
1
dist/mod_build/mod.plugins.d.ts
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
export * from '../npmci.plugins';
|
7
dist/mod_build/mod.plugins.js
vendored
Normal file
7
dist/mod_build/mod.plugins.js
vendored
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
"use strict";
|
||||||
|
function __export(m) {
|
||||||
|
for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];
|
||||||
|
}
|
||||||
|
Object.defineProperty(exports, "__esModule", { value: true });
|
||||||
|
__export(require("../npmci.plugins"));
|
||||||
|
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibW9kLnBsdWdpbnMuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi90cy9tb2RfYnVpbGQvbW9kLnBsdWdpbnMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7QUFBQSxzQ0FBZ0MifQ==
|
@ -8,8 +8,8 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|||||||
});
|
});
|
||||||
};
|
};
|
||||||
Object.defineProperty(exports, "__esModule", { value: true });
|
Object.defineProperty(exports, "__esModule", { value: true });
|
||||||
const plugins = require("./npmci.plugins");
|
const plugins = require("./mod.plugins");
|
||||||
const paths = require("./npmci.paths");
|
const paths = require("../npmci.paths");
|
||||||
/**
|
/**
|
||||||
* cleans npmci config files
|
* cleans npmci config files
|
||||||
*/
|
*/
|
||||||
@ -17,4 +17,4 @@ exports.clean = () => __awaiter(this, void 0, void 0, function* () {
|
|||||||
plugins.smartfile.fs.removeSync(paths.NpmciPackageConfig);
|
plugins.smartfile.fs.removeSync(paths.NpmciPackageConfig);
|
||||||
return;
|
return;
|
||||||
});
|
});
|
||||||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibnBtY2kuY2xlYW4uanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi90cy9ucG1jaS5jbGVhbi50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7Ozs7O0FBQUEsMkNBQTBDO0FBQzFDLHVDQUFzQztBQUV0Qzs7R0FFRztBQUNRLFFBQUEsS0FBSyxHQUFHO0lBQ2pCLE9BQU8sQ0FBQyxTQUFTLENBQUMsRUFBRSxDQUFDLFVBQVUsQ0FBQyxLQUFLLENBQUMsa0JBQWtCLENBQUMsQ0FBQTtJQUN6RCxNQUFNLENBQUE7QUFDUixDQUFDLENBQUEsQ0FBQSJ9
|
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi90cy9tb2RfY2xlYW4vaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7OztBQUFBLHlDQUF3QztBQUN4Qyx3Q0FBdUM7QUFFdkM7O0dBRUc7QUFDUSxRQUFBLEtBQUssR0FBRztJQUNqQixPQUFPLENBQUMsU0FBUyxDQUFDLEVBQUUsQ0FBQyxVQUFVLENBQUMsS0FBSyxDQUFDLGtCQUFrQixDQUFDLENBQUE7SUFDekQsTUFBTSxDQUFBO0FBQ1IsQ0FBQyxDQUFBLENBQUEifQ==
|
1
dist/mod_clean/mod.plugins.d.ts
vendored
Normal file
1
dist/mod_clean/mod.plugins.d.ts
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
export * from '../npmci.plugins';
|
7
dist/mod_clean/mod.plugins.js
vendored
Normal file
7
dist/mod_clean/mod.plugins.js
vendored
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
"use strict";
|
||||||
|
function __export(m) {
|
||||||
|
for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];
|
||||||
|
}
|
||||||
|
Object.defineProperty(exports, "__esModule", { value: true });
|
||||||
|
__export(require("../npmci.plugins"));
|
||||||
|
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibW9kLnBsdWdpbnMuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi90cy9tb2RfY2xlYW4vbW9kLnBsdWdpbnMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7QUFBQSxzQ0FBZ0MifQ==
|
@ -21,4 +21,4 @@ exports.command = () => __awaiter(this, void 0, void 0, function* () {
|
|||||||
yield npmci_bash_1.bash(wrappedCommand);
|
yield npmci_bash_1.bash(wrappedCommand);
|
||||||
return;
|
return;
|
||||||
});
|
});
|
||||||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibnBtY2kuY29tbWFuZC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uL3RzL25wbWNpLmNvbW1hbmQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7OztBQUNBLDZDQUFtQztBQUV4QixRQUFBLE9BQU8sR0FBRztJQUNuQixJQUFJLGNBQWMsR0FBVyxFQUFFLENBQUE7SUFDL0IsSUFBSSxTQUFTLEdBQUcsT0FBTyxDQUFDLElBQUksQ0FBQTtJQUM1QixHQUFHLENBQUMsQ0FBQyxJQUFJLENBQUMsR0FBRyxDQUFDLEVBQUUsQ0FBQyxHQUFHLFNBQVMsQ0FBQyxNQUFNLEVBQUUsQ0FBQyxFQUFFLEVBQUUsQ0FBQztRQUMxQyxjQUFjLEdBQUcsY0FBYyxHQUFHLFNBQVMsQ0FBQyxDQUFDLENBQUMsQ0FBQTtRQUM5QyxFQUFFLENBQUMsQ0FBQyxDQUFDLEdBQUcsQ0FBQyxLQUFLLFNBQVMsQ0FBQyxNQUFNLENBQUMsQ0FBQyxDQUFDO1lBQUMsY0FBYyxHQUFHLGNBQWMsR0FBRyxHQUFHLENBQUE7UUFBQyxDQUFDO0lBQzNFLENBQUM7SUFDRCxNQUFNLGlCQUFJLENBQUMsY0FBYyxDQUFDLENBQUE7SUFDMUIsTUFBTSxDQUFBO0FBQ1IsQ0FBQyxDQUFBLENBQUEifQ==
|
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi90cy9tb2RfY29tbWFuZC9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7Ozs7O0FBQ0EsNkNBQW1DO0FBRXhCLFFBQUEsT0FBTyxHQUFHO0lBQ25CLElBQUksY0FBYyxHQUFXLEVBQUUsQ0FBQTtJQUMvQixJQUFJLFNBQVMsR0FBRyxPQUFPLENBQUMsSUFBSSxDQUFBO0lBQzVCLEdBQUcsQ0FBQyxDQUFDLElBQUksQ0FBQyxHQUFHLENBQUMsRUFBRSxDQUFDLEdBQUcsU0FBUyxDQUFDLE1BQU0sRUFBRSxDQUFDLEVBQUUsRUFBRSxDQUFDO1FBQzFDLGNBQWMsR0FBRyxjQUFjLEdBQUcsU0FBUyxDQUFDLENBQUMsQ0FBQyxDQUFBO1FBQzlDLEVBQUUsQ0FBQyxDQUFDLENBQUMsR0FBRyxDQUFDLEtBQUssU0FBUyxDQUFDLE1BQU0sQ0FBQyxDQUFDLENBQUM7WUFBQyxjQUFjLEdBQUcsY0FBYyxHQUFHLEdBQUcsQ0FBQTtRQUFDLENBQUM7SUFDM0UsQ0FBQztJQUNELE1BQU0saUJBQUksQ0FBQyxjQUFjLENBQUMsQ0FBQTtJQUMxQixNQUFNLENBQUE7QUFDUixDQUFDLENBQUEsQ0FBQSJ9
|
1
dist/mod_docker/index.d.ts
vendored
Normal file
1
dist/mod_docker/index.d.ts
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
export * from './mod.builddocker';
|
7
dist/mod_docker/index.js
vendored
Normal file
7
dist/mod_docker/index.js
vendored
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
"use strict";
|
||||||
|
function __export(m) {
|
||||||
|
for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];
|
||||||
|
}
|
||||||
|
Object.defineProperty(exports, "__esModule", { value: true });
|
||||||
|
__export(require("./mod.builddocker"));
|
||||||
|
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi90cy9tb2RfZG9ja2VyL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7O0FBQUEsdUNBQWlDIn0=
|
File diff suppressed because one or more lines are too long
1
dist/mod_docker/mod.plugins.d.ts
vendored
Normal file
1
dist/mod_docker/mod.plugins.d.ts
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
export * from '../npmci.plugins';
|
7
dist/mod_docker/mod.plugins.js
vendored
Normal file
7
dist/mod_docker/mod.plugins.js
vendored
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
"use strict";
|
||||||
|
function __export(m) {
|
||||||
|
for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];
|
||||||
|
}
|
||||||
|
Object.defineProperty(exports, "__esModule", { value: true });
|
||||||
|
__export(require("../npmci.plugins"));
|
||||||
|
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibW9kLnBsdWdpbnMuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi90cy9tb2RfZG9ja2VyL21vZC5wbHVnaW5zLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7O0FBQUEsc0NBQWdDIn0=
|
@ -65,4 +65,4 @@ exports.install = (versionArg) => __awaiter(this, void 0, void 0, function* () {
|
|||||||
plugins.beautylog.success('all global npm tools specified in npmextra.json are now available!');
|
plugins.beautylog.success('all global npm tools specified in npmextra.json are now available!');
|
||||||
}));
|
}));
|
||||||
});
|
});
|
||||||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibnBtY2kuaW5zdGFsbC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uL3RzL25wbWNpLmluc3RhbGwudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7OztBQUFBLDJDQUEwQztBQUMxQywrQ0FBOEM7QUFDOUMsNkNBSXFDO0FBRXJDOzs7R0FH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0FBQyxJQUFJLENBQUMsV0FBVyxDQUFDLENBQUMsSUFBSSxXQUFXLEtBQUssRUFBRSxDQUFDLENBQUE7WUFDdEYsRUFBRSxDQUFDLENBQUMsYUFBYSxDQUFDLENBQUMsQ0FBQztnQkFDbEIsT0FBTyxDQUFDLFNBQVMsQ0FBQyxHQUFHLENBQUMsUUFBUSxPQUFPLGVBQWUsQ0FBQyxDQUFBO1lBQ3ZELENBQUM7WUFBQyxJQUFJLENBQUMsQ0FBQztnQkFDTixPQUFPLENBQUMsU0FBUyxDQUFDLElBQUksQ0FBQyx1QkFBdUIsT0FBTyxXQUFXLENBQUMsQ0FBQTtnQkFDakUsRUFBRSxDQUFDLENBQUMsTUFBTSwwQkFBYSxDQUFDLE9BQU8sQ0FBQyxDQUFDLENBQUM7b0JBQ2hDLE1BQU0saUJBQUksQ0FBQyxtQkFBbUIsT0FBTyxFQUFFLENBQUMsQ0FBQTtnQkFDMUMsQ0FBQztnQkFBQyxJQUFJLENBQUMsQ0FBQztvQkFDTixNQUFNLGlCQUFJLENBQUMsZUFBZSxPQUFPLFFBQVEsQ0FBQyxDQUFBO2dCQUM1QyxDQUFDO1lBQ0gsQ0FBQztRQUNILENBQUM7UUFDRCxPQUFPLENBQUMsU0FBUyxDQUFDLE9BQU8sQ0FBQyxvRUFBb0UsQ0FBQyxDQUFBO0lBQ2pHLENBQUMsQ0FBQSxDQUFDLENBQUE7QUFDTixDQUFDLENBQUEsQ0FBQSJ9
|
@ -78,4 +78,4 @@ exports.prepare = (serviceArg) => __awaiter(this, void 0, void 0, function* () {
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibnBtY2kucHJlcGFyZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uL3RzL25wbWNpLnByZXBhcmUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7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||||
import * as NpmciBuildDocker from './npmci.build.docker';
|
|
||||||
/**
|
/**
|
||||||
* type of supported services
|
* type of supported services
|
||||||
*/
|
*/
|
||||||
@ -7,4 +6,4 @@ export declare type TPubService = 'npm' | 'docker';
|
|||||||
* the main exported publish function.
|
* the main exported publish function.
|
||||||
* @param pubServiceArg references targeted service to publish to
|
* @param pubServiceArg references targeted service to publish to
|
||||||
*/
|
*/
|
||||||
export declare let publish: (pubServiceArg?: TPubService) => Promise<void | NpmciBuildDocker.Dockerfile[]>;
|
export declare let publish: (pubServiceArg?: TPubService) => Promise<any>;
|
@ -37,7 +37,7 @@ let publishNpm = () => __awaiter(this, void 0, void 0, function* () {
|
|||||||
});
|
});
|
||||||
});
|
});
|
||||||
/**
|
/**
|
||||||
* tries to pubish current cwd to Docker registry
|
* tries to publish current cwd to Docker registry
|
||||||
*/
|
*/
|
||||||
let publishDocker = () => __awaiter(this, void 0, void 0, function* () {
|
let publishDocker = () => __awaiter(this, void 0, void 0, function* () {
|
||||||
return yield NpmciBuildDocker.readDockerfiles()
|
return yield NpmciBuildDocker.readDockerfiles()
|
||||||
@ -47,4 +47,4 @@ let publishDocker = () => __awaiter(this, void 0, void 0, function* () {
|
|||||||
return dockerfileArray;
|
return dockerfileArray;
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibnBtY2kucHVibGlzaC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uL3RzL25wbWNpLnB1Ymxpc2gudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7OztBQUFBLDJDQUEwQztBQUMxQyxtREFBeUM7QUFDekMsNkNBQW1DO0FBRW5DLHlEQUF3RDtBQU94RDs7O0dBR0c7QUFDUSxRQUFBLE9BQU8sR0FBRyxDQUFPLGdCQUE2QixLQUFLO0lBQzVELE1BQU0sQ0FBQyxDQUFDLGFBQWE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FFbkMseURBQXdEO0FBT3hEOzs7R0FHRztBQUNRLFFBQUEsT0FBTyxHQUFHLENBQU8sZ0JBQTZCLEtBQUs7SUFDNUQsTUFBTSxDQUFDLENBQUMsYUFBYSxDQUFDLENBQUMsQ0FBQztRQUN0QixLQUFLLEtBQUs7WUFDUixNQUFNLENBQUMsTUFBTSxVQUFVLEVBQUUsQ0FBQTtRQUMzQixLQUFLLFFBQVE7WUFDWCxNQUFNLENBQUMsTUFBTSxhQUFhLEVBQUUsQ0FBQTtJQUNoQyxDQUFDO0FBQ0gsQ0FBQyxDQUFBLENBQUE7QUFFRDs7R0FFRztBQUNILElBQUksVUFBVSxHQUFHO0lBQ2YsTUFBTSx1QkFBTyxDQUFDLEtBQUssQ0FBQztTQUNqQixJQUFJLENBQUM7O1lBQ0osTUFBTSxpQkFBSSxDQUFDLGFBQWEsQ0FBQyxDQUFBO1lBQ3pCLE9BQU8sQ0FBQyxTQUFTLENBQUMsRUFBRSxDQUFDLE9BQU8sQ0FBQyxDQUFBO1FBQy9CLENBQUM7S0FBQSxDQUFDLENBQUE7QUFDTixDQUFDLENBQUEsQ0FBQTtBQUVEOztHQUVHO0FBQ0gsSUFBSSxhQUFhLEdBQUc7SUFDbEIsTUFBTSxDQUFDLE1BQU0sZ0JBQWdCLENBQUMsZUFBZSxFQUFFO1NBQzVDLElBQUksQ0FBQyxnQkFBZ0IsQ0FBQyxvQkFBb0IsQ0FBQztTQUMzQyxJQUFJLENBQUMsZ0JBQWdCLENBQUMsZUFBZSxDQUFDO1NBQ3RDLElBQUksQ0FBQyxlQUFlO1FBQ25CLE1BQU0sQ0FBQyxlQUFlLENBQUE7SUFDeEIsQ0FBQyxDQUFDLENBQUE7QUFDTixDQUFDLENBQUEsQ0FBQSJ9
|
@ -8,7 +8,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|||||||
});
|
});
|
||||||
};
|
};
|
||||||
Object.defineProperty(exports, "__esModule", { value: true });
|
Object.defineProperty(exports, "__esModule", { value: true });
|
||||||
const plugins = require("./npmci.plugins");
|
const plugins = require("../npmci.plugins");
|
||||||
/**
|
/**
|
||||||
* servezoneRegex is the regex that parses the servezone connection data
|
* servezoneRegex is the regex that parses the servezone connection data
|
||||||
* parses strings in the form of "servezone.example.com|3000|somepassword"
|
* parses strings in the form of "servezone.example.com|3000|somepassword"
|
||||||
@ -34,4 +34,4 @@ let smartsocketClientConstructorOptions = {
|
|||||||
exports.run = (configArg) => __awaiter(this, void 0, void 0, function* () {
|
exports.run = (configArg) => __awaiter(this, void 0, void 0, function* () {
|
||||||
new plugins.smartsocket.SmartsocketClient(smartsocketClientConstructorOptions);
|
new plugins.smartsocket.SmartsocketClient(smartsocketClientConstructorOptions);
|
||||||
});
|
});
|
||||||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibnBtY2kuc2VydmV6b25lLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vdHMvbnBtY2kuc2VydmV6b25lLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7Ozs7Ozs7QUFBQSwyQ0FBMEM7QUFFMUM7OztHQUdHO0FBQ0gsSUFBSSxjQUFjLEdBQUcsbUJBQW1CLENBQUE7QUFFeEM7O0dBRUc7QUFDSCxJQUFJLHlCQUF5QixHQUFHLGNBQWMsQ0FBQyxJQUFJLENBQUMsT0FBTyxDQUFDLEdBQUcsQ0FBQyxlQUFlLENBQUMsQ0FBQTtBQUVoRjs7R0FFRztBQUNILElBQUksbUNBQW1DLEdBQUc7SUFDdEMsS0FBSyxFQUFFLE9BQU87SUFDZCxRQUFRLEVBQUUseUJBQXlCLENBQUMsQ0FBQyxDQUFDO0lBQ3RDLElBQUksRUFBRSxRQUFRLENBQUMseUJBQXlCLENBQUMsQ0FBQyxDQUFDLENBQUM7SUFDNUMsSUFBSSxFQUFFLElBQUk7SUFDVixHQUFHLEVBQUUseUJBQXlCLENBQUMsQ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 let evaluateTrigger = (triggerEnvVarArg) => __awaiter(this, void 0, void 0, func
|
|||||||
plugins.beautylog.log('triggering build for ref ' + regexRefName + ' of ' + regexTriggerName);
|
plugins.beautylog.log('triggering build for ref ' + regexRefName + ' of ' + regexTriggerName);
|
||||||
plugins.request.post('https://gitlab.com/api/v3/projects/' + regexProjectId + '/trigger/builds', { form: { token: regexProjectTriggerToken, ref: regexRefName } });
|
plugins.request.post('https://gitlab.com/api/v3/projects/' + regexProjectId + '/trigger/builds', { form: { token: regexProjectTriggerToken, ref: regexRefName } });
|
||||||
});
|
});
|
||||||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibnBtY2kudHJpZ2dlci5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uL3RzL25wbWNpLnRyaWdnZXIudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7OztBQUFBLDJDQUEwQztBQUkxQyxJQUFJLGlCQUFpQixHQUFHLGdHQUFnRyxDQUFBO0FBRTdHLFFBQUEsT0FBTyxHQUFHO0lBQ25CLE9BQU8sQ0FBQyxTQUFTLENBQUMsSUFBSSxDQUFDLHNCQUFzQixDQUFDLENBQUE7SUFDOUMsT0FBTyxDQUFDLFVBQVUsQ0FBQyxnQkFBZ0IsQ0FBQyxPQUFPLENBQUMsR0FBRyxFQUFFLGlCQUFpQixFQUFFLGVBQWUsQ0FBQyxDQUFBO0FBQ3RGLENBQUMsQ0FBQSxDQUFBO0FBRUQsSUFBSSxlQUFlLEdBQUcsQ0FBTyxnQkFBZ0I7SUFDM0MsSUFBSSx1QkFBdUIsR0FBRyxpQkFBaUIsQ0FBQyxJQUFJLENBQUMsZ0JBQWdCLENBQUMsQ0FBQTtJQUN0RSxJQUFJLFdBQVcsR0FBRyx1QkFBdUIsQ0FBQyxDQUFDLENBQUMsQ0FBQTtJQUM1QyxJQUFJLGNBQWMsR0FBRyx1QkFBdUIsQ0F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dBQUcsQ0FBQywyQkFBMkIsR0FBRyxZQUFZLEdBQUcsTUFBTSxHQUFHLGdCQUFnQixDQUFDLENBQUE7SUFDN0YsT0FBTyxDQUFDLE9BQU8sQ0FBQyxJQUFJLENBQUMscUNBQXFDLEdBQUcsY0FBYyxHQUFHLGlCQUFpQixFQUFFLEVBQUUsSUFBSSxFQUFFLEVBQUUsS0FBSyxFQUFFLHdCQUF3QixFQUFFLEdBQUcsRUFBRSxZQUFZLEVBQUUsRUFBRSxDQUFDLENBQUE7QUFDcEssQ0FBQyxDQUFBLENBQUEifQ==
|
0
dist/npmci.cli.d.ts
vendored
Normal file
0
dist/npmci.cli.d.ts
vendored
Normal file
96
dist/npmci.cli.js
vendored
Normal file
96
dist/npmci.cli.js
vendored
Normal file
@ -0,0 +1,96 @@
|
|||||||
|
"use strict";
|
||||||
|
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
||||||
|
return new (P || (P = Promise))(function (resolve, reject) {
|
||||||
|
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
||||||
|
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
||||||
|
function step(result) { result.done ? resolve(result.value) : new P(function (resolve) { resolve(result.value); }).then(fulfilled, rejected); }
|
||||||
|
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
||||||
|
});
|
||||||
|
};
|
||||||
|
Object.defineProperty(exports, "__esModule", { value: true });
|
||||||
|
const plugins = require("./npmci.plugins");
|
||||||
|
const paths = require("./npmci.paths");
|
||||||
|
let npmciInfo = new plugins.projectinfo.ProjectinfoNpm(paths.NpmciPackageRoot);
|
||||||
|
plugins.beautylog.log('npmci version: ' + npmciInfo.version);
|
||||||
|
const npmci_test_1 = require("./npmci.test");
|
||||||
|
const NpmciEnv = require("./npmci.env");
|
||||||
|
const npmciMods = require("./npmci.mods");
|
||||||
|
let smartcli = new plugins.smartcli.Smartcli();
|
||||||
|
smartcli.addVersion(npmciInfo.version);
|
||||||
|
// build
|
||||||
|
smartcli.addCommand('build')
|
||||||
|
.then((argv) => __awaiter(this, void 0, void 0, function* () {
|
||||||
|
let modBuild = yield npmciMods.modBuild.load();
|
||||||
|
yield modBuild.build(argv._[1]);
|
||||||
|
NpmciEnv.configStore();
|
||||||
|
})).catch(err => {
|
||||||
|
console.log(err);
|
||||||
|
process.exit(1);
|
||||||
|
});
|
||||||
|
// clean
|
||||||
|
smartcli.addCommand('clean')
|
||||||
|
.then((argv) => __awaiter(this, void 0, void 0, function* () {
|
||||||
|
let modClean = yield npmciMods.modClean.load();
|
||||||
|
yield modClean.clean();
|
||||||
|
NpmciEnv.configStore();
|
||||||
|
})).catch(err => {
|
||||||
|
console.log(err);
|
||||||
|
process.exit(1);
|
||||||
|
});
|
||||||
|
// command
|
||||||
|
smartcli.addCommand('command')
|
||||||
|
.then((argv) => __awaiter(this, void 0, void 0, function* () {
|
||||||
|
let modCommand = yield npmciMods.modCommand.load();
|
||||||
|
modCommand.command();
|
||||||
|
yield NpmciEnv.configStore();
|
||||||
|
})).catch(err => {
|
||||||
|
console.log(err);
|
||||||
|
process.exit(1);
|
||||||
|
});
|
||||||
|
// install
|
||||||
|
smartcli.addCommand('install')
|
||||||
|
.then((argv) => {
|
||||||
|
install(argv._[1])
|
||||||
|
.then(NpmciEnv.configStore)
|
||||||
|
.catch(err => {
|
||||||
|
console.log(err);
|
||||||
|
process.exit(1);
|
||||||
|
});
|
||||||
|
});
|
||||||
|
// prepare
|
||||||
|
smartcli.addCommand('prepare')
|
||||||
|
.then((argv) => {
|
||||||
|
prepare(argv._[1])
|
||||||
|
.then(NpmciEnv.configStore)
|
||||||
|
.catch(err => {
|
||||||
|
console.log(err);
|
||||||
|
process.exit(1);
|
||||||
|
});
|
||||||
|
});
|
||||||
|
// publish
|
||||||
|
smartcli.addCommand('publish')
|
||||||
|
.then((argv) => {
|
||||||
|
publish(argv._[1])
|
||||||
|
.then(NpmciEnv.configStore)
|
||||||
|
.catch(err => {
|
||||||
|
console.log(err);
|
||||||
|
process.exit(1);
|
||||||
|
});
|
||||||
|
});
|
||||||
|
// test
|
||||||
|
smartcli.addCommand('test')
|
||||||
|
.then((argv) => {
|
||||||
|
npmci_test_1.test(argv._[1])
|
||||||
|
.then(NpmciEnv.configStore)
|
||||||
|
.catch(err => {
|
||||||
|
console.log(err);
|
||||||
|
process.exit(1);
|
||||||
|
});
|
||||||
|
});
|
||||||
|
// trigger
|
||||||
|
smartcli.addCommand('trigger')
|
||||||
|
.then((argv) => {
|
||||||
|
trigger();
|
||||||
|
});
|
||||||
|
smartcli.startParse();
|
||||||
|
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibnBtY2kuY2xpLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vdHMvbnBtY2kuY2xpLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7Ozs7Ozs7QUFBQSwyQ0FBMEM7QUFDMUMsdUNBQXNDO0FBQ3RDLElBQUksU0FBUyxHQUFHLElBQUksT0FBTyxDQUFDLFdBQVcsQ0FBQyxjQUFjLENBQUMsS0FBSyxDQUFDLGdCQUFnQixDQUFDLENBQUE7QUFDOUUsT0FBTyxDQUFDLFNBQVMsQ0FBQyxHQUFHLENBQUMsaUJBQWlCLEdBQUcsU0FBUyxDQUFDLE9BQU8sQ0FBQyxDQUFBO0FBRzVELDZDQUFtQztBQUNuQyx3Q0FBdUM7QUFFdkMsMENBQXlDO0FBRXpDLElBQUksUUFBUSxHQUFHLElBQUksT0FBTyxDQUFDLFFBQVEsQ0FBQyxRQUFRLEVBQUUsQ0FBQTtBQUM5QyxRQUFRLENBQUMsVUFBVSxDQUFDLFNBQVMsQ0FBQyxPQUFPLENBQUMsQ0FBQTtBQUV0QyxRQUFRO0FBQ1IsUUFBUSxDQUFDLFVBQVUsQ0FBQyxPQUFPLENBQUM7S0FDekIsSUFBSSxDQUFDLENBQU8sSUFBSTtJQUN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.d.ts
vendored
4
dist/npmci.env.d.ts
vendored
@ -8,8 +8,8 @@ export declare let dockerFilesBuilt: Dockerfile[];
|
|||||||
export declare let dockerFiles: Dockerfile[];
|
export declare let dockerFiles: Dockerfile[];
|
||||||
export declare let config: {
|
export declare let config: {
|
||||||
dockerRegistry: any;
|
dockerRegistry: any;
|
||||||
dockerFilesBuilt: Dockerfile[];
|
dockerFilesBuilt: any[];
|
||||||
dockerFiles: Dockerfile[];
|
dockerFiles: any[];
|
||||||
project: any;
|
project: any;
|
||||||
};
|
};
|
||||||
export declare let configStore: () => void;
|
export declare let configStore: () => void;
|
||||||
|
5
dist/npmci.env.js
vendored
5
dist/npmci.env.js
vendored
@ -3,8 +3,9 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|||||||
const plugins = require("./npmci.plugins");
|
const plugins = require("./npmci.plugins");
|
||||||
const paths = require("./npmci.paths");
|
const paths = require("./npmci.paths");
|
||||||
const smartstring_1 = require("smartstring");
|
const smartstring_1 = require("smartstring");
|
||||||
if (process.env.CI_REPOSITORY_URL)
|
if (process.env.CI_REPOSITORY_URL) {
|
||||||
exports.repo = new smartstring_1.GitRepo(process.env.CI_REPOSITORY_URL);
|
exports.repo = new smartstring_1.GitRepo(process.env.CI_REPOSITORY_URL);
|
||||||
|
}
|
||||||
exports.buildStage = process.env.CI_BUILD_STAGE;
|
exports.buildStage = process.env.CI_BUILD_STAGE;
|
||||||
exports.setDockerRegistry = (dockerRegistryArg) => {
|
exports.setDockerRegistry = (dockerRegistryArg) => {
|
||||||
exports.dockerRegistry = dockerRegistryArg;
|
exports.dockerRegistry = dockerRegistryArg;
|
||||||
@ -45,4 +46,4 @@ let configLoad = () => {
|
|||||||
exports.config.dockerFilesBuilt ? exports.dockerFilesBuilt = exports.config.dockerFilesBuilt : void (0);
|
exports.config.dockerFilesBuilt ? exports.dockerFilesBuilt = exports.config.dockerFilesBuilt : void (0);
|
||||||
};
|
};
|
||||||
configLoad();
|
configLoad();
|
||||||
//# source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FBQyxPQUFPLEdBQUcsRUFBRSxDQUFBO1FBQ25CLE9BQU8sQ0FBQyxTQUFTLENBQUMsR0FBRyxDQUFDLGdFQUFnRSxDQUFDLENBQUE7SUFDekYsQ0FBQztJQUVELGNBQU0sQ0FBQyxjQUFjLEdBQUcsc0JBQWMsR0FBRyxjQUFNLENBQUMsY0FBYyxHQUFHLEtBQUssQ0FBQyxDQUFDLENBQUMsQ0FBQTtJQUN6RSxjQUFNLENBQUMsZ0JBQWdCLEdBQUcsd0JBQWdCLEdBQUcsY0FBTSxDQUFDLGdCQUFnQixHQUFHLEtBQUssQ0FBQyxDQUFDLENBQUMsQ0FBQTtBQUNqRixDQUFDLENBQUE7QUFDRCxVQUFVLEVBQUUsQ0FBQSJ9
|
17
dist/npmci.mods.d.ts
vendored
17
dist/npmci.mods.d.ts
vendored
@ -0,0 +1,17 @@
|
|||||||
|
import * as _modBuild from './mod_build/index';
|
||||||
|
import * as _modClean from './mod_clean/index';
|
||||||
|
import * as _modCommand from './mod_command/index';
|
||||||
|
import * as _modDocker from './mod_docker/index';
|
||||||
|
import * as _modInstall from './mod_install/index';
|
||||||
|
import * as _modPublish from './mod_publish/index';
|
||||||
|
import * as _modPrepare from './mod_prepare/index';
|
||||||
|
import * as _modTrigger from './mod_trigger/index';
|
||||||
|
import { LazyModule } from 'smartsystem';
|
||||||
|
export declare let modBuild: LazyModule<typeof _modBuild>;
|
||||||
|
export declare let modClean: LazyModule<typeof _modClean>;
|
||||||
|
export declare let modCommand: LazyModule<typeof _modCommand>;
|
||||||
|
export declare let modDocker: LazyModule<typeof _modDocker>;
|
||||||
|
export declare let modInstall: LazyModule<typeof _modInstall>;
|
||||||
|
export declare let modPublish: LazyModule<typeof _modPublish>;
|
||||||
|
export declare let modPrepare: LazyModule<typeof _modPrepare>;
|
||||||
|
export declare let modTrigger: LazyModule<typeof _modTrigger>;
|
13
dist/npmci.mods.js
vendored
13
dist/npmci.mods.js
vendored
@ -1 +1,12 @@
|
|||||||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibnBtY2kubW9kcy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uL3RzL25wbWNpLm1vZHMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiJ9
|
"use strict";
|
||||||
|
Object.defineProperty(exports, "__esModule", { value: true });
|
||||||
|
const smartsystem_1 = require("smartsystem");
|
||||||
|
exports.modBuild = new smartsystem_1.LazyModule('./mod_build/index', __dirname);
|
||||||
|
exports.modClean = new smartsystem_1.LazyModule('./mod_clean/index', __dirname);
|
||||||
|
exports.modCommand = new smartsystem_1.LazyModule('./mod_command/index', __dirname);
|
||||||
|
exports.modDocker = new smartsystem_1.LazyModule('./mod_docker/index', __dirname);
|
||||||
|
exports.modInstall = new smartsystem_1.LazyModule('./mod_install/index', __dirname);
|
||||||
|
exports.modPublish = new smartsystem_1.LazyModule('./mod_publish/index', __dirname);
|
||||||
|
exports.modPrepare = new smartsystem_1.LazyModule('./mod_prepare/index', __dirname);
|
||||||
|
exports.modTrigger = new smartsystem_1.LazyModule('./mod_trigger/index', __dirname);
|
||||||
|
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibnBtY2kubW9kcy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uL3RzL25wbWNpLm1vZHMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7QUFTQSw2Q0FBd0M7QUFFN0IsUUFBQSxRQUFRLEdBQUcsSUFBSSx3QkFBVSxDQUFtQixtQkFBbUIsRUFBRSxTQUFTLENBQUMsQ0FBQTtBQUMzRSxRQUFBLFFBQVEsR0FBRyxJQUFJLHdCQUFVLENBQW1CLG1CQUFtQixFQUFFLFNBQVMsQ0FBQyxDQUFBO0FBQzNFLFFBQUEsVUFBVSxHQUFHLElBQUksd0JBQVUsQ0FBcUIscUJBQXFCLEVBQUUsU0FBUyxDQUFDLENBQUE7QUFDakYsUUFBQSxTQUFTLEdBQUcsSUFBSSx3QkFBVSxDQUFvQixvQkFBb0IsRUFBRSxTQUFTLENBQUMsQ0FBQTtBQUM5RSxRQUFBLFVBQVUsR0FBRyxJQUFJLHdCQUFVLENBQXFCLHFCQUFxQixFQUFFLFNBQVMsQ0FBQyxDQUFBO0FBQ2pGLFFBQUEsVUFBVSxHQUFHLElBQUksd0JBQVUsQ0FBcUIscUJBQXFCLEVBQUUsU0FBUyxDQUFDLENBQUE7QUFDakYsUUFBQSxVQUFVLEdBQUcsSUFBSSx3QkFBVSxDQUFxQixxQkFBcUIsRUFBRSxTQUFTLENBQUMsQ0FBQTtBQUNqRixRQUFBLFVBQVUsR0FBRyxJQUFJLHdCQUFVLENBQXFCLHFCQUFxQixFQUFFLFNBQVMsQ0FBQyxDQUFBIn0=
|
2
dist/npmci.monitor.d.ts
vendored
Normal file
2
dist/npmci.monitor.d.ts
vendored
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
import { Smartmonitor } from 'smartmonitor';
|
||||||
|
export declare let npmciMonitor: Smartmonitor;
|
16
dist/npmci.monitor.js
vendored
Normal file
16
dist/npmci.monitor.js
vendored
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
"use strict";
|
||||||
|
Object.defineProperty(exports, "__esModule", { value: true });
|
||||||
|
const plugins = require("./npmci.plugins");
|
||||||
|
const smartmonitor_1 = require("smartmonitor");
|
||||||
|
exports.npmciMonitor = new smartmonitor_1.Smartmonitor();
|
||||||
|
if (process.env.SMARTMONITOR) {
|
||||||
|
exports.npmciMonitor.addInstrumental({
|
||||||
|
apiKey: process.env.SMARTMONITOR
|
||||||
|
});
|
||||||
|
plugins.beautylog.info('Monitoring activated');
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
plugins.beautylog.warn('Monitoring could not be enabled due to missing API-KEY');
|
||||||
|
}
|
||||||
|
exports.npmciMonitor.increment('lossless-ci.builds', 1);
|
||||||
|
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibnBtY2kubW9uaXRvci5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uL3RzL25wbWNpLm1vbml0b3IudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7QUFBQSwyQ0FBMEM7QUFHMUMsK0NBQTJDO0FBRWhDLFFBQUEsWUFBWSxHQUFHLElBQUksMkJBQVksRUFBRSxDQUFBO0FBRTVDLEVBQUUsQ0FBQSxDQUFDLE9BQU8sQ0FBQyxHQUFHLENBQUMsWUFBWSxDQUFDLENBQUMsQ0FBQztJQUM1QixvQkFBWSxDQUFDLGVBQWUsQ0FBQztRQUMzQixNQUFNLEVBQUUsT0FBTyxDQUFDLEdBQUcsQ0FBQyxZQUFZO0tBQ2pDLENBQUMsQ0FBQTtJQUNGLE9BQU8sQ0FBQyxTQUFTLENBQUMsSUFBSSxDQUFDLHNCQUFzQixDQUFDLENBQUE7QUFDaEQsQ0FBQztBQUFDLElBQUksQ0FBQyxDQUFDO0lBQ04sT0FBTyxDQUFDLFNBQVMsQ0FBQyxJQUFJLENBQUMsd0RBQXdELENBQUMsQ0FBQTtBQUNsRixDQUFDO0FBRUQsb0JBQVksQ0FBQyxTQUFTLENBQUMsb0JBQW9CLEVBQUUsQ0FBQyxDQUFDLENBQUEifQ==
|
1
dist/npmci.plugins.d.ts
vendored
1
dist/npmci.plugins.d.ts
vendored
@ -16,6 +16,7 @@ export import smartparam = require('smartparam');
|
|||||||
export import smartq = require('smartq');
|
export import smartq = require('smartq');
|
||||||
export import smartshell = require('smartshell');
|
export import smartshell = require('smartshell');
|
||||||
export import smartsocket = require('smartsocket');
|
export import smartsocket = require('smartsocket');
|
||||||
|
export import smartsystem = require('smartsystem');
|
||||||
export import smartssh = require('smartssh');
|
export import smartssh = require('smartssh');
|
||||||
export import smartstring = require('smartstring');
|
export import smartstring = require('smartstring');
|
||||||
export import through2 = require('through2');
|
export import through2 = require('through2');
|
||||||
|
3
dist/npmci.plugins.js
vendored
3
dist/npmci.plugins.js
vendored
@ -18,7 +18,8 @@ exports.smartparam = require("smartparam");
|
|||||||
exports.smartq = require("smartq");
|
exports.smartq = require("smartq");
|
||||||
exports.smartshell = require("smartshell");
|
exports.smartshell = require("smartshell");
|
||||||
exports.smartsocket = require("smartsocket");
|
exports.smartsocket = require("smartsocket");
|
||||||
|
exports.smartsystem = require("smartsystem");
|
||||||
exports.smartssh = require("smartssh");
|
exports.smartssh = require("smartssh");
|
||||||
exports.smartstring = require("smartstring");
|
exports.smartstring = require("smartstring");
|
||||||
exports.through2 = require("through2");
|
exports.through2 = require("through2");
|
||||||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibnBtY2kucGx1Z2lucy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uL3RzL25wbWNpLnBsdWdpbnMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7QUFBQSx5Q0FBOEM7QUFDbkMsUUFBQSxJQUFJLEdBQUcsT0FBTyxDQUFDLE1BQU0sQ0FBQyxDQUFBO0FBQ2pDLGdEQUFxRDtBQUNyRCxtQ0FBd0M7QUFDeEMsdUNBQTRDO0FBQzVDLCtCQUFvQztBQUNwQyw2Q0FBa0Q7QUFDbEQsOEJBQW1DO0FBQ3hCLFFBQUEsT0FBTyxHQUFHLE9BQU8sQ0FBQyxTQUFTLENBQUMsQ0FBQTtBQUN2Qyx1Q0FBNEM7QUFDNUMsMkNBQWdEO0FBQ2hELHlDQUE4QztBQUM5QyxxQ0FBMEM7QUFDMUMsK0NBQW9EO0FBQ3BELDJDQUFnRDtBQUNoRCxtQ0FBd0M7QUFDeEMsMkNBQWdEO0FBQ2hELDZDQUFrRDtBQUNsRCx1Q0FBNEM7QUFDNUMsNkNBQWtEO0FBQ2xELHVDQUE0QyJ9
|
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibnBtY2kucGx1Z2lucy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uL3RzL25wbWNpLnBsdWdpbnMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7QUFBQSx5Q0FBOEM7QUFDbkMsUUFBQSxJQUFJLEdBQUcsT0FBTyxDQUFDLE1BQU0sQ0FBQyxDQUFBO0FBQ2pDLGdEQUFxRDtBQUNyRCxtQ0FBd0M7QUFDeEMsdUNBQTRDO0FBQzVDLCtCQUFvQztBQUNwQyw2Q0FBa0Q7QUFDbEQsOEJBQW1DO0FBQ3hCLFFBQUEsT0FBTyxHQUFHLE9BQU8sQ0FBQyxTQUFTLENBQUMsQ0FBQTtBQUN2Qyx1Q0FBNEM7QUFDNUMsMkNBQWdEO0FBQ2hELHlDQUE4QztBQUM5QyxxQ0FBMEM7QUFDMUMsK0NBQW9EO0FBQ3BELDJDQUFnRDtBQUNoRCxtQ0FBd0M7QUFDeEMsMkNBQWdEO0FBQ2hELDZDQUFrRDtBQUNsRCw2Q0FBa0Q7QUFDbEQsdUNBQTRDO0FBQzVDLDZDQUFrRDtBQUNsRCx1Q0FBNEMifQ==
|
@ -22,8 +22,7 @@
|
|||||||
},
|
},
|
||||||
"homepage": "https://gitlab.com/gitzone/npmci#README",
|
"homepage": "https://gitlab.com/gitzone/npmci#README",
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"tapbundle": "^1.0.12",
|
"tapbundle": "^1.0.12"
|
||||||
"typings-test": "^1.0.3"
|
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@types/lodash": "^4.14.64",
|
"@types/lodash": "^4.14.64",
|
||||||
@ -49,6 +48,7 @@
|
|||||||
"smartsocket": "^1.1.7",
|
"smartsocket": "^1.1.7",
|
||||||
"smartssh": "^1.2.1",
|
"smartssh": "^1.2.1",
|
||||||
"smartstring": "^2.0.24",
|
"smartstring": "^2.0.24",
|
||||||
|
"smartsystem": "^1.0.17",
|
||||||
"through2": "^2.0.3",
|
"through2": "^2.0.3",
|
||||||
"typings-global": "^1.0.16"
|
"typings-global": "^1.0.16"
|
||||||
}
|
}
|
||||||
|
106
ts/index.ts
106
ts/index.ts
@ -1,106 +1,2 @@
|
|||||||
import * as plugins from './npmci.plugins'
|
import './npmci.cli'
|
||||||
import * as paths from './npmci.paths'
|
|
||||||
let npmciInfo = new plugins.projectinfo.ProjectinfoNpm(paths.NpmciPackageRoot)
|
|
||||||
plugins.beautylog.log('npmci version: ' + npmciInfo.version)
|
|
||||||
|
|
||||||
import { build } from './npmci.build'
|
|
||||||
import { clean } from './npmci.clean'
|
|
||||||
import { command } from './npmci.command'
|
|
||||||
import { install } from './npmci.install'
|
|
||||||
import { publish } from './npmci.publish'
|
|
||||||
import { prepare } from './npmci.prepare'
|
|
||||||
import { test } from './npmci.test'
|
|
||||||
import { trigger } from './npmci.trigger'
|
|
||||||
import * as NpmciEnv from './npmci.env'
|
|
||||||
|
|
||||||
export { build } from './npmci.build'
|
|
||||||
export { install } from './npmci.install';
|
|
||||||
export { publish } from './npmci.publish';
|
|
||||||
|
|
||||||
let smartcli = new plugins.smartcli.Smartcli()
|
|
||||||
smartcli.addVersion(npmciInfo.version)
|
|
||||||
|
|
||||||
// build
|
|
||||||
smartcli.addCommand('build')
|
|
||||||
.then((argv) => {
|
|
||||||
build(argv._[ 1 ])
|
|
||||||
.then(NpmciEnv.configStore)
|
|
||||||
.catch(err => {
|
|
||||||
console.log(err)
|
|
||||||
process.exit(1)
|
|
||||||
})
|
|
||||||
})
|
|
||||||
|
|
||||||
// clean
|
|
||||||
smartcli.addCommand('clean')
|
|
||||||
.then((argv) => {
|
|
||||||
clean()
|
|
||||||
.then(NpmciEnv.configStore)
|
|
||||||
.catch(err => {
|
|
||||||
console.log(err)
|
|
||||||
process.exit(1)
|
|
||||||
})
|
|
||||||
})
|
|
||||||
|
|
||||||
// command
|
|
||||||
smartcli.addCommand('command')
|
|
||||||
.then((argv) => {
|
|
||||||
command()
|
|
||||||
.then(NpmciEnv.configStore)
|
|
||||||
.catch(err => {
|
|
||||||
console.log(err)
|
|
||||||
process.exit(1)
|
|
||||||
})
|
|
||||||
})
|
|
||||||
|
|
||||||
// install
|
|
||||||
smartcli.addCommand('install')
|
|
||||||
.then((argv) => {
|
|
||||||
install(argv._[ 1 ])
|
|
||||||
.then(NpmciEnv.configStore)
|
|
||||||
.catch(err => {
|
|
||||||
console.log(err)
|
|
||||||
process.exit(1)
|
|
||||||
})
|
|
||||||
})
|
|
||||||
|
|
||||||
// prepare
|
|
||||||
smartcli.addCommand('prepare')
|
|
||||||
.then((argv) => {
|
|
||||||
prepare(argv._[ 1 ])
|
|
||||||
.then(NpmciEnv.configStore)
|
|
||||||
.catch(err => {
|
|
||||||
console.log(err)
|
|
||||||
process.exit(1)
|
|
||||||
})
|
|
||||||
})
|
|
||||||
|
|
||||||
// publish
|
|
||||||
smartcli.addCommand('publish')
|
|
||||||
.then((argv) => {
|
|
||||||
publish(argv._[ 1 ])
|
|
||||||
.then(NpmciEnv.configStore)
|
|
||||||
.catch(err => {
|
|
||||||
console.log(err)
|
|
||||||
process.exit(1)
|
|
||||||
})
|
|
||||||
})
|
|
||||||
|
|
||||||
// test
|
|
||||||
smartcli.addCommand('test')
|
|
||||||
.then((argv) => {
|
|
||||||
test(argv._[ 1 ])
|
|
||||||
.then(NpmciEnv.configStore)
|
|
||||||
.catch(err => {
|
|
||||||
console.log(err)
|
|
||||||
process.exit(1)
|
|
||||||
})
|
|
||||||
})
|
|
||||||
|
|
||||||
// trigger
|
|
||||||
smartcli.addCommand('trigger')
|
|
||||||
.then((argv) => {
|
|
||||||
trigger()
|
|
||||||
})
|
|
||||||
|
|
||||||
smartcli.startParse()
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
import * as plugins from './npmci.plugins'
|
import * as plugins from './mod.plugins'
|
||||||
import { bash } from './npmci.bash'
|
import { bash } from '../npmci.bash'
|
||||||
import * as env from './npmci.env'
|
import * as env from '../npmci.env'
|
||||||
import * as buildDocker from './npmci.build.docker'
|
import * as npmciMods from '../npmci.mods'
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* defines possible build services
|
* defines possible build services
|
||||||
@ -14,7 +14,8 @@ export type TBuildService = 'docker'
|
|||||||
export let build = async (commandArg): Promise<void> => {
|
export let build = async (commandArg): Promise<void> => {
|
||||||
switch (commandArg) {
|
switch (commandArg) {
|
||||||
case 'docker':
|
case 'docker':
|
||||||
await buildDocker.build()
|
let modDocker = await npmciMods.modDocker.load()
|
||||||
|
await modDocker.build()
|
||||||
break
|
break
|
||||||
default:
|
default:
|
||||||
plugins.beautylog.log('build target ' + commandArg + ' not recognised!')
|
plugins.beautylog.log('build target ' + commandArg + ' not recognised!')
|
1
ts/mod_build/mod.plugins.ts
Normal file
1
ts/mod_build/mod.plugins.ts
Normal file
@ -0,0 +1 @@
|
|||||||
|
export * from '../npmci.plugins'
|
@ -1,5 +1,5 @@
|
|||||||
import * as plugins from './npmci.plugins'
|
import * as plugins from './mod.plugins'
|
||||||
import * as paths from './npmci.paths'
|
import * as paths from '../npmci.paths'
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* cleans npmci config files
|
* cleans npmci config files
|
1
ts/mod_clean/mod.plugins.ts
Normal file
1
ts/mod_clean/mod.plugins.ts
Normal file
@ -0,0 +1 @@
|
|||||||
|
export * from '../npmci.plugins'
|
1
ts/mod_docker/index.ts
Normal file
1
ts/mod_docker/index.ts
Normal file
@ -0,0 +1 @@
|
|||||||
|
export * from './mod.builddocker'
|
@ -1,7 +1,7 @@
|
|||||||
import * as plugins from './npmci.plugins'
|
import * as plugins from './mod.plugins'
|
||||||
import * as paths from './npmci.paths'
|
import * as paths from '../npmci.paths'
|
||||||
import * as NpmciEnv from './npmci.env'
|
import * as NpmciEnv from '../npmci.env'
|
||||||
import { bash } from './npmci.bash'
|
import { bash } from '../npmci.bash'
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* builds a cwd of Dockerfiles by triggering a promisechain
|
* builds a cwd of Dockerfiles by triggering a promisechain
|
3
ts/mod_docker/mod.plugins.ts
Normal file
3
ts/mod_docker/mod.plugins.ts
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
export * from '../npmci.plugins'
|
||||||
|
|
||||||
|
|
@ -34,7 +34,7 @@ let publishNpm = async () => {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* tries to pubish current cwd to Docker registry
|
* tries to publish current cwd to Docker registry
|
||||||
*/
|
*/
|
||||||
let publishDocker = async () => {
|
let publishDocker = async () => {
|
||||||
return await NpmciBuildDocker.readDockerfiles()
|
return await NpmciBuildDocker.readDockerfiles()
|
@ -1,4 +1,4 @@
|
|||||||
import * as plugins from './npmci.plugins'
|
import * as plugins from '../npmci.plugins'
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* servezoneRegex is the regex that parses the servezone connection data
|
* servezoneRegex is the regex that parses the servezone connection data
|
||||||
@ -15,18 +15,18 @@ let servezoneRegexResultArray = servezoneRegex.exec(process.env.NPMCI_SERVEZONE)
|
|||||||
* the data object that is used for the smartsocket client object
|
* the data object that is used for the smartsocket client object
|
||||||
*/
|
*/
|
||||||
let smartsocketClientConstructorOptions = {
|
let smartsocketClientConstructorOptions = {
|
||||||
alias: 'npmci',
|
alias: 'npmci',
|
||||||
password: servezoneRegexResultArray[3],
|
password: servezoneRegexResultArray[3],
|
||||||
port: parseInt(servezoneRegexResultArray[2]),
|
port: parseInt(servezoneRegexResultArray[2]),
|
||||||
role: 'ci',
|
role: 'ci',
|
||||||
url: servezoneRegexResultArray[1]
|
url: servezoneRegexResultArray[1]
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* the main run function to submit a service to a servezone
|
* the main run function to submit a service to a servezone
|
||||||
*/
|
*/
|
||||||
export let run = async (configArg) => {
|
export let run = async (configArg) => {
|
||||||
new plugins.smartsocket.SmartsocketClient(
|
new plugins.smartsocket.SmartsocketClient(
|
||||||
smartsocketClientConstructorOptions
|
smartsocketClientConstructorOptions
|
||||||
)
|
)
|
||||||
}
|
}
|
44
ts/mod_test/index.ts
Normal file
44
ts/mod_test/index.ts
Normal file
@ -0,0 +1,44 @@
|
|||||||
|
import * as plugins from './mod.plugins'
|
||||||
|
import { bash, yarnAvailable } from '../npmci.bash'
|
||||||
|
import * as env from '../npmci.env'
|
||||||
|
import * as npmciMods from '../npmci.mods'
|
||||||
|
|
||||||
|
// interfaces
|
||||||
|
import { Dockerfile } from '../mod_docker/index'
|
||||||
|
|
||||||
|
let npmDependencies = async (): Promise<void> => {
|
||||||
|
plugins.beautylog.info('now installing dependencies:')
|
||||||
|
if (await yarnAvailable.promise) {
|
||||||
|
await bash('yarn upgrade')
|
||||||
|
} else {
|
||||||
|
await bash('npm install')
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
let npmTest = async (): Promise<void> => {
|
||||||
|
plugins.beautylog.info('now starting tests:')
|
||||||
|
await bash('npm test')
|
||||||
|
}
|
||||||
|
|
||||||
|
let testDocker = async (): Promise<Dockerfile[]> => {
|
||||||
|
let modDocker = await npmciMods.modDocker.load()
|
||||||
|
return await modDocker.readDockerfiles()
|
||||||
|
.then(modDocker.pullDockerfileImages)
|
||||||
|
.then(modDocker.testDockerfiles)
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* the main test function
|
||||||
|
* @param versionArg
|
||||||
|
*/
|
||||||
|
export let test = async (versionArg): Promise<void> => {
|
||||||
|
if (versionArg === 'docker') {
|
||||||
|
await testDocker()
|
||||||
|
} else {
|
||||||
|
let modInstall = await npmciMods.modInstall.load()
|
||||||
|
await modInstall.install(versionArg)
|
||||||
|
.then(npmDependencies)
|
||||||
|
.then(npmTest)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
1
ts/mod_test/mod.plugins.ts
Normal file
1
ts/mod_test/mod.plugins.ts
Normal file
@ -0,0 +1 @@
|
|||||||
|
export * from '../npmci.plugins'
|
0
ts/mod_trigger/mod.plugins.ts
Normal file
0
ts/mod_trigger/mod.plugins.ts
Normal file
102
ts/npmci.cli.ts
Normal file
102
ts/npmci.cli.ts
Normal file
@ -0,0 +1,102 @@
|
|||||||
|
import * as plugins from './npmci.plugins'
|
||||||
|
import * as paths from './npmci.paths'
|
||||||
|
let npmciInfo = new plugins.projectinfo.ProjectinfoNpm(paths.NpmciPackageRoot)
|
||||||
|
plugins.beautylog.log('npmci version: ' + npmciInfo.version)
|
||||||
|
|
||||||
|
import * as NpmciEnv from './npmci.env'
|
||||||
|
|
||||||
|
import * as npmciMods from './npmci.mods'
|
||||||
|
|
||||||
|
let smartcli = new plugins.smartcli.Smartcli()
|
||||||
|
smartcli.addVersion(npmciInfo.version)
|
||||||
|
|
||||||
|
// build
|
||||||
|
smartcli.addCommand('build')
|
||||||
|
.then(async (argv) => {
|
||||||
|
let modBuild = await npmciMods.modBuild.load()
|
||||||
|
await modBuild.build(argv._[1])
|
||||||
|
NpmciEnv.configStore()
|
||||||
|
}).catch(err => {
|
||||||
|
console.log(err)
|
||||||
|
process.exit(1)
|
||||||
|
})
|
||||||
|
|
||||||
|
// clean
|
||||||
|
smartcli.addCommand('clean')
|
||||||
|
.then(async (argv) => {
|
||||||
|
let modClean = await npmciMods.modClean.load()
|
||||||
|
await modClean.clean()
|
||||||
|
await NpmciEnv.configStore()
|
||||||
|
}).catch(err => {
|
||||||
|
console.log(err)
|
||||||
|
process.exit(1)
|
||||||
|
})
|
||||||
|
|
||||||
|
// command
|
||||||
|
smartcli.addCommand('command')
|
||||||
|
.then(async (argv) => {
|
||||||
|
let modCommand = await npmciMods.modCommand.load()
|
||||||
|
await modCommand.command()
|
||||||
|
await NpmciEnv.configStore()
|
||||||
|
}).catch(err => {
|
||||||
|
console.log(err)
|
||||||
|
process.exit(1)
|
||||||
|
})
|
||||||
|
|
||||||
|
// install
|
||||||
|
smartcli.addCommand('install')
|
||||||
|
.then(async (argv) => {
|
||||||
|
let modInstall = await npmciMods.modInstall.load()
|
||||||
|
await modInstall.install(argv._[1])
|
||||||
|
await NpmciEnv.configStore()
|
||||||
|
}).catch(err => {
|
||||||
|
console.log(err)
|
||||||
|
process.exit(1)
|
||||||
|
})
|
||||||
|
|
||||||
|
// prepare
|
||||||
|
smartcli.addCommand('prepare')
|
||||||
|
.then(async (argv) => {
|
||||||
|
let modPrepare = await npmciMods.modPrepare.load()
|
||||||
|
await modPrepare.prepare(argv._[1])
|
||||||
|
await NpmciEnv.configStore()
|
||||||
|
}).catch(err => {
|
||||||
|
console.log(err)
|
||||||
|
process.exit(1)
|
||||||
|
})
|
||||||
|
|
||||||
|
// publish
|
||||||
|
smartcli.addCommand('publish')
|
||||||
|
.then(async (argv) => {
|
||||||
|
let modPublish = await npmciMods.modPublish.load()
|
||||||
|
await modPublish.publish(argv._[1])
|
||||||
|
await NpmciEnv.configStore()
|
||||||
|
|
||||||
|
}).catch(err => {
|
||||||
|
console.log(err)
|
||||||
|
process.exit(1)
|
||||||
|
})
|
||||||
|
|
||||||
|
// test
|
||||||
|
smartcli.addCommand('test')
|
||||||
|
.then(async (argv) => {
|
||||||
|
let modTest = await npmciMods.modTest.load()
|
||||||
|
await modTest.test(argv._[1])
|
||||||
|
await NpmciEnv.configStore()
|
||||||
|
}).catch(err => {
|
||||||
|
console.log(err)
|
||||||
|
process.exit(1)
|
||||||
|
})
|
||||||
|
|
||||||
|
// trigger
|
||||||
|
smartcli.addCommand('trigger')
|
||||||
|
.then(async (argv) => {
|
||||||
|
let modTrigger = await npmciMods.modTrigger.load()
|
||||||
|
await modTrigger.trigger()
|
||||||
|
await NpmciEnv.configStore()
|
||||||
|
}).catch(err => {
|
||||||
|
console.log(err)
|
||||||
|
process.exit(1)
|
||||||
|
})
|
||||||
|
|
||||||
|
smartcli.startParse()
|
@ -1,10 +1,12 @@
|
|||||||
import * as plugins from './npmci.plugins'
|
import * as plugins from './npmci.plugins'
|
||||||
import * as paths from './npmci.paths'
|
import * as paths from './npmci.paths'
|
||||||
import { GitRepo } from 'smartstring'
|
import { GitRepo } from 'smartstring'
|
||||||
import { Dockerfile } from './npmci.build.docker'
|
import { Dockerfile } from './mod_docker/index'
|
||||||
|
|
||||||
export let repo: GitRepo
|
export let repo: GitRepo
|
||||||
if (process.env.CI_REPOSITORY_URL) repo = new GitRepo(process.env.CI_REPOSITORY_URL)
|
if (process.env.CI_REPOSITORY_URL) {
|
||||||
|
repo = new GitRepo(process.env.CI_REPOSITORY_URL)
|
||||||
|
}
|
||||||
|
|
||||||
export let buildStage: string = process.env.CI_BUILD_STAGE
|
export let buildStage: string = process.env.CI_BUILD_STAGE
|
||||||
|
|
||||||
@ -22,7 +24,7 @@ export let config = {
|
|||||||
project: undefined
|
project: undefined
|
||||||
}
|
}
|
||||||
|
|
||||||
export let configStore = () => {
|
export let configStore = async () => {
|
||||||
config.dockerRegistry = dockerRegistry
|
config.dockerRegistry = dockerRegistry
|
||||||
plugins.smartfile.memory.toFsSync(
|
plugins.smartfile.memory.toFsSync(
|
||||||
JSON.stringify(config),
|
JSON.stringify(config),
|
||||||
|
@ -0,0 +1,21 @@
|
|||||||
|
import * as _modBuild from './mod_build/index'
|
||||||
|
import * as _modClean from './mod_clean/index'
|
||||||
|
import * as _modCommand from './mod_command/index'
|
||||||
|
import * as _modDocker from './mod_docker/index'
|
||||||
|
import * as _modInstall from './mod_install/index'
|
||||||
|
import * as _modPublish from './mod_publish/index'
|
||||||
|
import * as _modPrepare from './mod_prepare/index'
|
||||||
|
import * as _modTrigger from './mod_trigger/index'
|
||||||
|
import * as _modTest from './mod_test/index'
|
||||||
|
|
||||||
|
import { LazyModule } from 'smartsystem'
|
||||||
|
|
||||||
|
export let modBuild = new LazyModule<typeof _modBuild>('./mod_build/index', __dirname)
|
||||||
|
export let modClean = new LazyModule<typeof _modClean>('./mod_clean/index', __dirname)
|
||||||
|
export let modCommand = new LazyModule<typeof _modCommand>('./mod_command/index', __dirname)
|
||||||
|
export let modDocker = new LazyModule<typeof _modDocker>('./mod_docker/index', __dirname)
|
||||||
|
export let modInstall = new LazyModule<typeof _modInstall>('./mod_install/index', __dirname)
|
||||||
|
export let modPublish = new LazyModule<typeof _modPublish>('./mod_publish/index', __dirname)
|
||||||
|
export let modPrepare = new LazyModule<typeof _modPrepare>('./mod_prepare/index', __dirname)
|
||||||
|
export let modTrigger = new LazyModule<typeof _modTrigger>('./mod_trigger/index', __dirname)
|
||||||
|
export let modTest = new LazyModule<typeof _modTest>('./mod_test/index',__dirname)
|
17
ts/npmci.monitor.ts
Normal file
17
ts/npmci.monitor.ts
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
import * as plugins from './npmci.plugins'
|
||||||
|
import * as env from './npmci.env'
|
||||||
|
|
||||||
|
import { Smartmonitor } from 'smartmonitor'
|
||||||
|
|
||||||
|
export let npmciMonitor = new Smartmonitor()
|
||||||
|
|
||||||
|
if(process.env.SMARTMONITOR) {
|
||||||
|
npmciMonitor.addInstrumental({
|
||||||
|
apiKey: process.env.SMARTMONITOR
|
||||||
|
})
|
||||||
|
plugins.beautylog.info('Monitoring activated')
|
||||||
|
} else {
|
||||||
|
plugins.beautylog.warn('Monitoring could not be enabled due to missing API-KEY')
|
||||||
|
}
|
||||||
|
|
||||||
|
npmciMonitor.increment('lossless-ci.builds', 1)
|
@ -16,6 +16,7 @@ export import smartparam = require('smartparam')
|
|||||||
export import smartq = require('smartq')
|
export import smartq = require('smartq')
|
||||||
export import smartshell = require('smartshell')
|
export import smartshell = require('smartshell')
|
||||||
export import smartsocket = require('smartsocket')
|
export import smartsocket = require('smartsocket')
|
||||||
|
export import smartsystem = require('smartsystem')
|
||||||
export import smartssh = require('smartssh')
|
export import smartssh = require('smartssh')
|
||||||
export import smartstring = require('smartstring')
|
export import smartstring = require('smartstring')
|
||||||
export import through2 = require('through2')
|
export import through2 = require('through2')
|
||||||
|
@ -3,6 +3,13 @@ import * as plugins from './npmci.plugins'
|
|||||||
let sshRegex = /^(.*)\|(.*)\|(.*)/
|
let sshRegex = /^(.*)\|(.*)\|(.*)/
|
||||||
let sshInstance: plugins.smartssh.SshInstance
|
let sshInstance: plugins.smartssh.SshInstance
|
||||||
|
|
||||||
|
/**
|
||||||
|
* checks if not undefined
|
||||||
|
*/
|
||||||
|
let notUndefined = (stringArg: string) => {
|
||||||
|
return (stringArg && stringArg !== 'undefined' && stringArg !== '##')
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* checks for ENV vars in form of NPMCI_SSHKEY_* and deploys any found ones
|
* checks for ENV vars in form of NPMCI_SSHKEY_* and deploys any found ones
|
||||||
*/
|
*/
|
||||||
@ -39,10 +46,3 @@ let evaluateSshEnv = async (sshkeyEnvVarArg) => {
|
|||||||
sshInstance.addKey(sshKey)
|
sshInstance.addKey(sshKey)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* checks if not undefined
|
|
||||||
*/
|
|
||||||
let notUndefined = (stringArg: string) => {
|
|
||||||
return (stringArg && stringArg !== 'undefined' && stringArg !== '##')
|
|
||||||
}
|
|
||||||
|
@ -1,36 +0,0 @@
|
|||||||
import * as plugins from './npmci.plugins'
|
|
||||||
import { bash, yarnAvailable } from './npmci.bash'
|
|
||||||
import { install } from './npmci.install'
|
|
||||||
import * as env from './npmci.env'
|
|
||||||
import * as NpmciBuildDocker from './npmci.build.docker'
|
|
||||||
|
|
||||||
export let test = async (versionArg): Promise<void> => {
|
|
||||||
if (versionArg === 'docker') {
|
|
||||||
await testDocker()
|
|
||||||
} else {
|
|
||||||
await install(versionArg)
|
|
||||||
.then(npmDependencies)
|
|
||||||
.then(npmTest)
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
let npmDependencies = async (): Promise<void> => {
|
|
||||||
plugins.beautylog.info('now installing dependencies:')
|
|
||||||
if (await yarnAvailable.promise) {
|
|
||||||
await bash('yarn upgrade')
|
|
||||||
} else {
|
|
||||||
await bash('npm install')
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
let npmTest = async (): Promise<void> => {
|
|
||||||
plugins.beautylog.info('now starting tests:')
|
|
||||||
await bash('npm test')
|
|
||||||
}
|
|
||||||
|
|
||||||
let testDocker = async (): Promise<NpmciBuildDocker.Dockerfile[]> => {
|
|
||||||
return await NpmciBuildDocker.readDockerfiles()
|
|
||||||
.then(NpmciBuildDocker.pullDockerfileImages)
|
|
||||||
.then(NpmciBuildDocker.testDockerfiles)
|
|
||||||
}
|
|
||||||
|
|
30
yarn.lock
30
yarn.lock
@ -29,18 +29,12 @@
|
|||||||
dependencies:
|
dependencies:
|
||||||
"@types/node" "*"
|
"@types/node" "*"
|
||||||
|
|
||||||
"@types/fs-extra@0.0.35":
|
"@types/fs-extra@0.0.35", "@types/fs-extra@0.x.x":
|
||||||
version "0.0.35"
|
version "0.0.35"
|
||||||
resolved "https://registry.yarnpkg.com/@types/fs-extra/-/fs-extra-0.0.35.tgz#3ed400c0122fb161db51da23d96ba5040cb9c7d9"
|
resolved "https://registry.yarnpkg.com/@types/fs-extra/-/fs-extra-0.0.35.tgz#3ed400c0122fb161db51da23d96ba5040cb9c7d9"
|
||||||
dependencies:
|
dependencies:
|
||||||
"@types/node" "*"
|
"@types/node" "*"
|
||||||
|
|
||||||
"@types/fs-extra@0.x.x":
|
|
||||||
version "0.0.37"
|
|
||||||
resolved "https://registry.yarnpkg.com/@types/fs-extra/-/fs-extra-0.0.37.tgz#195f11bcd9a1b97d9e412c6b66899b545471a1f7"
|
|
||||||
dependencies:
|
|
||||||
"@types/node" "*"
|
|
||||||
|
|
||||||
"@types/fs-extra@3.x.x":
|
"@types/fs-extra@3.x.x":
|
||||||
version "3.0.1"
|
version "3.0.1"
|
||||||
resolved "https://registry.yarnpkg.com/@types/fs-extra/-/fs-extra-3.0.1.tgz#78293a68aad3d866751e8fcfd64d7dc9d0117476"
|
resolved "https://registry.yarnpkg.com/@types/fs-extra/-/fs-extra-3.0.1.tgz#78293a68aad3d866751e8fcfd64d7dc9d0117476"
|
||||||
@ -79,7 +73,7 @@
|
|||||||
version "0.0.32"
|
version "0.0.32"
|
||||||
resolved "https://registry.yarnpkg.com/@types/q/-/q-0.0.32.tgz#bd284e57c84f1325da702babfc82a5328190c0c5"
|
resolved "https://registry.yarnpkg.com/@types/q/-/q-0.0.32.tgz#bd284e57c84f1325da702babfc82a5328190c0c5"
|
||||||
|
|
||||||
"@types/q@1.x.x", "@types/q@^1.x.x":
|
"@types/q@1.0.0", "@types/q@1.x.x", "@types/q@^1.x.x":
|
||||||
version "1.0.0"
|
version "1.0.0"
|
||||||
resolved "https://registry.yarnpkg.com/@types/q/-/q-1.0.0.tgz#57e5465d665b370d4217e69b344b20faa6b724f5"
|
resolved "https://registry.yarnpkg.com/@types/q/-/q-1.0.0.tgz#57e5465d665b370d4217e69b344b20faa6b724f5"
|
||||||
|
|
||||||
@ -1859,7 +1853,7 @@ oauth-sign@~0.8.1:
|
|||||||
version "0.8.2"
|
version "0.8.2"
|
||||||
resolved "https://registry.yarnpkg.com/oauth-sign/-/oauth-sign-0.8.2.tgz#46a6ab7f0aead8deae9ec0565780b7d4efeb9d43"
|
resolved "https://registry.yarnpkg.com/oauth-sign/-/oauth-sign-0.8.2.tgz#46a6ab7f0aead8deae9ec0565780b7d4efeb9d43"
|
||||||
|
|
||||||
object-assign@4.1.0:
|
object-assign@4.1.0, object-assign@^4.0.1:
|
||||||
version "4.1.0"
|
version "4.1.0"
|
||||||
resolved "https://registry.yarnpkg.com/object-assign/-/object-assign-4.1.0.tgz#7a3b3d0e98063d43f4c03f2e8ae6cd51a86883a0"
|
resolved "https://registry.yarnpkg.com/object-assign/-/object-assign-4.1.0.tgz#7a3b3d0e98063d43f4c03f2e8ae6cd51a86883a0"
|
||||||
|
|
||||||
@ -1867,10 +1861,6 @@ object-assign@^3.0.0:
|
|||||||
version "3.0.0"
|
version "3.0.0"
|
||||||
resolved "https://registry.yarnpkg.com/object-assign/-/object-assign-3.0.0.tgz#9bedd5ca0897949bca47e7ff408062d549f587f2"
|
resolved "https://registry.yarnpkg.com/object-assign/-/object-assign-3.0.0.tgz#9bedd5ca0897949bca47e7ff408062d549f587f2"
|
||||||
|
|
||||||
object-assign@^4.0.1:
|
|
||||||
version "4.1.1"
|
|
||||||
resolved "https://registry.yarnpkg.com/object-assign/-/object-assign-4.1.1.tgz#2109adc7965887cfc05cbbd442cac8bfbb360863"
|
|
||||||
|
|
||||||
object-component@0.0.3:
|
object-component@0.0.3:
|
||||||
version "0.0.3"
|
version "0.0.3"
|
||||||
resolved "https://registry.yarnpkg.com/object-component/-/object-component-0.0.3.tgz#f0c69aa50efc95b866c186f400a33769cb2f1291"
|
resolved "https://registry.yarnpkg.com/object-component/-/object-component-0.0.3.tgz#f0c69aa50efc95b866c186f400a33769cb2f1291"
|
||||||
@ -2540,6 +2530,16 @@ smartstring@2.0.24, smartstring@^2.0.22, smartstring@^2.0.24:
|
|||||||
js-base64 "^2.1.9"
|
js-base64 "^2.1.9"
|
||||||
typings-global "^1.0.14"
|
typings-global "^1.0.14"
|
||||||
|
|
||||||
|
smartsystem@^1.0.17:
|
||||||
|
version "1.0.17"
|
||||||
|
resolved "https://registry.yarnpkg.com/smartsystem/-/smartsystem-1.0.17.tgz#a74e4cd3a780df7bd339e6f36620be2fa12af5ab"
|
||||||
|
dependencies:
|
||||||
|
"@types/q" "1.0.0"
|
||||||
|
lik "^1.0.30"
|
||||||
|
q "^1.5.0"
|
||||||
|
systemjs "^0.20.12"
|
||||||
|
typings-global "^1.0.16"
|
||||||
|
|
||||||
sntp@1.x.x:
|
sntp@1.x.x:
|
||||||
version "1.0.9"
|
version "1.0.9"
|
||||||
resolved "https://registry.yarnpkg.com/sntp/-/sntp-1.0.9.tgz#6541184cc90aeea6c6e7b35e2659082443c66198"
|
resolved "https://registry.yarnpkg.com/sntp/-/sntp-1.0.9.tgz#6541184cc90aeea6c6e7b35e2659082443c66198"
|
||||||
@ -2712,6 +2712,10 @@ symbol-observable@^1.0.1:
|
|||||||
version "1.0.4"
|
version "1.0.4"
|
||||||
resolved "https://registry.yarnpkg.com/symbol-observable/-/symbol-observable-1.0.4.tgz#29bf615d4aa7121bdd898b22d4b3f9bc4e2aa03d"
|
resolved "https://registry.yarnpkg.com/symbol-observable/-/symbol-observable-1.0.4.tgz#29bf615d4aa7121bdd898b22d4b3f9bc4e2aa03d"
|
||||||
|
|
||||||
|
systemjs@^0.20.12:
|
||||||
|
version "0.20.12"
|
||||||
|
resolved "https://registry.yarnpkg.com/systemjs/-/systemjs-0.20.12.tgz#135cc471280448453347829ebb9639a09a67f101"
|
||||||
|
|
||||||
tapbundle@^1.0.12:
|
tapbundle@^1.0.12:
|
||||||
version "1.0.12"
|
version "1.0.12"
|
||||||
resolved "https://registry.yarnpkg.com/tapbundle/-/tapbundle-1.0.12.tgz#71d29273aad280f5c4e15b2700430b2456a5d364"
|
resolved "https://registry.yarnpkg.com/tapbundle/-/tapbundle-1.0.12.tgz#71d29273aad280f5c4e15b2700430b2456a5d364"
|
||||||
|
Loading…
Reference in New Issue
Block a user