ec8d25d5bd0eac0a4f5172603e704106cbf6c66b max Sun Oct 4 06:37:38 2026 -0700 methbase2 otto: ssh to hgdownload as the invoking user, not as qateam, refs #34246 diff --git src/hg/utils/otto/methbase2/methbaseOtto.sh src/hg/utils/otto/methbase2/methbaseOtto.sh index 0fb13240aaf..8229743a1fa 100755 --- src/hg/utils/otto/methbase2/methbaseOtto.sh +++ src/hg/utils/otto/methbase2/methbaseOtto.sh @@ -24,31 +24,31 @@ # # Edit this in the kent tree, then copy it to # /hive/data/outside/otto/methbase2/ - cron runs the hive copy. # # Crontab line for otto, 03:00 on the first of the month: # 0 3 1 * * /hive/data/outside/otto/methbase2/methbaseOtto.sh # # Needs, as the otto user: an ssh key accepted by $DOWNLOAD_HOST, a kent tree at # $KENT whose remote it may push to, and methbaseDownload deployed at # $REMOTE_SCRIPT on hgdownload (it needs python3 with the requests module). set -o errexit -o nounset -o pipefail # hgdownload account and the mirror it serves. The vN directory appears in the # URL too, so bump both together when a new version is cut. -DOWNLOAD_HOST=${DOWNLOAD_HOST:-qateam@hgdownload} +DOWNLOAD_HOST=${DOWNLOAD_HOST:-hgdownload} MIRROR_DIR=${MIRROR_DIR:-/mirrordata/hubs/methbase/v3} MIRROR_URL=${MIRROR_URL:-https://hgdownload.soe.ucsc.edu/hubs/methbase/v3} # methbaseDownload as deployed on hgdownload, not the copy in this directory REMOTE_SCRIPT=${REMOTE_SCRIPT:-/mirrordata/hubs/methbase/methbaseDownload} KENT=${KENT:-$HOME/kent} RA=$KENT/src/hg/makeDb/trackDb/human/hg38/methbase2-subtracks.ra # a subtrack stanza is 8-10 lines, so this is a floor well under any real hub; # it exists to catch a truncated or error-page download, not to police content MIN_LINES=1000 fail() { echo "methbaseOtto.sh: $*" >&2 exit 1