Coder Social home page Coder Social logo

kameshsampath / build-status-checker Goto Github PK

View Code? Open in Web Editor NEW
2.0 3.0 1.0 24.57 MB

A utility to check the knative build status which can be used with vanilla k8s apps

License: Apache License 2.0

Dockerfile 3.20% Makefile 9.41% Go 87.39%
kubernetes knative-build

build-status-checker's Introduction

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

build-status-checker's People

Contributors

kameshsampath avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar

build-status-checker's Issues

test 2

test for notification

Infer the Namespace

Whenever the namespace is not passed as the argument, infer the namespace from the deployment, ideally from where it is currently deployed

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.