Puppet Class: role::ci::master

Defined in:
modules/role/manifests/ci/master.pp

Overview

role::ci::master

Setup a Jenkins installation attended to be used as a master. This setup some CI specific requirements such as having workspace on a SSD device and Jenkins monitoring.

CI test server as per T79623



10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
# File 'modules/role/manifests/ci/master.pp', line 10

class role::ci::master {

    system::role { 'ci::master': description => 'CI Jenkins master' }

    include ::profile::standard
    include ::profile::ci::backup
    include ::profile::ci::firewall

    include ::profile::ci::jenkins
    include ::profile::ci::proxy_jenkins

    include ::profile::ci::slave

    include ::profile::ci::httpd
    include ::profile::tlsproxy::envoy
    include ::profile::ci::website

    include ::profile::ci::docker
    include ::profile::ci::pipeline::publisher
    include ::profile::ci::shipyard
    include ::profile::ci::data_rsync
    include ::profile::local_dev::docker_publish

    include ::profile::zuul::merger

    include ::profile::zuul::server
    include ::profile::ci::proxy_zuul

    include ::profile::kubernetes::deployment_server
    include ::profile::ci::kubernetes_config


    # TODO: T186790. Force the order of docker group ensuring to be before
    # adding jenkins-slave to it. This is a flawed approach and should be better
    # addressed. See T174465 for the long discussion
    Class['Admin'] -> Class['::profile::ci::docker']

    include ::profile::statsite
}