Coder Social home page Coder Social logo

luis-sousa-pinto / testkube-dashboard Goto Github PK

View Code? Open in Web Editor NEW

This project forked from kubeshop/testkube-dashboard

0.0 0.0 0.0 11.49 MB

Dashboard for viewing real-time TestKube results

Home Page: https://testkube-dashboard-nine.vercel.app

License: MIT License

Shell 0.09% JavaScript 1.07% TypeScript 98.01% Makefile 0.01% HTML 0.31% Dockerfile 0.16% Less 0.35%

testkube-dashboard's Introduction

TestKube Dashboard

Build Status Tests Status Docker Status

A simple read-only dashboard for real-time TestKube results.

The TestKube Dashboard is deployed as a standalone web application in a cluster running TestKube. It runs in the browser and communicates with the TestKube api-server via an Ingress controller (either provided or bundled):

img.png

Available operations for the api-server are in its OpenAPI Definition

Development setup

During development one can bypass the Ingress and interact with the api-server directly:

kubectl-testkube dashboard

(here we're exposing the testkube-api-server running in the TestKube namespace on port 8080 locally)

img.png

Packaging / Running under Docker

Package this into a Docker image using the provided Dockerfile with

docker build -t kubeshop/testkube-dashboard .

Run locally on port 3001 with

docker run -it -p 3001:80 kubeshop/testkube-dashboard:latest

Deploying under Kubernetes

Push to DockerHub

docker push testkube/testkube-dashboard

Deploy the included manifest to your cluster:

kubectl apply -f manifests/deployment.yaml

Access using port-forwarding :

kubectl port-forward service/testkube-dashboard 8080:80

(this example forwards on port 8080)

Quick start

This project was bootstrapped with Create React App, using the Redux and Redux Toolkit template.

Eslint/Prettier/Husky/Craco/etc configuration was copied from Monokle project

In order to be able to run this application locally without docker, just close this repo and then let the magic start :fireworks: :tada:

git clone [email protected]:kubeshop/testkube-dashboard.git && cd kubetest-dashboard
npm install
npm run start

To be able to run the application with mocked data, you just need to switch commands and use:

npm run start:mock-app

After this, you should get an open navigator with the link: http://localhost:3000/.

Commands:

Command description
npm run lint lint project
npm run lintfix fix lint of the project
npm run stylelint fix styles of the project
npm run start start the app
npm run test run test of the app
npm run test:watch watch jest test
npm run test:coverage run test coverage
npm run test:update run coverage update
npm run build build the app under build folder

Deployment application

If you want to see a live demo, the last release is automatically deployed ๐Ÿ”— demo.testkube.io, while the latest changes from the develop branch are available on ๐Ÿ”— dev.testkube.io.

testkube-dashboard's People

Contributors

hamzahsn avatar rangoo94 avatar toxer10 avatar pavloburchak avatar dependabot[bot] avatar ypoplavs avatar olensmar avatar eduardivanov22 avatar exu avatar haneabogdan avatar tkonieczny avatar punksage avatar fivenp avatar aabedraba avatar nicufk avatar fog1985 avatar ahmedimf1 avatar kamilkrampa avatar vlia avatar povilasv avatar pravesh-sudha avatar ssmiller25 avatar vsukhin avatar

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.