跳转到主要内容

EPICS和Kubernetes的IOC构建器

项目描述

ibek: EPICS和Kubernetes的IOC构建器

Code CI Docs CI Test Coverage Latest PyPI version black Apache License

此工具支持为通用EPICS IOC构建容器镜像,并在容器运行时从这些通用IOC生成IOC实例。它针对在Kubernetes中运行IOC,但它创建的镜像可以在任何容器运行时中执行,例如docker或podman。

PyPI

pip install ibek

源代码

https://github.com/epics-containers/ibek

文档

https://epics-containers.github.io/ibek

发布

https://github.com/epics-containers/ibek/releases

更新:版本2.0.0

自1.8.0版本以来,已发生一些重大更改。这些更改主要是为了支持RTEMS交叉编译IOC。但我们还借此机会澄清了CLI。

所有更改都与ibek-support的2.0.0版本和所有其他epics-containers仓库的3.4.0版本兼容。当使用ioc-template 3.4.0更新您的通用IOC时,请确保还更新ibek-support子模块到2.0.0或更高版本,然后您应该拥有所有兼容版本。


文档仍在建设中。目前,最好的阅读页面如下

ibek 的命令行界面如下。最新版本可以通过运行 ibek --help 获取。

[container][~]$ ibek --help
Usage: ibek [OPTIONS] COMMAND [ARGS]...

  IOC Builder for EPICS and Kubernetes

  Provides support for building generic EPICS IOC container images and for
  running IOC instances in a Kubernetes cluster.

Options:
  --version                       Print the version of ibek and exit
  --install-completion [bash|zsh|fish|powershell|pwsh]
                                  Install completion for the specified shell.
  --show-completion [bash|zsh|fish|powershell|pwsh]
                                  Show completion for the specified shell, to
                                  copy it or customize the installation.
  --help                          Show this message and exit.

Commands:
  support  Commands for building support modules during container build
  ioc      Commands for building generic IOCs during container build
  runtime  Commands for building IOC instance startup files at container...
[container][~]$ ibek support --help
Usage: ibek support [OPTIONS] COMMAND [ARGS]...

  Commands for building support modules during container build

Options:
  --help  Show this message and exit.

Commands:
  apt-install         Install debian packages into the container.
  git-clone           clone a support module from a remote repository
  register            prepare the configure RELEASE files to build a...
  add-libs            declare the libraries for this support module for...
  add-dbds            declare the dbd files for this support module for...
  add-release-macro   add or replace a macro the global RELEASE file
  add-config-macro    add or replace a macro in...
  add-to-config-site  add some text to a support module's CONFIG_SITE file
  compile             compile a support module after preparation with...
  generate-links      generate symlinks to the bob, pvi and support YAML...
  generate-schema     Produce JSON global schema for all...
[container][~]$ ibek ioc --help
Usage: ibek ioc [OPTIONS] COMMAND [ARGS]...

  Commands for building generic IOCs during container build

Options:
  --help  Show this message and exit.

Commands:
  build-docker            EXPERIMENTAL: Attempt to interpret the...
  generate-schema         Create a json schema from a number of...
  extract-runtime-assets  Find all the runtime assets in an EPICS...
  make-source-template    Create a new IOC boilerplate source tree in the...
  generate-makefile       get the dbd and lib files from all support...
  compile                 Compile a generic IOC after support modules are...
  build                   A convenience function that calls...
[container][~]$ ibek runtime --help
Usage: ibek runtime [OPTIONS] COMMAND [ARGS]...

  Commands for building IOC instance startup files at container runtime

Options:
  --help  Show this message and exit.

Commands:
  generate  Build a startup script for an IOC instance

有关最新文档,请参阅 https://epics-containers.github.io/ibek

项目详情


发布历史 发布通知 | RSS 源

下载文件

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

源分发

ibek-3.1.0.tar.gz (141.5 kB 查看哈希值)

上传时间

构建分发

ibek-3.1.0-py3-none-any.whl (46.3 kB 查看哈希值)

上传时间 Python 3

支持者