Skip to main content
Join the official 2019 Python Developers SurveyStart the survey!

Python 3 compatible remote task runner

Project description

remoter

https://img.shields.io/pypi/v/remoter.svg https://img.shields.io/travis/levchik/remoter.svg Documentation Status Updates

Python 3 compatible remote task runner

Usage

$ pip instal remoter $ vi remoter.yml $ remoter tasks run

Config

It consists of two main parts: servers and tasks. In the servers section you define hosts with the auth credentials for SSH connection. In the tasks section you define sequence of tasks to be performed for each server.

Example of what updating a docker-compose django service might look like:

servers:
test1:
host: “127.0.0.1” port: 22 username: “docker” password: “docker”
tasks:
test1:
  • “docker-compose stop”
  • “git pull origin master”
  • “docker-compose run –rm python manage.py migrate”
  • “docker-compose up -d”

Roadmap

Future plans and tasks are in kanban-like projects here:

https://github.com/levchik/remoter/projects

Development in docker

Build

$ docker build -t remoter:latest .

Run tests

$ docker run –rm -it -v $(pwd):/code remoter:latest make test

Run cli

$ docker run –rm -it -v $(pwd):/code remoter:latest python -m remoter.cli

Credits

Implemenetation of test SSH server was taken from https://github.com/carletes/mock-ssh-server

This package was created with Cookiecutter and the audreyr/cookiecutter-pypackage project template.

History

0.1.0 (2017-01-18)

  • First release on PyPI.

0.1.1 (2017-01-18)

  • Messing around with the services CI/check deps/pypi, etc…

0.1.2 (2017-01-18)

  • Added twine for easier uploading.
  • Updated all packages based on pyup

0.1.3 (2017-01-24)

  • Added ability to invoke basic functionality of task runner (tasks run)
  • Added option to specify config file via –file
  • Test SSH server is now invoked in tests via py.test fixture
  • Updated README
  • Updated packages based on pyup

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for remoter, version 0.1.3
Filename, size File type Python version Upload date Hashes
Filename, size remoter-0.1.3.tar.gz (16.6 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page