This package has been deprecated

Author message:

Please update to @atomist/sdm-pack-k8s

@atomist/sdm-pack-k8
TypeScript icon, indicating that this package has built-in type declarations

1.0.1 • Public • Published

@atomist/sdm-pack-k8

atomist sdm goals npm version

Atomist software delivery machine (SDM) extension Pack for an Atomist SDM to integrate Kubernetes deployments.

Software delivery machines enable you to control your delivery process in code. Think of it as an API for your software delivery. See the Atomist documentation for more information on the concept of a software delivery machine and how to create and develop an SDM.

Getting started

See the Developer Quick Start to jump straight to creating an SDM.

Contributing

Contributions to this project from community members are encouraged and appreciated. Please review the Contributing Guidelines for more information. Also see the Development section in this document.

Code of conduct

This project is governed by the Code of Conduct. You are expected to act in accordance with this code by participating. Please report any unacceptable behavior to code-of-conduct@atomist.com.

Documentation

Please see docs.atomist.com for developer documentation.

Connect

Follow @atomist and The Composition blog related to SDM.

Usage

  1. First install the dependency in your SDM project
$ npm install @atomist/sdm-pack-k8
  1. Install the support
import { kubernetesSupport } from "@atomist/sdm-pack-k8";

sdm.addExtensionPacks(kubernetesSupport({
        deployments: [{
            goal: StagingDeploymentGoal,
            pushTest: IsNode,
            callback: kubernetesDataCallback(sdm.configuration),
        }, {
            goal: ProductionDeploymentGoal,
            pushTest: IsNode,
            callback: kubernetesDataCallback(sdm.configuration),
        }],
    }));
  1. Add configuration to your client configuration
// no configuration needed

Support

General support questions should be discussed in the #support channel in the Atomist community Slack workspace.

If you find a problem, please create an issue.

Development

You will need to install Node.js to build and test this project.

Build and test

Install dependencies.

$ npm install

Use the build package script to compile, test, lint, and build the documentation.

$ npm run build

Release

Releases are handled via the Atomist SDM. Just press the 'Approve' button in the Atomist dashboard or Slack.


Created by Atomist. Need Help? Join our Slack workspace.

Package Sidebar

Install

npm i @atomist/sdm-pack-k8

Weekly Downloads

7

Version

1.0.1

License

Apache-2.0

Unpacked Size

330 kB

Total Files

43

Last publish

Collaborators

  • neilprosser
  • atomist-bot
  • cdupuis
  • slimslenderslacks