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
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.1.tar.gz (37.4 kB view details)

Uploaded Source

Built Distribution

dls_deploy_tools-0.1-py3-none-any.whl (37.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: dls_deploy_tools-0.1.tar.gz
  • Upload date:
  • Size: 37.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.0 CPython/3.12.5

File hashes

Hashes for dls_deploy_tools-0.1.tar.gz
Algorithm Hash digest
SHA256 c72a186290057ed5197c20a3426ccf07a3d2df8959992e9521469f4562f72be0
MD5 ddf96c752236e04d79fb42d2b2dfefb8
BLAKE2b-256 a01b4150751ab3f8f1249b693e19d29aa124476314cda98eadd272c70850d4a0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dls_deploy_tools-0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 0d43582a1f81552921c0edae9f5f2c1ffa0630a8789063ec4e46ccba153d7dde
MD5 e09a7ca8ebbdf2f5076e0509b7577338
BLAKE2b-256 2c292e0534b002aa4a1b76fa7459975ba5d6c8688e7d14f9c63a478ab4ece1ad

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