Skip to content
This repository has been archived by the owner on Jul 14, 2020. It is now read-only.

atomist/sdm-pack-ecs

@atomist/sdk-pack-ecs

Atomist software delivery machine (SDM) extension pack providing the ability to deploy applications to AWS ECS environments.

See the [Atomist documentation][atomist-doc] for more information on what SDMs are and what they can do for you using the Atomist API for software.

Purpose

This pack adds ECS deployment functionality to an Atomist SDM.

Usage

Install the dependency in your SDM project.

$ npm install @atomist/sdm-pack-ecs

Then use its exporeted method to add the functionality to your SDM in your machine definition.

import { EcsDeploy, ecsSupport } from "@atomist/sdm-pack-ecs";

export function machine(
    configuration: SoftwareDeliveryMachineConfiguration,
): SoftwareDeliveryMachine {

    const sdm: SoftwareDeliveryMachine = createSoftwareDeliveryMachine(
        { name: "My Software Delivery Machine", configuration },
    );

    sdm.addExtensionPacks(
        ecsSupport(),
    );
    return sdm;
};

Docs

See docs