Git Product home page Git Product logo

osiris's Introduction

osiris

Build log aggregation API.

About

The Osiris API is build aggregator service which gathers build logs from the OpenShift and stores them into Ceph.

What

It comes accompanied by observer -- OpenShift namespace event watcher which filters build events and triggers appropriate endpoints (see build api schema). The rest is handled by Osiris API.

Osiris API currently gathers build logs only from its own namespace. That is, both api and the observer are in the same namespace and collaborate. (see Future Ideas)

Api

The Osiris API has built in swagger spec along with request / payload examples and query parameter documentation. It is recommended to check it out once the API is deployed to get familiar with the schema.

How to deploy

All YAML templates that are required to deploy Osiris API are present in the openshift directory. Note that templates require proper credentials which are taken from configMap, which has to be deployed first with the right parameter setting.

To list configMap template parameters:

oc process --parameters -f openshift/configMap-template.yaml

To process the tamplate and pass the parameters (oc process -h for more info):

oc process -p <key>=<value> -f openshift/configMap-template.yaml

Alternatively, when the template is already loaded in OpenShift cluster:

oc process -p <key>=<value> osiris-configmap | oc apply -f -


Similiarly for other templates.

Future Ideas

  • It should be possible in the future to deploy Osiris API to a separate namespace and register multiple observers from different namespaces.

  • It should also be possible for observer to pass the build log directly in the request data, so that Osiris API won't need to have access to that namespace.

  • Another possibility is that Osiris API registers observers along with their credentials and use those credentials to access the namespace the observer is in and gather relevant build logs.

osiris's People

Contributors

cermakm avatar fridex avatar goern avatar

Watchers

 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.