kbld

module
v0.13.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 16, 2020 License: Apache-2.0

README

kbld

kbld (pronounced: kei·bild) seamlessly incorporates image building and image pushing into your development and deployment workflows.

Features:

  • Orchestrates image builds (delegates to tools like Docker, pack) and registry pushes
  • Works with local Docker daemon and remote registries, for development and production cases
  • Records metadata about image sources in annotation on Kubernetes resources (see examples below)
  • Resolves image references to their digest form (immutable) (details)
  • Provides a way to transport set of images in a single tarball between registries
    • maintaining exactly same digests, hence guaranteeing exactly same content
  • Not specific to Kubernetes, but works really well with Kubernetes configuration files

See building and deploying simple Go application to Kubernetes example that uses kbld.

Development

./hack/build.sh

eval $(minikube docker-env)
docker login ...
export KBLD_E2E_DOCKERHUB_USERNAME=...
./hack/test-all.sh

# include goog analytics in 'kbld website' command for https://get-kbld.io
# (goog analytics is _not_ included in release binaries)
BUILD_VALUES=./hack/build-values-get-kbld-io.yml ./hack/build.sh

build.sh depends on ytt.

Directories

Path Synopsis
cmd
pkg
test
e2e

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL