Version 2 (modified by 13 months ago) ( diff ) | ,
---|
How to restart the daily builds
On chimera account on plato.cgl.ucsf.edu run from a bash shell:
/usr/local/etc/periodic/scripts/daily_chimerax_build 2>&1 | cat -v | /usr/bin/Mail -s 'ChimeraX build results' chimera-staff@…
Details from Eric Pettersen
On plato, you need to have the ability to run commands as user "chimera". When I run "sudo -l" on plato, the output includes this line:
(chimera) NOPASSWD: ALL
which indicates that I can do "sudo -u chimera command" without a password. To find the command, I grep /usr/local/etc/periodic/periodic.conf for "chimera", and the output includes this line:
0 2 * * * su chimera -c "/usr/local/etc/periodic/scripts/daily_chimerax_build 2>&1 | cat -v | /usr/bin/Mail -s 'ChimeraX build results' chimera-staff@…"
So I do "sudo -u chimera bash" to get a bash shell as user chimera, and then paste in the command part of what I just grepped (and add '&' to put it in the background).
Restarting GitHub Builds
GitHub builds often fail because the runners cannot contact Plato. This is usually a transient issue. Visit https://github.com/RBVI/ChimeraX/actions and click on the run that failed, then click on 'Re-run jobs' in the top right hand side of the screen.
Attachments (1)
- restart_daily_github_builds.png (118.7 KB ) - added by 13 months ago.
Download all attachments as: .zip