...
| Code Block | ||||
|---|---|---|---|---|
| ||||
docker run --network=host -v .:/epics/ioc/config -it baltig.infn.it:4567/epics-containers/infn-epics-ioc |
IBEK support and "IBEKisation step"
To allow an easy portability of a IOC (in particular IOC that can run inside containers) once an IOC or support is ready and tested, the next step is the DiamonLightSsource "ibekization". This steps in few words allows to instantiate a general st.cmd with support through a simple YAML file.
1- Add a new support in infn-epics-ioc
Once your IOC has its own GIT project, clone the infn-epics-ioc project that is the project the build the container with all IOC supports for infn.
| Code Block | ||||
|---|---|---|---|---|
| ||||
git clone https://github.com/infn-epics/infn-epics-ioc.git --recurse-submodules |
This project contains the following layout:
| Code Block | ||||
|---|---|---|---|---|
| ||||
├── Dockerfile <-- 2 file where to add the new support
├── Dockerfile.all
├── Dockerfile.base
├── LICENSE
├── README.md
├── build
├── build-base
├── epics-support-template-infn <-- JNJA2 templates for not ibekizable supports
├── ibek-support <-- DLS base ibek-support
├── ibek-support-infn <-- 1 INFN specific ibek supports ADD NEW support HERE
├── ibek-templates <-- 3 JNJA2 templates to generalize, make sophisticated templates and allow parameters to be given
|
To add a support:
1- add a directory in ibek-support-infn/<mynewsupportname>
Deploy on the target EPIK8S
...