Skip to main content

Cli utility for deploying packages

Project description

Shipping :ship:

Shipping tests Coverage Status CodeFactor Code style: black

Cli utility for deploying packages.

Idea

To simplify the process of deploying packages on different servers and in different ways. Currently there is support for deploying packages in conda environments, however it is being built with other methods such as containers, poetry etc in mind.

There are two configs in use, one is to describe the host environment and the other will hold specific instructions for a package.

All suggestions are welcome.

Example usage

$cat configs/server1/prod.yaml
---
hostname: computer1
log_file: /logs/production_deploy_log.txt


$cat configs/server1/scout_production.yaml
---
tool: scout
env_name: P_scout
deploy_method: pip

$shipping --host-info configs/server1/prod.yaml deploy --config configs/server1/scout_production.yaml

This command will deploy the tool scout into the conda environment P_scout on the server computer1 and log who deployed what version and when.

There will be different use cases where the deployment process involves restarting a server or installing dependencies with yarn etc that we will support.

Project details


Download files

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

Source Distribution

shipping-0.2.1.tar.gz (9.7 kB view hashes)

Uploaded Source

Built Distribution

shipping-0.2.1-py3-none-any.whl (13.0 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page