Browse Source

Merge "Add instructions for deploying zuul with openSUSE"

Zuul 9 months ago
parent
commit
22ad98af4a

+ 10
- 1
doc/source/admin/nodepool_install.rst View File

@@ -29,10 +29,19 @@ are required.
29 29
 
30 30
 .. code-block:: console
31 31
 
32
+   # All:
32 33
    $ git clone https://git.zuul-ci.org/nodepool
33
-   $ cd nodepool/
34
+   $ pushd nodepool/
35
+
36
+   # For Fedora and CentOS:
34 37
    $ sudo yum -y install $(bindep -b)
38
+
39
+   # For openSUSE:
40
+   $ sudo zypper install -y $(bindep -b)
41
+
42
+   # All:
35 43
    $ sudo pip3 install .
44
+   $ popd
36 45
 
37 46
 Service File
38 47
 ------------

+ 57
- 0
doc/source/admin/opensuse_leap15_setup.rst View File

@@ -0,0 +1,57 @@
1
+:orphan:
2
+
3
+openSUSE Leap 15
4
+================
5
+
6
+We're going to be using openSUSE Leap 15 for this installation.
7
+
8
+Prerequisites
9
+-------------
10
+
11
+If you are using Zuul with GitHub,
12
+
13
+- Port 9000 must be open and accessible from the Internet so that
14
+  GitHub can communicate with the Zuul web service.
15
+
16
+Environment Setup
17
+-----------------
18
+
19
+First, make sure the system packages are up to date, and then install
20
+some packages which will be required later.  Most of Zuul's binary
21
+dependencies are handled by the bindep program, but a few additional
22
+dependencies are needed to install bindep, and for other commands
23
+which we will use in these instructions.
24
+
25
+::
26
+
27
+   sudo zypper install -y git python3-pip
28
+
29
+Then install bindep
30
+
31
+::
32
+   pip3 install --user bindep
33
+   # Add it to your path
34
+   PATH=~/.local/bin:$PATH
35
+
36
+Install Zookeeper
37
+-----------------
38
+
39
+Nodepool uses Zookeeper to keep track of information about the
40
+resources it manages, and it's also how Zuul makes requests to
41
+Nodepool for nodes.
42
+
43
+You should follow the `official deployment instructions for zookeeper
44
+<https://zookeeper.apache.org/doc/current/zookeeperAdmin.html>`_,
45
+but to get started quickly, just download, unpack and run:
46
+
47
+::
48
+
49
+   sudo zypper install -y java-1_8_0-openjdk
50
+   wget http://apache.mirror.amaze.com.au/zookeeper/stable/zookeeper-3.4.12.tar.gz
51
+   tar -xzf zookeeper-3.4.12.tar.gz
52
+   cp zookeeper-3.4.12/conf/zoo_sample.cfg zookeeper-3.4.12/conf/zoo.cfg
53
+   ./zookeeper-3.4.12/bin/zkServer.sh start
54
+
55
+.. note:: Don't forget to follow `Apache's checksum instructions
56
+          <https://www.apache.org/dyn/closer.cgi#verify>`_ before
57
+          extracting.

+ 1
- 0
doc/source/admin/zuul-from-scratch.rst View File

@@ -12,6 +12,7 @@ Follow the instructions below, depending on your server type.
12 12
 
13 13
   * :doc:`fedora27_setup`
14 14
   * :doc:`centos7_setup`
15
+  * :doc:`opensuse_leap15_setup`
15 16
 
16 17
 Installation
17 18
 ------------

+ 10
- 1
doc/source/admin/zuul_install.rst View File

@@ -31,10 +31,19 @@ required.
31 31
 
32 32
 .. code-block:: console
33 33
 
34
+   # All:
34 35
    $ git clone https://git.zuul-ci.org/zuul
35
-   $ cd zuul/
36
+   $ pushd zuul/
37
+
38
+   # For Fedora and CentOS:
36 39
    $ sudo yum -y install $(bindep -b)
40
+
41
+   # For openSUSE:
42
+   $ zypper install -y $(bindep -b)
43
+
44
+   # All:
37 45
    $ sudo pip3 install .
46
+   $ popd
38 47
 
39 48
 Service Files
40 49
 -------------

Loading…
Cancel
Save