atomist-attic / sample-sdm

Sample Software Delivery Machine
Apache License 2.0
0 stars 2 forks source link

Move SDM options into client's configuration object #23

Closed cdupuis closed 6 years ago

cdupuis commented 6 years ago

With this we can now specify SdmOptions inside the client's configuration:

function machineMaker(config: SoftwareDeliveryMachineConfiguration) {
    return additiveCloudFoundryMachine(config);
}

export const configuration: Configuration = {
    postProcessors: [
        configureSdm(machineMaker),
    ],
    sdm: {
        artifactStore: new SomeOtherArtifactStore(),
    }
};