summaryrefslogtreecommitdiff
path: root/continuous_integration/freebsd_setup.mdwn
diff options
context:
space:
mode:
authorVincent Sanders <vince@kyllikki.org>2017-09-18 23:01:51 +0100
committerVincent Sanders <vince@kyllikki.org>2017-09-18 23:01:51 +0100
commit2d19faf6b60835ac1a0decab6725c0d08d44669a (patch)
treedaeaf4864cc7b7caeb843d4d436922b2eab5c866 /continuous_integration/freebsd_setup.mdwn
parent15cdd4abc5068576406f6566e3d3c1666a2dc5c1 (diff)
downloadnetsurf-wiki-2d19faf6b60835ac1a0decab6725c0d08d44669a.tar.gz
netsurf-wiki-2d19faf6b60835ac1a0decab6725c0d08d44669a.tar.bz2
update bsd install instructions
Diffstat (limited to 'continuous_integration/freebsd_setup.mdwn')
-rw-r--r--continuous_integration/freebsd_setup.mdwn75
1 files changed, 55 insertions, 20 deletions
diff --git a/continuous_integration/freebsd_setup.mdwn b/continuous_integration/freebsd_setup.mdwn
index d2bde05..41a2731 100644
--- a/continuous_integration/freebsd_setup.mdwn
+++ b/continuous_integration/freebsd_setup.mdwn
@@ -5,6 +5,41 @@
[[!toc]]
+Manual setup of FreeBSD 11.1
+----------------------------
+
+as per 10.1
+
+login as jenkins user
+
+download slave jar
+
+ curl -o slave.jar http://ci.netsurf-browser.org/jenkins/jnlpJars/slave.jar
+
+create jenkins slave script
+
+ cat << EOF > jenkins-slave.sh
+ #!/bin/sh
+
+ PATH=$PATH:/usr/local/jdk-1.8.0/bin/
+
+ export PATH
+
+ java -Djava.awt.headless=true -jar slave.jar -jnlpUrl http://ci.netsurf-browser.org/jenkins/computer/ciworker6/slave-agent.jnlp -secret 1234
+
+ EOF
+
+ chmod a+x jenkins-slave.sh
+
+create ssh keypair (accept defaults - no password)
+
+ ssh-keygen -t rsa -C "netsurf@ciworker6.netsurf-browser.org"
+
+copy .ssh/id\_rsa.pub from slave to jenkins master node and append to
+/home/netsurf/.ssh/authorized\_keys
+
+start slave daemon in screen
+
Manual setup of FreeBSD 10.1
----------------------------
@@ -17,12 +52,12 @@ mouse did work but a CI slave does not need it.
enable serial console
-`echo 'console="comconsole"' >> /boot/loader.conf`
+ echo 'console="comconsole"' >> /boot/loader.conf
ensure pkg-config is replaced by the freebsd equivalent
-`pkg set -o devel/pkg-config:devel/pkgconf`
-`pkg install -f devel/pkgconf`
+ pkg set -o devel/pkg-config:devel/pkgconf
+ pkg install -f devel/pkgconf
### required packages
@@ -30,28 +65,28 @@ Ensure all ports were added in the install or mess with ports as needed
The first run of the pkg command will prompt you to install it.
-`pkg install curl`
+ pkg install curl
is a good starting place.
Required packages:
-`git`
-`gmake`
-`bash`
-`ccache`
-`flex`
-`bison`
-`png`
-`jpeg`
-`wget `
-`gtk2`
-`openssl`
-`p5-HTML-Parser`
-`screen`
-`gperf`
-`rsync`
-`openjdk`
+ git
+ gmake
+ bash
+ ccache
+ flex
+ bison
+ png
+ jpeg
+ wget
+ gtk2
+ openssl
+ p5-HTML-Parser
+ screen
+ gperf
+ rsync
+ openjdk
### config