GithubHelp home page GithubHelp logo

borchero / cuckoo Goto Github PK

View Code? Open in Web Editor NEW
2.0 3.0 0.0 55 KB

CLI Tool for GitLab CI and Kubernetes Deployments.

License: MIT License

Dockerfile 1.57% Ruby 0.53% Go 97.90%
ci cd kubernetes gitlabci

cuckoo's Introduction

Cuckoo

Docker Image Version

Cuckoo is a command line tool to simplify CI pipelines. It is currently focused on GitLab CI and deployment to Kubernetes clusters provisioned via the Google Cloud Platform.

Cuckoo enables moving from error-prone bash scripts to a powerful Go CLI tool that minimizes the time spent on debugging CI pipelines. Additionally, it has a minimal footprint (the image has a size below 60 MB at the moment) and thus speeds up CI pipelines and saves bandwidth.

Features

Cuckoo provides the following set of commands:

  • auth: Checks for authentication against multiple components and performs a login from credentials given by environment variables if required (e.g. SSH daemon, Docker registry, Google Cloud Platform).
  • build: Builds a Docker container and optionally pushes it to a registry (with multiple tags). Builds can be performed using a (remote) BuildKit daemon.
  • decrypt: Automatically decrypt all files matching some pattern using Mozilla's Sops.
  • deploy: Deploy a Helm chart or single Kubernetes manifests to a Kubernetes cluster.
  • provision: Provision infrastructure using Terraform.
  • publish: Upload static files to an object storage bucket to be served as static website.

More details explanations for the commands can be retrieved by installing the cuckoo command and running cuckoo help <command>.

Installation

Currently, Cuckoo is available via Docker and Homebrew, i.e. on MacOS. In any other case, it must be built from source.

Docker

Cuckoo is hosted on Docker Hub and can therefore be simply referenced under the following name:

borchero/cuckoo

MacOS

Cuckoo resides in a custom Homebrew tap and must therefore be installed via the following two commands:

brew tap borchero/tools
brew install cuckoo

You do not need to have Go installed as a static binary will be shipped.

Build from Source

Building from source is as simple as cloning the repository and running the following command inside the source directory:

go install

Make sure you have Go version 1.14 installed.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.