跳至主要内容

一套用于将应用程序部署到共享文件系统的工具。

项目描述

CI Coverage PyPI License

deploy_tools

一套用于将应用程序部署到共享文件系统的工具。

这是用于将容器化桌面应用程序部署到具有共享文件系统访问权限的许多用户的工具。

源代码 https://github.com/DiamondLightSource/deploy-tools
PyPI pip安装dls-deploy-tools
Docker docker run ghcr.io/diamondlightsource/deploy-tools:latest
发布 https://github.com/DiamondLightSource/deploy-tools/releases

可以将demo_configuration文件夹作为config_folder传递给deploy-tools命令。部署_root只需要是一个可写位置,以便所有文件都可以部署。

已添加VSCode配置以使用默认值执行主要功能,这些默认值引用VSCode开发容器的位置。

还提供了一项名为“清洁部署”的附加任务,以正确设置deployment_root。目前,这将输出所有内容到“demo-output”文件夹。

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

项目详情


下载文件

下载您平台所需的文件。如果您不确定选择哪个,请了解更多关于 安装包 的信息。

源分布

dls_deploy_tools-0.3.tar.gz (38.7 kB 查看哈希值)

上传时间

构建分布

dls_deploy_tools-0.3-py3-none-any.whl (38.3 kB 查看哈希值)

上传时间 Python 3

由以下机构支持