Skip to content

Commit 90438f0

Browse files
authored
Merge pull request #140 from NSLS2/fix-adkinetix
Skip ADKinetix compilation and add verification
2 parents cd6ff8a + fd52738 commit 90438f0

File tree

2 files changed

+41
-0
lines changed

2 files changed

+41
-0
lines changed

roles/device_roles/adkinetix/example.yml renamed to roles/device_roles/adkinetix/examples/kinetix-det1/config.yml

File renamed without changes.
Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
---
2+
# Set to true to skip module compilation (for roles requiring proprietary SDKs)
3+
skip_compilation: true
4+
5+
verification:
6+
files_must_exist:
7+
# Standard IOC boot files (created by deploy_ioc)
8+
- iocBoot/st.cmd
9+
- iocBoot/epicsEnv.cmd
10+
- iocBoot/postInit.cmd
11+
# Role-specific files
12+
- iocBoot/base.cmd
13+
- autosave/req/auto_settings.req
14+
15+
file_must_contain:
16+
iocBoot/st.cmd:
17+
- "iocInit"
18+
iocBoot/base.cmd:
19+
- "dbLoadDatabase"
20+
- "ADKinetixConfig"
21+
- 'dbLoadRecords("$(ADKINETIX)/db/ADKinetix.template", "P=$(PREFIX),R=cam1:,PORT=$(PORT)")' # yamllint disable-line rule:line-length
22+
autosave/req/auto_settings.req:
23+
- "ADKinetix_settings.req"
24+
- "commonPlugin_settings.req"
25+
26+
file_must_not_contain:
27+
iocBoot/st.cmd:
28+
- "{{" # No unrendered jinja
29+
- "}}"
30+
iocBoot/base.cmd:
31+
- "{{"
32+
- "}}"
33+
iocBoot/epicsEnv.cmd:
34+
- "{{"
35+
- "}}"
36+
autosave/req/auto_settings.req:
37+
- "{{"
38+
- "}}"
39+
40+
permissions:
41+
iocBoot/st.cmd: "0775"

0 commit comments

Comments
 (0)