Skip to content
A utility to check the knative build status which can be used with vanilla k8s apps
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
pkg
test
vendor
.dockerignore
.gitignore
Dockerfile
Gopkg.lock
Gopkg.toml
LICENSE
Makefile
README.adoc
main.go

README.adoc

Build Status Checker

A utility container image that could be used as init containers with Kuberenetes deployments which can use the Knative build to build the image, that will be used in the deployment

Pre-requisite

  • The Kubernetes environment should have Knative Build deployed in your kubernetes environment

How to use ?

Add the following init-container definition to the kubernetes deployment

    initContainers:
    - name: build-status-checker
        image: quay.io/rhdevelopers/build-status-checker
        args:
         - poll
         - --buildname=my-build

Commands

The application right now supports only one command called poll the polls a named build. The poll command has only one parameter called buildname i.e the name of the build that needs to be polled and checked for status

Global Parameters

The application supports the following parameters:

  • loglevel: The level of logging you want from the application, all log levels from https://github.com/sirupsen/logrus are applicable

  • kubeconfig: The location of kubeconfig file if you are running out of the cluster

You can’t perform that action at this time.