Skip to content

Latest commit

 

History

History
49 lines (33 loc) · 1.48 KB

File metadata and controls

49 lines (33 loc) · 1.48 KB

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.

To build the taskmaster container, run:

docker build . -f containers/taskmaster.Dockerfile -t taskmaster:latest

The command is similar for the filer container:

docker build . -f containers/filer.Dockerfile -t filer:latest

Unit testing

Unit testing needs the tox package.

You can install the package using uv:

uv install tox

To install different python versions using uv, you can type:

uv python install 3.10 3.11 3.12

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

$ uv run tox