From 8d6679f4cd762b147fcab813b4d6c840c471ff23 Mon Sep 17 00:00:00 2001 From: Giles Knap Date: Fri, 11 Oct 2024 16:14:13 +0100 Subject: [PATCH] now fully working --- services/bl99p-ea-ioc-01/config/ioc.yaml | 2 -- services/bl99p-ea-ioc-01/values.yaml | 10 +++++++++- services/values.yaml | 2 +- 3 files changed, 10 insertions(+), 4 deletions(-) diff --git a/services/bl99p-ea-ioc-01/config/ioc.yaml b/services/bl99p-ea-ioc-01/config/ioc.yaml index a327cb0..a81a087 100644 --- a/services/bl99p-ea-ioc-01/config/ioc.yaml +++ b/services/bl99p-ea-ioc-01/config/ioc.yaml @@ -17,12 +17,10 @@ entities: max_bytes: 9000000 - type: ADAndor3.andor3 - ADDR: 0 BUFFERS: 50000 P: BL99P-EA-DET-01 PORT: ZYLA.CAM R: ":CAM:" SCANRATE: .1 second SET_SDK_ENV: "True" - TIMEOUT: 1 ANDOR_SDK3: /data diff --git a/services/bl99p-ea-ioc-01/values.yaml b/services/bl99p-ea-ioc-01/values.yaml index 79b6395..9034687 100644 --- a/services/bl99p-ea-ioc-01/values.yaml +++ b/services/bl99p-ea-ioc-01/values.yaml @@ -1,6 +1,6 @@ # yaml-language-server: $schema=https://github.com/epics-containers/ec-helm-charts/releases/download/3.4.4/ioc-instance.schema.json#/$defs/service ioc-instance: - image: ghcr.io/epics-containers/ioc-adandor3-runtime:2024.10.1 + image: ghcr.io/epics-containers/ioc-adandor3-runtime:2024.10.2b4 # mount a pvc with the andor3 sdk libraries pvClaims: @@ -23,6 +23,14 @@ ioc-instance: memory: 128Mi diamond.ac.uk/andor3pci: 1 + # these are required to point the andor sdk to the correct location + # must be set in shell environ - not epicsEnvSet + iocEnv: + - name: LD_LIBRARY_PATH + value: /data/prefix/lib + - name: BITFLOW_INSTALL_DIRS + value: /data/hello/prefix/bf + # NOTE: the following are suggestions to help with debugging IOCs # 1. replace the runtime container with the developer version # this adds tools and compilers to the container so you diff --git a/services/values.yaml b/services/values.yaml index 4249561..1e535de 100644 --- a/services/values.yaml +++ b/services/values.yaml @@ -12,4 +12,4 @@ ioc-instance: securityContext: runAsUser: 37993 - runAsGroup: 37993 \ No newline at end of file + runAsGroup: 37993