Giter Site home page Giter Site logo

mrnicegyu11 / osparc-deployment-agent Goto Github PK

View Code? Open in Web Editor NEW

This project forked from itisfoundation/osparc-deployment-agent

0.0 0.0 0.0 709 KB

osparc;deployer;auto-deployment

License: MIT License

Dockerfile 2.44% Makefile 7.12% Shell 5.73% Python 84.71%

osparc-deployment-agent's Introduction

Auto-deployment agent

The deployment agent continuously deploy (CD) a docker stack inside a running docker swarm provided a Portainer instance is available.

It is a configurable tool that can monitor any number of git repositories for changes - complete repo or specific files -, generate using a configurable command line call a docker stack file and finally monitor any number of docker repositories referenced by the generated stack file. When changes are detected any number of portainer instances will be updated to (re-)deploy the stack file. Optionally the tool can also send a configurable notification to an external service (currently only Mattermost is supported).

Configuration

A sample configuration file for the auto deployment agent is visible in here.

Deployment

The auto deployment agent may be deployed locally provided a configuration file named deployment_config.yaml is provided at the same level as the Makefile. If none is provided the test-configuration will be automatically copied (which automatically deploys the simcore core platform with some default values).

Run tests locally

make devenv
. .venv/bin/activate
make install-dev
make test-dev-unit

Run system test locally:

## Assuming docker swarm is running
make test-dev-system
docker stack rm deployment-agent

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.