Skip to content

Commit

Permalink
restore bl46p-ea-ioc-01
Browse files Browse the repository at this point in the history
  • Loading branch information
gilesknap committed Feb 7, 2024
1 parent 618d8b9 commit 8de9150
Show file tree
Hide file tree
Showing 6 changed files with 66 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .copier-answers.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Changes here will be overwritten by Copier; NEVER EDIT MANUALLY
_commit: 0.1.1
_src_path: gh:epics-containers/ioc-services-template
_commit: 0.1.3b1-1-gdbc35af
_src_path: .
beamline: bl45p
cluster_name: pollux
cluster_namespace: bl45p
Expand Down
2 changes: 1 addition & 1 deletion environment.sh
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ source <(ec --show-completion ${SHELL})
module unload pollux > /dev/null
module load pollux > /dev/null
# set the default namespace for kubectl and helm (for convenience only)
kubectl config set-context --current --namespace=p47-iocs
kubectl config set-context --current --namespace=bl45p
# make sure the user has provided credentials
kubectl version --short

Expand Down
5 changes: 5 additions & 0 deletions helm/configmap/templates/configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,10 @@ metadata:
data:

{{- $configPath := printf "services/%s/config/**" .Release.Name }}

{{- if eq (.Files.Glob $configPath | len) 0 }}
{{- fail (printf "%s %s" "no files found in the ioc instance config folder" $configPath) }}
{{- end }}

# contents of the ioc instance config folder
{{ (.Files.Glob $configPath).AsConfig | indent 2 }}
1 change: 1 addition & 0 deletions services/bl45p-ea-ioc-01/Chart.yaml
53 changes: 53 additions & 0 deletions services/bl45p-ea-ioc-01/config/ioc.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
# yaml-language-server: $schema=https://github.com/epics-containers/ioc-adaravis/releases/download/2024.1.2/ibek.ioc.schema.json

ioc_name: bl45p-ea-ioc-01
description: Sample and overview cameras IOC for BL45P

# Just a comment to force rebuild

entities:
- type: epics.EpicsCaMaxArrayBytes
max_bytes: 6000000

- type: ADAravis.aravisCamera
CLASS: AVT_Mako_G234B
PORT: DET.DET
P: BL45P-EA-MAP-01
R: ":DET:"
ID: 172.23.59.11

- type: ADCore.NDPvaPlugin
PORT: DET.PVA
PVNAME: BL45P-EA-MAP-01:PVA:OUTPUT
P: BL45P-EA-MAP-01
R: ":PVA:"
NDARRAY_PORT: DET.DET

- type: ADCore.NDFileHDF5
PORT: DET.HDF5
P: BL45P-EA-MAP-01
R: ":HDF5:"
NDARRAY_PORT: DET.DET
BLOCK: 1
NDARRAY_ADDR: 0

- type: ADAravis.aravisCamera
CLASS: AVT_Mako_G234B
PORT: DIFF.DET
P: BL45P-EA-DIFF-01
R: ":DET:"
ID: 172.23.59.12
- type: ADCore.NDPvaPlugin
PORT: DIFF.PVA
PVNAME: BL45P-EA-DIFF-01:PVA:OUTPUT
P: BL45P-EA-DIFF-01
R: ":PVA:"
NDARRAY_PORT: DIFF.DET

- type: ADCore.NDFileHDF5
PORT: DIFF.HDF5
P: BL45P-EA-DIFF-01
R: ":HDF5:"
NDARRAY_PORT: DIFF.DET
BLOCK: 1
NDARRAY_ADDR: 0
4 changes: 4 additions & 0 deletions services/bl45p-ea-ioc-01/values.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# latest container image for GigE cameras from the GitHub Container Registry
shared:
ioc-instance:
image: ghcr.io/epics-containers/ioc-adaravis-linux-runtime:2024.1.2

0 comments on commit 8de9150

Please sign in to comment.