LightAndLight / citools

Tools for crafting good CI pipelines.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

citools

Tools for crafting good CI pipelines.

Contents

Nix + Docker

Build and upload a Nix-based Docker image

Usage: nix run github:LightAndLight/citools#uploadDockerImage -- URI FILE

Example: nix run github:LightAndLight/citools#uploadDockerImage -- docker.io image.nix

Arguments:

  • URI - Docker registry URI
  • FILE - A Nix file containing a dockerTools Docker image derivation

VM Images

  • DigitalOcean - nix build github:LightAndLight/citools#digitalOceanImage && ls result/

    At the time of writing, DigitalOcean has no convenient way to automate the uploading of the built image. Upload it manually at https://cloud.digitalocean.com/images/custom_images.

Testing

  • nix build github:LightAndLight/citools#testPackage

    A derivation with few dependencies that's easy to build. Good for testing Nix flake compatibility, and debugging post-build hooks.

About

Tools for crafting good CI pipelines.


Languages

Language:Nix 98.4%Language:Shell 1.6%