DiamondLightSource / i22-bluesky

I22 specific bluesky plans and plan stubs
Apache License 2.0
0 stars 0 forks source link

Small test plan for the pressure cell in isolation #87

Closed stan-dot closed 1 week ago

stan-dot commented 4 months ago

tests https://github.com/DiamondLightSource/dodal/issues/658

stan-dot commented 4 months ago

tagging @barnettwilliam steps to set this up:

  1. get the cluster based on the cloud computing ticket
  2. go to daq-deployments and source the p38/.env file to get the env constants
  3. get into the local k8s CLI with module load $CLUSTER
  4. run .deploy.sh inside daq-deploy to execute the helm command
  5. check if the blueapi url works /docs
  6. make sure maybe ingress point is needed to get the url into DNS
  7. but should work with ip addresss without dns
  8. then make sure blueapi lists the plans from i22-bluesky (loaded in /dls_sw/p38/software/blueapi/scratch)
  9. make sure that dodal is also checked out (at the right branch) in this location
  10. then we have 1 blueapi which loads 2 dodal device and 3 plans
  11. now you can run the new plan with POST /task endpoint. remember that first the plan needs to be visible in the listed plans and you need to call it with the right arguments.
  12. let's just run from the swagger ui for now, let's set aside the GDA interface for later
  13. the plan should test the cell to various pressures and it must return the MsgGenerator type to be listed as a runnable plan
stan-dot commented 3 months ago

In order to pressurise the sample V3 and either V5, or V6, needs to be open

is what I learned, let's try this

stan-dot commented 3 months ago

based on the draft for the whole plan ( https://github.com/DiamondLightSource/i22-bluesky/issues/79#issuecomment-2301649974) , this would be just raising the pressure in the controlllers and then reading back with a different subpart of the cell