Giter Site home page Giter Site logo

che-inspector's Introduction

Che-Inspector

Cli solution written in golang using cobra to allow running tests in any container platform.

Specifications

  • An instrumented cli with cobra
  • Structured logging with logrus.
  • Use client-go to talk with kubernetes API Server.
  • Use docker-sdk to talk with docker socket to create test containers.
  • Collect artifacts from test containers
  • Send test results to slack. WORK IN PROGRESS

Setup

A proper setup Go workspace using Go 1.13+ is required.

Install dependencies:

# Install dependencies
$ go mod tidy
# Copy the dependencies to vendor folder
$ go mod vendor
# Create che-inspector binary in bin folder. Please add the binary to the path or just execute ./bin/che-inspector
$ make build

Installation

Linux

# Get Operating system and arch to get the right release binaries from github
export ARCH=$(case $(arch) in x86_64) echo -n amd64 ;; aarch64) echo -n arm64 ;; *) echo -n $(arch) ;; esac)
export OS=$(uname | awk '{print tolower($0)}')

# Download the binaries and add che-inspector to /usr/local/bin
export CHE_INSPECTOR_URL=https://github.com/flacatus/che-inspector/releases/latest/download
curl -LO ${CHE_INSPECTOR_URL}/$OS-$ARCH-che-inspector
chmod +x $OS-$ARCH-che-inspector && sudo mv $OS-$ARCH-che-inspector /usr/local/bin/che-inspector

Che-inspector binary

Run tests using samples

In samples directory exists some Eclipse Che QE samples which can be run with the che-inspector cli

Run tests.

che-inspector run --file=samples/happy-path.yaml

Config file tests spec

Work in progress

che-inspector's People

Contributors

flacatus avatar

Watchers

 avatar  avatar  avatar  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.