epics-containers / bl38p Goto Github PK
View Code? Open in Web Editor NEWbeamline repository for BL38P
License: Apache License 2.0
beamline repository for BL38P
License: Apache License 2.0
ec ioc deploy
gets assets direct from the tagged repo.For the first my excuse is 'one day we will have a Tickit sim for all beamline devices and the CI will system test each IOC Instance'
For the second we could put the beamline chart and ioc folders into release assets and have ec ioc deploy
pull them from there. Then you would have to wait for build success before you could deploy a versioned IOC.
BUT that seems a little masochistic to me - I kinda like the speed of versioned IOC deploy and the REAL test always comes on the beamline anyway.
@coretl any thoughts on this?
Switching to epics-containers is a great opportunity to apply some rules to naming conventions for IOCs (maybe).
I propose that we mandate 1 IOC per device as far as possible.
Names are lower case versions of previous ioc naming styles with the same domains (helm only allows lowercase/numeric and '-'). But we drop the 'ioc' in favour of a device description. e.g.
When doing j20 I settled on the following for diagnostic cameras:
https://gitlab.diamond.ac.uk/controls/containers/beamline/bl20j
But I'm conflicted about that. They are actually dcams so perhaps bl20j-di-dcam-02 would do.
However, I chose phgdn because the PV's look like BL20J-DI-PHDGN-02:CAM: ...
This leads me to a problem with trying to set naming conventions.
I can't have all of the above.
@coretl @GDYendell any thoughts on this welcome.
An equivalent to the command `curl -o ~/.local/bin/bl38p https://raw.githubusercontent.com/epics-containers/bl38p/main/environment.sh?token=$(date +%s)' for the DLS gitlab repos should be advised
There are two naming conventions e.g (bl01j and bl01-1) which needs to be highlighted in the readme. EC_K8S_NAMESPACE env variable uses b01-1
The IOC in this beamline repo bl45p-ea-ioc-03 runs as p38detector so that means if you exec a shell in it you get full control of all visit data.
Is this an issue and should we control it in some fashion?
@coretl I believe you discussed this with the cloud team?
At present environment.sh installs itself into ~/.local/bin/bl38p and this works fine.
However, there is no automatic update if the original enviroment.sh is changed - it would be pretty useful to have this facility (but it would come at a slight startup cost probably)
At present bl38p and other domain repos have a great deal of shared code in their helm charts.
This has been convenient for dev but now it's time to factor these out into a helm chart repository. I have started this work here https://github.com/epics-containers/ec-helm-charts/actions/runs/6609481198
I need to work out what the best way to do this is for beamline-chart
Goals are minimum boilerplate in the blxxp and least complicated values.yaml in ioc instance (remembering that docker local deploys read this file too)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.