Skip to content

This repository contains the code for the Builder + K8s integration service. It leverages brigade to execute via cron gateway

Notifications You must be signed in to change notification settings

habitat-sh/builder-brigade

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

51 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Builder Brigade: A service for syncing package update with kubernetes managed habitat services

This is the repo for a brigade service that syncs package updates between builder and kubernetes.

In it's current state it is ONLY FOR DEMO PURPOSES. The pattern we use currently is to deploy the cron gateway alongside the builder brigade service. The cron gateway will trigger the run of the builder-brigade service on a user defined interval.

Usage

Clone this repository and then:

$ cd builder-brigade
$ helm repo add brigade https://azure.github.io/brigade
$ helm init
$ helm install -n brigade brigade/brigade
$ helm install -n builder-brigade brigade/brigade-project -f project.yml
$ helm install -n brigade-cron ./charts/brigade-cron -f charts/values.yml

If your cluster has RBAC enabled, append --set rbac.enabled=true to the end of the second install command, like so:

$ helm install -n builder-brigade -f values.yml --set rbac.enabled=true

Testing changes

$ brig run -f brigade.js -e pkg_check habitat/builder-brigade

About

This repository contains the code for the Builder + K8s integration service. It leverages brigade to execute via cron gateway

Resources

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published