Skip to content

ftzm/service_utils

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Introduction

This reposity contains utilities for building and deploying projects meant to run in my own personal kubernetes cluster. They may be of inspiration to others. The main technologies at play are Make, Nix, and Dhall.

What this includes

  1. Semantic version tagging of git and docker images.
  2. Bootstrapping docker image generation via Nix.
  3. Generation of Kubernetes yamls via Dhall.
  4. Deployment of Kubernetes yamls via kubectl or flux.

Requirements

  • Nix
  • A service.dhall file containing the following record of the following type:
{ name :
  Text
, repo :
  Text
, port :
  Natural
, gateway :
  Text
, hosts :
  List Text
}

Usage

The primary way to plug this into a project is to import it in a makefile.

  1. If cloned to a local directory: include $(shell nix-shell ../service_utils/shell.nix --run "")
  2. If installed via nix: include $(shell print-utils-make)

This will make the utility make functions defined by this repository available in including repo.

About

Service Utils

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published