File tree Expand file tree Collapse file tree 2 files changed +38
-0
lines changed Expand file tree Collapse file tree 2 files changed +38
-0
lines changed Original file line number Diff line number Diff line change
1
+ Updating and Testing ibek-defs
2
+ ==============================
3
+
4
+ TODO: this is draft
5
+ TODO: this uses a Diamond internal repo as an example
6
+
7
+ The ibek-defs repository contains ibek support yaml. Here is an example
8
+ procedure for local testing of changes to support yaml in ibek-defs
9
+ along side IOC yaml that uses it.
10
+
11
+ (Suggest you do this inside a dev-e7 workspace devcontainer)
12
+
13
+ .. code-block :: bash
14
+
15
+ cd my-workspace-folder
16
+
17
+ # clone ibek-defs
18
+ git clone [email protected] :epics-containers/ibek-defs.git
19
+ # clone an example domain repo with example IOC yaml
20
+ git clone [email protected] :controls/containers/accelerator/acc-psc.git
21
+
22
+ # get latest ibek installed
23
+ pip install ibek
24
+
25
+ cd acc-psc/iocs/sr25a-ioc-01
26
+ ibek build-startup config/ioc.boot.yaml ../../../ibek-defs/* /* .yaml
27
+
28
+ This will get ibek generate a startup script and database generation script
29
+ in the config folder. It uses config/ioc.boot.yaml as the description of
30
+ the IOC 'entities' to instantiate and all of the support yaml files
31
+ in ibek-defs as a source of the definitions of the classes of entities
32
+ available.
33
+
34
+ The example currently uses the timingtemplates definitions only.
35
+
36
+ Note that at present ibek generates a script of msi invocations instead
37
+ of a substitution file. This will be changed in the future.
Original file line number Diff line number Diff line change @@ -42,6 +42,7 @@ side-bar.
42
42
how-to/own_tools
43
43
how-to/useful_k8s
44
44
how-to/update_templated
45
+ how-to/ibek-defs
45
46
46
47
+++
47
48
You can’t perform that action at this time.
0 commit comments