Puppet Class: profile::ci::pipeline::publisher

Defined in:
modules/profile/manifests/ci/pipeline/publisher.pp

Overview

SPDX-License-Identifier: Apache-2.0

profile::ci::pipeline::publisher

Pipeline server that can publish Docker images to the WMF registry.

Parameters:

  • docker_pusher_user (String) (defaults to: lookup('jenkins_agent_username'))
  • docker_registry_user (String) (defaults to: lookup('profile::ci::pipeline::publisher::docker_registry_user'))
  • docker_registry_password (String) (defaults to: lookup('profile::ci::pipeline::publisher::docker_registry_password'))


6
7
8
9
10
11
12
13
14
15
16
17
18
# File 'modules/profile/manifests/ci/pipeline/publisher.pp', line 6

class profile::ci::pipeline::publisher(
    String $docker_pusher_user = lookup('jenkins_agent_username'),
    String $docker_registry_user = lookup('profile::ci::pipeline::publisher::docker_registry_user'),
    String $docker_registry_password = lookup('profile::ci::pipeline::publisher::docker_registry_password'),
){
    ensure_packages('python3-ruamel.yaml')

    class{ '::docker_pusher':
        docker_pusher_user       => $docker_pusher_user,
        docker_registry_user     => $docker_registry_user,
        docker_registry_password => $docker_registry_password,
    }
}