genxnetwork / tesk-core

Python code that is launched as images into the Kubernetes cluster by tesk-api.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Build Status codecov

Introduction

This project is part of the TESK initiative. It contains the code needed to generate 2 types of agents that reside in kubernetes:

  • The taskmaster, which spins up the containers needed to complete tasks as defined by TESK
  • The filer, which populates volumes and input files and uploads output files

How to use

Since the code is meant to be in kubernetes pods, the code needs to be packaged into containers. Their descriptions can be found in containers/. The root folder assumed to build the containers is the root of this package.

Unit testing

Unit testing needs the tox package. This software will take care of creating virtual environments and installing dependencies in them before running the actual tests and generating the coverage reports.

$ tox

About

Python code that is launched as images into the Kubernetes cluster by tesk-api.

License:Apache License 2.0


Languages

Language:Python 98.4%Language:Dockerfile 1.0%Language:Shell 0.6%