| Solaris |
|
|
Build servers have the following tools:
We plan to provide better network name resolution. In the meantime, there are some useful entries in the /etc/hosts file.
72.5.123.5 hg.opensolaris.org 72.5.123.19 cr.opensolaris.org 72.5.123.21 pkg.opensolaris.org 72.5.124.114 dlc.sun.com
The scp (secure copy) command can be used to transfer files to and from the build server:
-bash-3.2$ scp source_code jwalker@132.88.135.75:/bpool/jwalker source_code 100% |*****************************| 576 00:00 -bash-3.2$ scp jwalker@132.88.135.75:/bpool/jwalker/source_code source_code.bak source_code 100% |*****************************| 576 00:00
Once logged in, the curl command can be used to download source and binary files from websites:
jwalker@x4600-010101:~$ curl -O http://dlc.sun.com/osol/on/downloads/current/on-closed-bins.i386.tar.bz2
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 8275k 100 8275k 0 0 825k 0 0:00:10 0:00:10 ~--:~--:~-- 860k
Each user account on the build server has the following properties:
For example:
jwalker@x4600-010101:~$ zfs list
NAME USED AVAIL REFER MOUNTPOINT
bpool 30.8G 237G 38.6K /bpool
bpool/ceri 12.4G 2.57G 12.4G /bpool/ceri
bpool/imp 27.3K 15.0G 27.3K /bpool/imp
bpool/jbk 7.71G 7.29G 7.71G /bpool/jbk
bpool/jimgris 27.3K 15.0G 27.3K /bpool/jimgris
bpool/jwalker 55.9K 15.0G 32.6K /bpool/jwalker
bpool/jwalker@snap1 23.3K - 30.0K -
bpool/jwalker@20081109 0 - 32.6K -
bpool/mgerdts 10.7G 4.31G 10.7G /bpool/mgerdts
bpool/palle 27.3K 15.0G 27.3K /bpool/palle
bpool/swalker 27.3K 15.0G 27.3K /bpool/swalker
jwalker@x4600-010101:~$ zfs allow bpool/jwalker
~-------------------------------------------------------------
Local+Descendent permissions on (bpool/jwalker)
user jwalker
canmount,clone,compression,create,destroy,mount,mountpoint,receive,rename,rollback,send,share,sharenfs,snapshot
~-------------------------------------------------------------
jwalker@x4600-010101:~$ pwd
/bpool/jwalker
jwalker@x4600-010101:~$ ls
testprog.c testresults.out
jwalker@x4600-010101:~$ zfs snapshot bpool/jwalker@20081109
jwalker@x4600-010101:~$ rm *
jwalker@x4600-010101:~$ ls
jwalker@x4600-010101:~$ zfs rollback bpool/jwalker@20081109
jwalker@x4600-010101:~$ ls
testprog.c testresults.out
jwalker@x4600-010101:~$
You will need to add your build server account public ssh key to your opensolaris user profile to update webrev's on cr.opensolaris.org. See cr.opensolaris.org for instructions.
The following enhancements are planned:
Terms of Use
|
Privacy
|
Trademarks
|
Copyright Policy
|
Site Guidelines
|
Site Map
|
Help
Your use of this web site or any of its content or software indicates your agreement to be bound by these Terms of Use.
© 2012, Oracle Corporation and/or its affiliates.