🚀 DAY 5 OF LAUNCH WEEK:Introducing Webhook Events for Alert Changes.Learn more →
Socket
Book a DemoInstallSign in
Socket

halla

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

halla

A module to compose concourse pipelines in javascript.

latest
npmnpm
Version
1.0.4
Version published
Maintainers
1
Created
Source

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});
    });

FAQs

Package last updated on 08 Jun 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts