8b749d55d00445992c65433f2029caf0789bc4c6 dschmelt Tue Dec 3 10:13:13 2019 -0800 Adding a few scripts to tracked Dirs #24290 diff --git src/utils/qa/previewUpdate src/utils/qa/previewUpdate new file mode 100755 index 0000000..a4b4950 --- /dev/null +++ src/utils/qa/previewUpdate @@ -0,0 +1,33 @@ +#!bin/bash +# This script does the preparation for and then updates genome preview with Dev CGIs +# Made by Daniel Schmelter 11/21/19' +# Based on http://genomewiki.ucsc.edu/genecats/index.php/Genome-preview_machine +# + +echo "Updating libs, 1/5" +cd ~/kent/src +make -j8 clean > /dev/null +cd ~/kent/src/hg/lib +git pull > /dev/null +make -j8 > /dev/null + +echo "Updating js files, 2/5" +cd ~/kent/src/hg/js +git pull > /dev/null +make -j8 USER=preview > /dev/null + +echo "Updating CSS styles, 3/5" +cd ~/kent/src/hg/htdocs/style +git pull > /dev/null +make -j8 alpha > /dev/null + +echo "Updating CGIs on preview, 4/5" +cd ~/kent/src +git pull > /dev/null +USER=preview make -j8 cgi > /dev/null + +echo "Logging into qateam@hgwdev and running devUpdateToPreview, 5/5" +ssh qateam@hgwdev 'echo "y" | pushDevToPreview' > /dev/null + +echo "The preview update is completed" +echo "https://genome-preview.ucsc.edu/"