Skip to content

boomerang-io/worker.cicd

Repository files navigation

Boomerang CICD Worker

This is the Boomerang CICD Worker that runs the build, test, and deploy activities for the out of the bose Component Modes.

This is based on the Gen 3 worker design for Boomerang Flow, meaning that there are fixed commands that punch out to shell scripts.

Depends on:

Design

There are three commands in this worker that are tightly coupled with their implementation

  • Build: /commands/build.js
  • Test: /commands/test.js
  • Deploy: /commands/deploy.js

In turn, these commands rely on the bash scripts located in the /scripts directory.

How to Build and Push

Automatically

Via the Boomerang CICD system which will make the images available on Dockerhub

Manually

Standard: VERSION=<tag> && docker build -t boomerangio/worker-cicd:$VERSION . && docker push boomerangio/worker-cicd:$VERSION

Node NVM Feature: VERSION=<tag>-nvm.X && docker build -t boomerangio/worker-cicd:$VERSION . && docker push boomerangio/worker-cicd:$VERSION