-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
make start.sh work with new framework
- Loading branch information
Showing
7 changed files
with
123 additions
and
59 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,25 @@ | ||
#!/bin/bash | ||
|
||
# set up the environment and run the CI build script locally | ||
# to test changes before pushing to github | ||
|
||
set -xe | ||
|
||
THIS_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )" | ||
THIS_DIR=$(dirname ${0}) | ||
|
||
# this function inferrs the repository from the git remote | ||
function get_repository() { | ||
REPOSITORY=$(git remote -v | tail -1) | ||
|
||
echo ' | ||
import re | ||
repo_only = re.sub(r".*github.com[:/](.*)[.]git.*", r"\1", "'${REPOSITORY}'") | ||
print(repo_only) | ||
' | python3 | ||
} | ||
|
||
export REPOSITORY=$(get_repository) | ||
export TAG=${TAG:-local} | ||
export DOCKER=podman | ||
|
||
./.github/workflows/build.sh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,62 @@ | ||
# yaml-language-server: $schema=https://github.com/epics-containers/ioc-adaravis/releases/download/23.9.1/adaravis.ibek.ioc.schema.json | ||
|
||
ioc_name: bl45p-ea-ioc-01 | ||
description: Sample and overview cameras IOC for BL45P | ||
generic_ioc_image: ghcr.io/epics-containers/ioc-adaravis-linux-runtime:23.9.1 | ||
|
||
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 | ||
PV_ALIAS: "0" # TODO this ARG should have default | ||
|
||
- type: ADCore.NDPvaPlugin | ||
PORT: DET.PVA | ||
PVNAME: BL45P-EA-MAP-01:PVA:OUTPUT | ||
P: BL45P-EA-MAP-01 | ||
R: ":PVA:" | ||
NDARRAY_PORT: DET.DET | ||
BLOCK: 1 # TODO remaining ARGS should have defaults | ||
PRIORITY: 0 | ||
STACKSIZE: 0 | ||
NDARRAY_ADDR: 0 | ||
|
||
- 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 | ||
PV_ALIAS: "0" | ||
- type: ADCore.NDPvaPlugin | ||
PORT: DIFF.PVA | ||
PVNAME: BL45P-EA-DIFF-01:PVA:OUTPUT | ||
P: BL45P-EA-DIFF-01 | ||
R: ":PVA:" | ||
NDARRAY_PORT: DIFF.DET | ||
BLOCK: 1 | ||
PRIORITY: 0 | ||
STACKSIZE: 0 | ||
NDARRAY_ADDR: 0 | ||
|
||
- type: ADCore.NDFileHDF5 | ||
PORT: DIFF.HDF5 | ||
P: BL45P-EA-DIFF-01 | ||
R: ":HDF5:" | ||
NDARRAY_PORT: DIFF.DET | ||
BLOCK: 1 | ||
NDARRAY_ADDR: 0 |
Submodule ibek-support
updated
4 files
+4 −0 | .github/workflows/buiild.yml | |
+101 −102 | ADAravis/ADAravis.ibek.support.yaml | |
+44 −0 | tests/ioc.yaml | |
+13 −0 | tests/test_ioc_generate.sh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters