summaryrefslogtreecommitdiff
path: root/continuous_integration
diff options
context:
space:
mode:
Diffstat (limited to 'continuous_integration')
-rw-r--r--continuous_integration/debian_stretch_setup.mdwn40
1 files changed, 19 insertions, 21 deletions
diff --git a/continuous_integration/debian_stretch_setup.mdwn b/continuous_integration/debian_stretch_setup.mdwn
index c135861..98f661e 100644
--- a/continuous_integration/debian_stretch_setup.mdwn
+++ b/continuous_integration/debian_stretch_setup.mdwn
@@ -5,8 +5,7 @@
[[!toc]]
-Debian 9 (Stretch) OS install
-------------------------------
+## Debian 9 (Stretch) OS install
### amd64 VDS install from media
@@ -271,8 +270,8 @@ Once installed:
`/etc/shadow`
`mv /home/orangepi /home/netsurf`
-Packaged CI worker install
---------------------------
+
+## Packaged CI worker install
Do a base OS install
@@ -331,8 +330,8 @@ As superuser:
`/etc/init.d/ns-ci-worker start`
-Pbuilder setup
---------------
+
+## Pbuilder setup
This allows a worker to build Debian packages. The worker should be
installed as a normal CI worker node and then:
@@ -411,27 +410,25 @@ This can be set by passing ARCH to pbuilder (useful for i386 maybe?)
for each distribution this node will build for:
-- create pbuilder result directory and set ownership permissions
+create pbuilder result directory and set ownership permissions
# mkdir -p /var/cache/pbuilder/stretch-armhf/result
# chown root:pbuilder /var/cache/pbuilder/stretch-armhf/result
# chmod g+w /var/cache/pbuilder/stretch-armhf/result
-- become jenkins user
+become jenkins user
`su -s/bin/bash - jenkins`
-- create pbuilder base for distribution
+create pbuilder base for distribution
`sudo DIST=stretch pbuilder create`
-- if desired additional packages and config can be made to the base
- with
+if desired additional packages and config can be made to the base with
`sudo DIST=stretch pbuilder login --save-after-login`
-distcc worker node
-------------------
+## distcc worker node
Do a basic OS install but \*not\* a CI worker setup.
@@ -443,36 +440,37 @@ distcc in future. See debians
The Netsurf repository has necessary updated packages in it and can be
accessed by doing the following:
-- Add CI server repo to worker apt sources
+Add CI server repo to worker apt sources
`echo "deb `[`http://ci.netsurf-browser.org/builds/debian/`](http://ci.netsurf-browser.org/builds/debian/)` stretch/amd64/" >> /etc/apt/sources.list`
-- update repos
+update repos
`apt-get update`
-- use apt to install these packages:
+use apt to install these packages:
`build-essential`
`gcc`
`clang`
`distcc`
-- edit /etc/default/distcc
+edit /etc/default/distcc
STARTDISTCC="true"
ALLOWEDNETS="192.168.211.0/24"
LISTEN="0.0.0.0"
JOBS="8"
-- start the service
+start the service
`service distcc start`
-- ensure the client has hosts set to use the new worker
+ensure the client has hosts set to use the new worker
+
+
-Manual CI worker install
-------------------------
+## Manual CI worker install
Caution these instructions may not be up to date.