Skip to content
This repository has been archived by the owner on Jul 23, 2019. It is now read-only.

gaia-docker/tugbot-result-service

Repository files navigation

tugbot-result-service

CircleCI Go Report Card codecov Docker Docker Image Layers

Tugbot Result Service

Implements Result Service API and exposes websocket which present live stream of test results.

Usage

$ tugbot-result-service help

NAME:
   tugbot-result-service - Implements Result Service API and exposes websocket which present live stream of test results.

USAGE:
   tugbot-result-service [global options] command [command options] [arguments...]

VERSION:
   1.0.0

COMMANDS:
     help, h  Shows a list of commands or help for one command

GLOBAL OPTIONS:
   --port value, -p value   http service port (default: "8080")
   --loglevel value, -l value  log level (default: "debug")
   --help, -h                  show help
   --version, -v               print the version

Run as docker container

docker run -it --name result-service -p 8080:8080 gaiadocker/tugbot-result-service

View live stream

Open http://<result-service-host>:8080.

Test the service using curl

curl -i -X POST http://<result-service-host>:8080/results?mainfile=<file inside tar.gz to echo> -H "Content-Type: application/gzip" --data-binary "@<path to tar.gz file>"

After that you should see the file echoed in the live stream

Releases

No releases published

Packages

No packages published