-
Notifications
You must be signed in to change notification settings - Fork 25
RRO Mac Testing Plan
Change your Google Chrome settings > Advanced Settings > Downloads > select the check box, "Ask me where to save each file before downloading"
^^ The above is super important ^^
Now in Jenkins, make sure you click on the actual build you want to test:
example:
http://jenkins.mran.io:8080/view/RRO/view/RRO-8.0.1.beta/view/build-binaries/job/RRO-OSX-build-8.0.1.beta/26/
DO NOT click "Last successful artifact from the overview page". Always choose the actual build you want to test.
Click on the .pkg artifact (the installer)
Chrome should now ask you where you want to download all files
If not, cancel your download, and go back to Chrome settings. In Advanced, under Downloads section, select "clear auto-opening settings"
In Chrome create a new directory for each build of an installer you download, based on platform, Mac in this example:
Example:
/Users/chris/Downloads/RRO
/Users/chris/Downloads/RRO/Mac/build-27
/Users/chris/Downloads/RRO/Mac/build-27/RRO-8.0.1-Beta-OSX.pkg
Note - the new Folder button is on the bottom left side of the pop up window in Chrome.
After the .pkg installer download has completed move on the verifying the hash of the file.
-
Open up a terminal window type in
shasum
and then press the space bar. -
Open up Finder to the correct RRO build number directory.
With your mouse, drag the RRO installer .pkg file into the terminal window where you have just typedshasum
.
The terminal will auto complete the full path to the file.
Now press enter in the terminal.
The hash will compute, make a note of it in the directory: e.g.
shasum /Users/chris/Downloads/RRO/build-26/RRO-8.0.1-Beta-OSX.pkg > /Users/chris/Downloads/RRO/build-26/RRO-8.0.1-Beta-OSX.pkg-build26.sha1
Example output:
cat /Users/chris/Downloads/RRO/build-26/RRO-8.0.1-Beta-OSX.pkg-build26.sha1`
6a20c162e4ecdcb4b63a1074f447db5189f57f39 /Users/chris/Downloads/RRO/build-26/RRO-8.0.1-Beta-OSX.pkg
sudo rm -rf /Applications/Revolution\ R\ Open.app/
sudo rm -rf /Library/Frameworks/R.framework
sudo rm -rf /Library/Frameworks/RRO.framework
sudo rm /usr/bin/R
sudo rm /usr/bin/Rscript
In Finder, open up the build number directory you just created.
/Users/chris/Downloads/RRO/Mac/build-27
Run the installer in the build directory:
RRO-8.0.1-Beta-OSX.pkg