@atomist/atomist-sdm
Version:
Atomist SDM to deliver our own projects
57 lines • 1.95 kB
JavaScript
;
/*
* Copyright © 2019 Atomist, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
Object.defineProperty(exports, "__esModule", { value: true });
const automation_client_ext_dashboard_1 = require("@atomist/automation-client-ext-dashboard");
const automation_client_ext_logzio_1 = require("@atomist/automation-client-ext-logzio");
const automation_client_ext_raven_1 = require("@atomist/automation-client-ext-raven");
const sdm_core_1 = require("@atomist/sdm-core");
const machine_1 = require("./lib/machine/machine");
const machineOptions = {
requiredConfigurationValues: [
"sdm.npm.npmrc",
"sdm.npm.registry",
"sdm.npm.access",
"sdm.docker.hub.registry",
"sdm.docker.hub.user",
"sdm.docker.hub.password",
],
};
exports.configuration = {
postProcessors: [
automation_client_ext_logzio_1.configureLogzio,
automation_client_ext_raven_1.configureRaven,
automation_client_ext_dashboard_1.configureDashboardNotifications,
sdm_core_1.configureSdm(machine_1.machine, machineOptions),
],
sdm: {
npm: {
publish: {
tag: {
defaultBranch: true,
},
},
},
k8: {
environment: "test",
},
cache: {
enabled: true,
path: "/opt/data",
},
},
};
//# sourceMappingURL=index.js.map