wiki:StartDaily

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. Alternatively, click on 'Nightly Build' in the menu on the left hand side of the screen, then click 'Run workflow'. A popup will ask what branch; run it for the develop branch.

Last modified 12 months ago Last modified on Oct 11, 2024, 10:16:58 AM

Attachments (1)

Download all attachments as: .zip

Note: See TracWiki for help on using the wiki.