summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVincent Sanders <vince@kyllikki.org>2017-09-06 13:46:32 (GMT)
committer Vincent Sanders <vince@kyllikki.org>2017-09-06 13:46:32 (GMT)
commit5f474c70b35a5af5fca6aa2594099a00aba15239 (patch)
treec3d4458871aa76a7006a60eea53c52e6dea3b85a
parent6e08394d11bdd3793cb4e1fcae6e88acf1984d6d (diff)
downloadnetsurf-wiki-5f474c70b35a5af5fca6aa2594099a00aba15239.tar.gz
netsurf-wiki-5f474c70b35a5af5fca6aa2594099a00aba15239.tar.bz2
add missing mock setup to fedora
-rw-r--r--continuous_integration/fedora_26_setup.mdwn8
1 files changed, 8 insertions, 0 deletions
diff --git a/continuous_integration/fedora_26_setup.mdwn b/continuous_integration/fedora_26_setup.mdwn
index aee9144..1dde04f 100644
--- a/continuous_integration/fedora_26_setup.mdwn
+++ b/continuous_integration/fedora_26_setup.mdwn
@@ -57,6 +57,10 @@ create jenkins user
adduser --system --create-home --home-dir /var/lib/jenkins/ jenkins
+add user to mock group
+
+ usermod -a -G mock jenkins
+
ensure /opt is setup correctly to allow toolchains to be built on the node
mkdir -p /opt/netsurf
@@ -78,6 +82,10 @@ get jenkins slave jar
wget http://ci.netsurf-browser.org/jenkins/jnlpJars/slave.jar
+initialise mock environment
+
+ mock --init
+
exit jenkins user shell
create ns-ci-worker.service file