Skip to main content

A set of tools used for deploying applications to a shared filesystem.

Project description

CI Coverage PyPI License

deploy_tools

A set of tools used for deploying applications to a shared filesystem.

This is used for deploying containerised desktop applications to many users who have access to a shared filesystem.

Source https://github.com/DiamondLightSource/deploy-tools
PyPI pip install dls-deploy-tools
Docker docker run ghcr.io/diamondlightsource/deploy-tools:latest
Releases https://github.com/DiamondLightSource/deploy-tools/releases

The demo_configuration folder can be passed as the config_folder to the deploy-tools commands. The deployment_root just needs to be a writeable location for all files to get deployed under.

VSCode configuration has been added to perform the primary functions using defaults that reference locations in the VSCode dev container.

An additional 'Clean deployment' task has been provided to set up the deployment_root correctly. For the moment, this will output everything to a 'demo-output' folder.

deployment_root = /path/to/deployment/root
config_folder = /path/to/config/folder
schema_folder = /path/to/schema/folder

# Generate the schema for configuration yaml files
python -m deploy_tools schema $schema_folder

# Validate the deployment configuration files, also ensuring that the required updates
# are compatible with the previous deployments.
python -m deploy_tools validate $deployment_root $config_folder

# Synchronise the deployment area with the configuration files. This will first run
# validation
python -m deploy_tools sync $deployment_root $config_folder

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

dls_deploy_tools-0.2.tar.gz (38.4 kB view details)

Uploaded Source

Built Distribution

dls_deploy_tools-0.2-py3-none-any.whl (37.7 kB view details)

Uploaded Python 3

File details

Details for the file dls_deploy_tools-0.2.tar.gz.

File metadata

  • Download URL: dls_deploy_tools-0.2.tar.gz
  • Upload date:
  • Size: 38.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.1 CPython/3.12.6

File hashes

Hashes for dls_deploy_tools-0.2.tar.gz
Algorithm Hash digest
SHA256 f6401bcbd9c018997604850aa4f327f69ca4022868556d04a4afd982cccb4c9a
MD5 ab1b484c39d714591ebddd52633f9b3f
BLAKE2b-256 c0a3e72f69bb8805898c5169e640dd5baf4b0508242c260d0460bd84f9720d70

See more details on using hashes here.

File details

Details for the file dls_deploy_tools-0.2-py3-none-any.whl.

File metadata

File hashes

Hashes for dls_deploy_tools-0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 af3232fef7e115d6cb46f3531b74d323a7d8db4e38f4a9507436173be3c9df92
MD5 79a9a84ed05f53f1eea47e4b945c61b4
BLAKE2b-256 670bdae7f02e1441ed28b7de4364e823a8c2d01af479b411bd29c9fd77a016c7

See more details on using hashes here.

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