@atomist/sample-sdm
Version:
Sample Atomist automation for software delivery
25 lines • 1.47 kB
JavaScript
;
/*
* Copyright © 2018 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 sdm_1 = require("@atomist/sdm");
const NoticeK8sDeployCompletion_1 = require("@atomist/sdm/handlers/events/delivery/deploy/k8s/NoticeK8sDeployCompletion");
const NoticeK8sProdDeployCompletion_1 = require("@atomist/sdm/handlers/events/delivery/deploy/k8s/NoticeK8sProdDeployCompletion");
exports.K8sTestingDomain = "testing";
exports.K8sProductionDomain = "production";
exports.NoticeK8sTestDeployCompletion = new NoticeK8sDeployCompletion_1.NoticeK8sTestDeployCompletionOnStatus(sdm_1.StagingDeploymentGoal, sdm_1.StagingEndpointGoal);
exports.noticeK8sProdDeployCompletion = repoRefResolver => new NoticeK8sProdDeployCompletion_1.NoticeK8sProdDeployCompletionOnStatus(sdm_1.ProductionDeploymentGoal, sdm_1.ProductionEndpointGoal, repoRefResolver);
//# sourceMappingURL=k8sDeploy.js.map