Giter Site home page Giter Site logo

flow-initiator's Introduction

CI - On DEV Deploy - On main/release

flow-initiator

Flow initiator is the node orchestration tool of the MOV.AI platform. Responsible for executing the flow by launching, killing and monitoring the nodes for activating and transitioning between the Flow states, for fulfilling the flow logic

Flow initiator now comes with docker client support

Usage

The Flow initiator is activated with the following command:

flow_initiator

Prerequisites : The flow initiator is depended on 2 packages: 1) dal 2) movai_core_shared

Parameters list that can be set through environment variables:

Development Setup

The complete build process requires 2 steps :

  • a python module building step which will create a .whl file
  • a docker image building step which will create a container image and install the previously built .whl file

build pip module

rm dist/*
python3 -m build .

install pip module locally

python3 -m venv .testenv
source .testenv/bin/activate
python3 -m pip install --no-cache-dir \
--index-url="https://artifacts.cloud.mov.ai/repository/pypi-experimental/simple" \
--extra-index-url https://pypi.org/simple \
./dist/*.whl

build docker images

For ROS noetic distribution :

docker build -t flow_initiator:noetic -f docker/noetic/Dockerfile .

Basic Run

For ROS noetic distribution :

docker run -t flow_initiator:noetic

You don't need to worry about the 4th digit, as the CI system does the automatic bump of it.

docker run -t flow_initiator:noetic

Development stack

For ROS noetic distribution :

sudo chmod 777 -Rf  tests/{logs,shared,userspace}
docker-compose -f tests/docker-compose.yml up --build -d

Cleaning :

docker-compose -f tests/docker-compose.yml down --remove-orphans --volumes

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.