1.0.4 • Published 7 years ago

halla v1.0.4

Weekly downloads
1
License
MIT
Repository
-
Last release
7 years ago

halla

A simple library to help you create concourse pipelines using Javascript (and hence composition).

Installation:

npm install --save halla

Usage:

const halla = require('halla');

To extract all of your current pipelines into a javascript file:

const halla = require('halla');

halla.concourse('target', 'concourse-url', 'team-name')
    .then((logged_in_concourse) => {
        logged_in_concourse.importAllPipelines('imported-pipelines.js');
    });

To build a pipeline from the javascript version:

const pipeline_yml = halla.build({ ... your javascript pipeline object ... });

To publish a pipeline to your concourse server:

const pipeline_yml = halla.build({ ... your javascript pipeline object ... });

halla.concourse('target', 'concourse-url', 'team-name')
    .then((logged_in_concourse) => {
        logged_in_concourse.publish({name:'my-awesome-pipeline', yaml:pipeline_yml});
    });
1.0.4

7 years ago

1.0.3

7 years ago

1.0.2

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago