FreeBSD Slave.txt 5.59 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26
== Setup of a FreeBSD 11 Host:

-- Install FreeBSD 11 from their website as usual

-- Necessary Changes to make:

- Setup make.conf:
        DEFAULT_VERSIONS=       python=3.5

- Install the list of General Dependencies below

- Follow the pkg-message instructions, mostly:
  - Ignore trousers instructions about tcsd (TPM support)
  - add fdescfs and procfs in /etc/fstab
        fdesc   /dev/fd         fdescfs         rw      0       0
        proc    /proc           procfs          rw      0       0
  - portsnap fetch extract update
  - Build the list of Python ports below, since there's no packages corresponding to the Python 3.5 version.

- Create a user called 'jenkins'
  - The home directory should be at /usr/home/jenkins/
  - Create a SSH Key for them, and place it at Keys/<environment>.key
  - Add that SSH Key to the master for upload access to that environment
  - Grant the below SSH Key access to the user (~/.ssh/authorized_keys)
  - Ensure ~/archives/ exists

27 28 29
- Make sure D-Bus is kept happy:
  - Run: dbus-uuidgen > /etc/machine-id

30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403
- Add the machine as a fixed slave on Jenkins
  - Use the label "FreeBSDQt5.7"

-- SSH Key to Authorise for Access

ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDUpY45Xv6cQT+xGCUKyjHO4emSOp/oYJ8yeMvJOsiPdjBKjtMIfVFqFbrq1AmdlTkosAfCISLW+bI9CLtCcyIJBTNR8Gn2ituniZdqO+98eqHBO/jx9732Mowh7Slv7y8Yt5BV9VVioTesGp/efny4pq1y8Vshz/ir8fUS0l3GfAUjbDqgFQzoK9MgqAa/auU2XEMweYNOf9WGDf0BGYySPjv7BtZgEcmh6bOsB4EPuhLIbIzppTdguaSBWVIFtRLqMPOzepxbH8OavTiG5qq2OZMNQ3QqQQPuj9Gjs3jFYLGQLGB7yMYRsZJsULZgDL+u0BDyudlPnHKX19Rd0KDx sandbox@nellie

-- Python 3 Ports to Install:

*/py-Babel
devel/py-Jinja2
textproc/py-MarkupSafe
textproc/py-alabaster
devel/py-cffi
security/py-cryptography
textproc/py-docutils
security/py-ecdsa
dns/py-idna
graphics/py-imagesize
devel/py-lxml
security/py-paramiko
devel/py-pip
devel/py-pyasn1
devel/py-pycparser
textproc/py-pygments
textproc/py-pystemmer
devel/py-pytz
devel/py35-setuptools
devel/py-six
textproc/py-snowballstemmer
textproc/py-sphinx
textproc/py-sphinx_rtd_theme
devel/py-yaml

-- General Dependencies to Install:

ImageMagick
alsa-lib
apr
arping
assimp
atk
avahi-app
avahi-autoipd
bash
bison
boost-libs
ca_root_nss
cairo
cmake
cmake-modules
compositeproto
cups
curl
cvsps
damageproto
db5
dbus
dbus-glib
dejavu
desktop-file-utils
dialog4ports
docbook
docbook-sgml
docbook-xml
docbook-xsl
dri
dri2proto
encodings
expat
faad2
ffmpeg
fftw3
firebird25-client
fixesproto
flac
font-bh-ttf
font-misc-ethiopic
font-misc-meltho
font-util
fontcacheproto
fontconfig
fontsproto
freetds
freetype2
gbm
gdbm
gdk-pixbuf2
gettext
gettext-runtime
gettext-tools
ghostscript9-agpl-base
ghostscript9-agpl-x11
giflib
git
glib
glproto
gmake
gmp
gnome_subr
gnutls
gobject-introspection
gperf
graphite2
gsfonts
gstreamer1
gstreamer1-plugins
gstreamer1-plugins-bad
gtk-update-icon-cache
harfbuzz
hicolor-icon-theme
htop
icu
indexinfo
inputproto
iso-codes
iso8879
jasper
java-zoneinfo
javavmwrapper
jbig2dec
jbigkit
jpeg-turbo
jsoncpp
kbproto
lcms
lcms2
leveldb
libEGL
libGL
libGLU
libICE
libSM
libX11
libXau
libXcomposite
libXcursor
libXdamage
libXdmcp
libXext
libXfixes
libXfont
libXfont2
libXfontcache
libXft
libXi
libXinerama
libXmu
libXrandr
libXrender
libXt
libXtst
libXv
libXvMC
libXxf86vm
liba52
libarchive
libcddb
libcroco
libdaemon
libdca
libdevq
libdmtx
libdrm
libdvbpsi
libdvdnav
libdvdread
libebml
libedit
libepoll-shim
libevent
libffi
libfontenc
libfpx
libgcrypt
libglapi
libgpg-error
libgsf
libiconv
libidn
liblqr-1
libltdl
liblz4
libmad
libmatroska
libmng
libmpeg2
libnet
libnghttp2
libogg
libpaper
libpciaccess
libproxy
libpthread-stubs
libqrencode
librsvg2
libsamplerate
libsndfile
libtasn1
libtheora
libunistring
libunwind
libuv
libv4l
libva
libvdpau
libvorbis
libvpx
libwmf
libx264
libxcb
libxkbcommon
libxkbfile
libxml2
libxshmfence
libxslt
liveMedia
llvm39
lmdb
lsof
lua52
lzo2
m4
mkfontdir
mkfontscale
mysql56-client
nettle
nspr
opencv2-core
openjdk8-jre
openjpeg
opus
orc
p11-kit
p5-Authen-SASL
p5-Digest-HMAC
p5-Error
p5-GSSAPI
p5-URI
p5-URI-Escape-JavaScript
p5-URI-Escape-XS
pango
pciids
pcre
perl5
pixman
pkg
pkgconf
png
polkit
polkit-qt5
postgresql93-client
python2
python27
python3
python35
qt5
qt5-3d
qt5-assistant
qt5-buildtools
qt5-canvas3d
qt5-charts
qt5-concurrent
qt5-connectivity
qt5-core
qt5-datavis3d
qt5-dbus
qt5-declarative
qt5-declarative-render2d
qt5-designer
qt5-doc
qt5-examples
qt5-gamepad
qt5-graphicaleffects
qt5-gui
qt5-help
qt5-imageformats
qt5-l10n
qt5-linguist
qt5-linguisttools
qt5-location
qt5-multimedia
qt5-network
qt5-opengl
qt5-pixeltool
qt5-printsupport
qt5-qdbus
qt5-qdbusviewer
qt5-qdoc
qt5-qdoc-data
qt5-qev
qt5-qmake
qt5-qml
qt5-qtpaths
qt5-quick
qt5-quickcontrols
qt5-quickcontrols2
qt5-script
qt5-scripttools
qt5-scxml
qt5-sensors
qt5-serialbus
qt5-serialport
qt5-sql
qt5-sqldrivers-ibase
qt5-sqldrivers-mysql
qt5-sqldrivers-odbc
qt5-sqldrivers-pgsql
qt5-sqldrivers-sqlite2
qt5-sqldrivers-sqlite3
qt5-sqldrivers-tds
qt5-svg
qt5-testlib
qt5-uiplugin
qt5-uitools
qt5-virtualkeyboard
qt5-webchannel
qt5-webkit
qt5-websockets
qt5-widgets
qt5-x11extras
qt5-xml
qt5-xmlpatterns
qtchooser
randrproto
readline
recordproto
renderproto
rsync
schroedinger
sdocbook-xml
serf
shared-mime-info
snappy
speex
speexdsp
spidermonkey170
sqlite
sqlite3
subversion
sudo-1.8.19p2
svgalib
taglib
tiff
tpm-emulator
trousers
twolame
unixODBC
v4l_compat
videoproto
vim-lite
vlc
wayland
webp
x265
xcb-util
xcb-util-image
xcb-util-keysyms
xcb-util-renderutil
xcb-util-wm
xdg-utils
xextproto
xf86vidmodeproto
xineramaproto
xkbcomp
xkeyboard-config
xmlcatmgr
xmlcharent
xorg-fonts-truetype
xorg-vfbserver
xprop
xproto
xset
xvid
Ben Cooksley's avatar
Ben Cooksley committed
404
grantlee5
Ben Cooksley's avatar
Ben Cooksley committed
405
xapian-core
406
libpwquality
407
gtk3
408
gtk2
409
libepoxy
Ben Cooksley's avatar
Ben Cooksley committed
410
gconf2
Ben Cooksley's avatar
Ben Cooksley committed
411 412
pulseaudio
libcanberra
Ben Cooksley's avatar
Ben Cooksley committed
413
xcb-util-cursor
414
openbox
Ben Cooksley's avatar
Ben Cooksley committed
415
fdupes