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

Uploaded Source

Built Distribution

dls_deploy_tools-0.3-py3-none-any.whl (38.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: dls_deploy_tools-0.3.tar.gz
  • Upload date:
  • Size: 38.7 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.3.tar.gz
Algorithm Hash digest
SHA256 ba631053d5cb86c30ff3aa347c1307ded7e0fb5a0d4944a740177bfabff39516
MD5 c5a11e82fcec4931f97eaa24e6fee632
BLAKE2b-256 9a67cb3f10f84c079318bd056421f30682caf39224a82dab4f6d492b8bbd7ba5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dls_deploy_tools-0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 432d11ed16b026daeb0d0c0f7a95d60aa7a036448e5d64ffa3591776a5880726
MD5 fbf23678b8e9db7e6cc1ac5fbed8389e
BLAKE2b-256 a8682e6e58311257cfc9dfaf115de3bfb2eb8e5ea05a436e29888a2d183b3a36

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