Socket
Book a DemoInstallSign in
Socket

@brocan/bond

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

@brocan/bond

The build agent of Brocan CI.

3.0.2
latest
Source
npmnpm
Version published
Weekly downloads
1
-50%
Maintainers
1
Weekly downloads
 
Created
Source

Bond

Bond is the build agent of Brocan CI.

Project Dependencies

  • brocanfile

Environment Dependencies

  • Faktory
  • NATS (Hemera)
  • Git must be installed in the container/machine running Bond

Expected configuration and environment variables

Please see the schema in src/config.js for documentation and default values.

Communication

Inbound

TCP

Faktory
  • Description: Uses Faktory for fetching new build jobs.

HTTP

POST /:buildId/report/:stage
  • Request
    • URI Params
      • buildId - The ID of the currently executing build. An arbitrary string.
      • stage - The build stage the report belongs belongs to. Can be any of these three values: command, step, build.
    • Payload
      • Please refer to the outbound communication of Bolt.
  • Response
    • Immediate with empty payload and 200 OK status code.
  • Description
    • This is the endpoint Bolt is intended to use when reporting the build status.

Outbound

NATS - Act

Build progress update
  • Topic - build.info
  • Type - pub/sub
  • Payload
    • role - progress
    • buildId - The identifier of the build.
    • stage - The stage the update, which can be build, step or command.
    • And all the same fields as those received on the /:buildId/report/:stage/ endpoint.
  • Description
    • An asynchronous build progress update.
Build data fetch
  • Topic - build.queryBuildData
  • Type - req/repl
  • Payload
    • buildId - The ID of the requested build metadata.
  • Description
    • Query data for specific build. The data must include the information needed for the build execution. This includes the repository URI and the commit hash.

FAQs

Package last updated on 13 Nov 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

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.