Skip to content

anjakammer/anya

Repository files navigation

anya

Maintenance

An open-source CI/CD system for containerized applications that deploys to your Kubernetes cluster.

Features

Read the docs here: anjakammer.github.io/anya

For Developers

anya is an abstraction of Brigade; it configures Brigade and provides a default build pipeline (DefaultScript). You find the DefaultScript in the chart: charts/anya/files/brigade.js The DefaultScript is created as a configmap. The configmap name is used in the template for creating Brigade projects (charts/anya/templates/brigade-projects.yaml), so that every project uses this DefaultScript.

Deployment

anya uses Helmsman for the deployment. It is planned to utilize Terraform instead.

Makefile

The Makefile of this repository has the following functions:

  • make lint calls the linter of helm, to check your the charts in here: charts/*
  • make package packages all charts and pushes them to the anya chart repository.
  • make helmsman-plan Dry-Run for the deployment with verbose output
  • make helmsman-apply Will apply the deployment
  • make purge-worker If you cannot wait for vacuum to free your cluster from all Brigade jobs and builds - use this.
  • make purge-previews This will delete all preview deployments, made by anya.
  • make update-pipeline For pipeline development without packaging. This function will update the DefaultScript in your cluster. Do not forget to package the chart to publish your changes permanently.
  • make watch-jobs Observe all jobs that are currently running. Failed ones are displayed permanently, so you can spot them easily.