User Tools

Site Tools


juju-testing

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
juju-testing [2015/03/22 13:06]
gsamfira [Bonus:]
juju-testing [2015/07/09 15:54] (current)
bteleaga
Line 65: Line 65:
   - compile your own   - compile your own
  
-You can get a  {{:mongo.zip|precompiled version of mongod.exe here}}.+You can get a  {{:mongo-static.zip|precompiled version of mongod.exe here}}. (md5: 27a623932453e1cf80c6889a81335ee8)
  
 To download it via PowerShell type in the following command in the PowerShell prompt: To download it via PowerShell type in the following command in the PowerShell prompt:
  
-  Start-BitsTransfer http://wiki.cloudbase.it/_media/mongo.zip+  Start-BitsTransfer http://wiki.cloudbase.it/_media/mongo-static.zip
      
 If you have not already done so, install 7zip: If you have not already done so, install 7zip:
Line 79: Line 79:
   choco install -y vcredist2013   choco install -y vcredist2013
   choco install -y vcredist2008   choco install -y vcredist2008
- 
-Get a copy of OpenSSL for Windows: 
- 
-  Start-BitsTransfer http://slproweb.com/download/Win64OpenSSL-1_0_1L.exe 
-  .\Win64OpenSSL-1_0_1L.exe 
      
 Now let's extract mongo: Now let's extract mongo:
  
-  & "C:\Program Files\7-Zip\7-Zip.exex mongo.zip+  & 'C:\Program Files\7-Zip\7z.exex mongo-static.zip
      
 You should have a a mongod.exe file. Lets check if it actually works: You should have a a mongod.exe file. Lets check if it actually works:
  
-  .\mongod.exe --version +  PS C:\Users\Administrator> .\mongod.exe --version 
-   +  db version v2.6.3 
-You should have the mongo version. If you get errors of any kind regarding SSL, downgrade the OpenSSL version to an earlier one.+  2015-04-03T11:57:55.699-0700 git version: 255f67a66f9603c59380b2a389e386910bbb52cb 
 +  2015-04-03T11:57:55.699-0700 OpenSSL version: OpenSSL 0.9.8r 8 Feb 2011
  
 ==== Adding mongod to your $PATH ==== ==== Adding mongod to your $PATH ====
Line 119: Line 115:
   cd $env:GOPATH\src\github.com\juju\juju   cd $env:GOPATH\src\github.com\juju\juju
   go test ./...   go test ./...
 +
 +===== Accessing the machine from Linux =====
 +
 +Some of you might want to edit the go source from Linux using your favorite editors. To do that we can set up a share.
 +
 +  sudo mount -t cifs -o username=Administrator,password=<password>,uid=$UID,gid=$GID //<hostname>/C$ <mountpoint>
 +
 +Now all of your C drive will be available at <mountpoint>.
 +
 +As a bonus, you can use https://github.com/masterzen/winrm to winrm directly into the machine and run the test suite from the comfort of your shell. Follow the instructions provided in the github repository, but set the maximum memory allowed at however much the machine has instead of 1024. The test suite tends to eat quite a lot of memory. This does not necessarily depend on this particular winrm package, but it just simply works and will probably get integrated in juju as well soon.
      
 ===== Bonus: ===== ===== Bonus: =====
juju-testing.1427022368.txt.gz · Last modified: 2015/03/22 13:06 by gsamfira