Code Monkey home page Code Monkey logo

kashti's Introduction

⚠️  This repo contains the source for a component of the Brigade v1.x ecosystem. Brigade v1.x reached end-of-life on June 1, 2022 and as a result, this component is no longer maintained.

The Brigade Dashboard Gateway is a work-in-progress (as of this writing) v2-compatible replacement for this component.

Kashti is a dashboard for your Brigade pipelines.

kashti-animation


Brigade provides event-driven scripting for Kubernetes. With a simple JavaScript file, you can build elaborate pipelines composed of multiple containers running in parallel or serially. Among other possible applications, Brigade can be used to build highly flexible CI/CD pipelines.

Kashti is a web dashboard for Brigade, helping you easily visualize and inspect your Brigade builds. Kashti gives you a deep view into your Brigade projects, scripts, and jobs.

This repo has a self-hosted demo

Installation and Configuration

Kashti is built atop Brigade. You can read the full Installation Guide to see how to install it into a cluster that already runs Brigade.

Kashti is Experimental

Kashti is in an early stage of development. To get started coding on Kashti, check out the Developer Guide

Contributing

This Brigade project accepts contributions via GitHub pull requests. This document outlines the process to help get your contribution accepted.

Signed commits

A DCO sign-off is required for contributions to repos in the brigadecore org. See the documentation in Brigade's Contributing guide for how this is done.

kashti's People

Contributors

dependabot[bot] avatar disha1104 avatar flynnduism avatar jcscottiii avatar krancour avatar radu-matei avatar saksham93 avatar seanknox avatar technosophos avatar vdice avatar willie-yao avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

kashti's Issues

Improve Scoping

To bubble up low-level info to higher level views in the app, the global templates (nav, dashboard, etc) need access to things like build status, job status, and durations from resources like the BuildController and JobController

resolve error with angular 1.4.2

When @adamreese was running the ui locally, it was throwing the following angular error:

foundation.js:10511 Uncaught Error: [$injector:unpr] Unknown provider: $$forceReflowProvider <- $$forceReflow <- $$animateQueue <- $animate <- $compile <- $$animateQueue
http://errors.angularjs.org/1.4.2/$injector/unpr?p0=%24%24forceReflowProvider%20%3C-%20%24%24forceReflow%20%3C-%20%24%24animateQueue%20%3C-%20%24animate%20%3C-%20%24compile%20%3C-%20%24%24animateQueue
    at foundation.js:6163
    at foundation.js:10359
    at Object.getService [as get] (foundation.js:10506)
    at foundation.js:10364
    at getService (foundation.js:10506)
    at Object.invoke (foundation.js:10538)
    at foundation.js:10365
    at getService (foundation.js:10506)
    at Object.invoke (foundation.js:10538)
    at foundation.js:10365

Specifying angular 1.4.14 avoids this error, but this should be looked into to avoid causing potential headaches for people down the line.

Likely the app.js needs to be reorganized to call angular.module and app.config elements in the correct order.

Job Logs

Access and display log output from Jobs.

/job/id/logs
/task/id/logs

SSL for UI

Make sure that UI can be served via SSL

Expired builds causing 404s

When I browse the UI, i'm getting a bunch of 404s for API endpoints in the console:

e.g.
http://acid-api.technosophos.me:7745/v1/project/01bz3j29xmz4dhs99xahm1q9bh
http://acid-api.technosophos.me:7745/v1/project/01bzzn07g488przds1x7n21p2v
http://acid-api.technosophos.me:7745/v1/project/01bzzmz498aqh18hc7j5erjxmm/builds

I think these are endpoints that did exist, but have expired?

Is there a way the UI / API can know the difference between a build which still has data, and one that has expired? Not for MVC, but important UX for launch, to have better error states.

Configure URL for UI

We need a way to specify the base URL for:

  • the UI itself
  • the API server we attach to

Add Chart

Add a chart to run this as a deployment
Depends on #8

Add Dockerfile

Dockerfile should serve static assets via nginx or suitable alternative.

update user menu

Needs updating to unsquish:

screen shot 2017-11-17 at 9 01 22 am

Should do this after the Oauth work has been addressed.

add empty states

When there are no projects/builds/jobs, the different views within Kashti should reflect that by showing empty state messages

  • state that there are no contents (instead of blank page)
  • advise how to add contents (link to the docs on configuring brigade)

Streaming Logs

Access and display info from active jobs in the UI.
Using the ?stream=true API query.

/job/id/logs
/task/id/logs

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.