-
Notifications
You must be signed in to change notification settings - Fork 5
Testing on the Beamline
Artemis should be regularly tested on the beamline (ideally at least weekly), the ideal way to do this is to:
- Create a PR with the change, tested offline as much as possible
- Get it reviewed and merged to main
- Create a release and deploy it
By keeping to this schedule as much as possible we avoid the GDA issue of having many beamlines with code far away from main and having to merge this all at some point. If the code does not work after testing new issues can be created.
There may be some cases where you're not confident that the code you're working on is correct and you would like to test it on the beamline. This should not be a regular occurrence but in this case you should:
- Switch the production deployment to your code
- Do the testing, making sure you not all the issues sufficiently so you can test them offline
- Switch production back to the release tag
- Get your code merged as soon as possible, ideally within the week
It can sometimes be hard to test on beam off days as GDA has code ensuring there is beam before running Artemis. You can fool GDA into thinking there is beam by running beam_off_trickery.sh
. You must run it again when you are finished testing