Closed oksanagit closed 1 year ago
This is correct, I reverted the changes. Also, perhaps save/restore lines in st.cmd might need to be commented as well, as optional.
The auto_settings.req file should be consistent with the motors that are loaded in the substitions file.
Also, github actions doesn't yet know about iocStats. There are two ways to resolve the github actions build problems:
DEVIOCSTATS
from EXAMPLE_RELEASE.local.DEVIOCSTATS
can be added to .ci-local/modules.set1 is very easy. 2 is likely to also require changes to .ci-local/github-actions/post-prepare.py to properly configure the iocStats module.
Thanks @kmpeters, I will take a look at the second option, and lean smth. Any suggestion how I could test before committing?
I don't know of any way of testing changes to github-actions builds before commiting and pushing them to the branch, which is one of the reasons why it is so painful.
The motor_positions.req lines should be moved to an auto_positions.req file that is only restored in pass 0 and is saved more frequencly than the settings:
I don't know of any way of testing changes to github-actions builds before commiting and pushing them to the branch, which is one of the reasons why it is so painful.
One alternative is to interrupt the GH actions workflow midstream, using tmate
. See this suggestion I keep in the hklpy project repo: https://github.com/bluesky/hklpy/blob/main/.github/tmate.yml
Specifically, this part:
- name: tmate session
uses: mxschmitt/action-tmate@v3
The motor_positions.req lines should be moved to an auto_positions.req file that is only restored in pass 0 and is saved more frequencly than the settings:
An alternative to doing that is to include these lines and let autosave create the .req files for you:
I don't know of any way of testing changes to github-actions builds before commiting and pushing them to the branch, which is one of the reasons why it is so painful.
One alternative is to interrupt the GH actions workflow midstream, using
tmate
. See this suggestion I keep in the hklpy project repo: https://github.com/bluesky/hklpy/blob/main/.github/tmate.yml
@prjemian, can't anyone in the world connect to the tmate session to take over the github-actions build?
@prjemian, can't anyone in the world connect to the tmate session to take over the github-actions build?
I found the answer to my question. Yes they can, but it is possible to restrict access:
https://github.com/marketplace/actions/debugging-with-tmate#use-registered-public-ssh-keys
Thank you Kevin!
Hello, Offering some additions to make motorSmarAct more user friendly. I.e. optional save/restore and iocsStats. We can shrink auto_settings.req and change the names for more generic.