jenkins slave #9

Supports: bionic xenial trusty
Add to new model

Description

Jenkins is a Continous Integration server supporting
flexible continous integration and deployment methodologies
and more.
.
This charm provides support for jenkins slaves
.
https://launchpad.net/jenkins-slave-charm


Overview

This charm provisions a Jenkins slave to connect to a Jenkins master.
This is the companion to the Jenkins charm.

Usage

To deploy a Jenkins slave you will also need to deploy the jenkins master
charm. This can be done as follows:

juju deploy jenkins
juju deploy -n 5 jenkins-slave
juju add-relation jenkins jenkins-slave

There are cases where you want to provision a specific machine that
provides specific resources for tests, such as CPU architecture or
network access. You can deploy the extra slave like this:

juju add-machine <special-machine-private-ip>
juju deploy --to <special-mabine-number> jenkins-slave ppc-slave

See the Jenkins charm for more details.

Notes

We can't use interface:jenkins-slave yet as it's not fully implemented.


Configuration

extra_packages
(string) Space separated list of extra deb packages to install.
install_keys
(string) List of signing keys for install_sources package sources, per charmhelpers standard format (a yaml list of strings encoded as a string). The keys should be the full ASCII armoured GPG public keys. While GPG key ids are also supported and looked up on a keyserver, operators should be aware that this mechanism is insecure. null can be used if a standard package signing key is used that will already be installed on the machine, and for PPA sources where the package signing key is securely retrieved from Launchpad.
install_sources
(string) List of extra apt sources, per charm-helpers standard format (a yaml list of strings encoded as a string). Each source may be either a line that can be added directly to sources.list(5), or in the form ppa:<user>/<ppa-name> for adding Personal Package Archives, or a distribution component to enable.
labels
(string) Jenkins labels to associate with jenkins slave node
master_url
(string) Configure the slave to use an explicit jenkins master instead of using the jenkins-slave relation. This allows for the slave and master to be deployed in different environments.
nagios_context
(string) This string is prefixed to the hostname when writing exported nagios config fragments.
juju
nagios_servicegroups
(string) A comma-separated list of nagios servicegroups. If left empty, the nagios_context will be used as the servicegroup
package_status
(string) The status of service-affecting packages will be set to this value in the dpkg database. Valid values are "install" and "hold".
install
tools
(string) Tooling to deploy on jenkins slave node
git gcc make bzr