Skip to content

Our CircleCI Docker image

Notifications You must be signed in to change notification settings

jesims/build-bus

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

JESI.IO

Docker Automated build Docker Build Status

Build-Bus

A single docker container for building and testing all of our projects; and for cancelling redundant builds on CircleCI using https://github.com/jesims/circleci-tools.

Docker Hub

This container is automatically built and made available by DockerHub at https://hub.docker.com/r/jesiio/build-bus and can be referenced in the CircleCI config.yml by using jesiio/build-bus:latest. For example:

aliases:
  cmds:
    submodule_update: &SUBMODULE_UPDATE
      run:
        name: Git Submodule Update
        command: 'git submodule sync && git submodule update --init'
    cancel_redundant: &CANCEL_REDUNDANT
      run:
        name: Check & Cancel Redundant Build
        command: 'cancel-redundant-builds.sh'

jobs:
  deps:
    docker: 
      - image: jesiio/build-bus:latest
    steps:
      - *CANCEL_REDUNDANT
      - checkout
      - *SUBMODULE_UPDATE
      - ...

Manual Build and Deploy

A manual build and deploy (to DockerHub) can be run by invoking ./deploy.sh

Testing

To ensure the build runs, invoke the provide test.sh script.