~maxiberta/ols-jenkaas/sca-build-command-cleanup

« back to all changes in this revision

Viewing changes to ols-vms.conf

  • Committer: Vincent Ladeuil
  • Date: 2016-07-15 13:39:16 UTC
  • Revision ID: vila+ols@canonical.com-20160715133916-efrw301s4616tezh
Rework the layout so separate the various parts: master, slave, job builder and jobs definitions.

Show diffs side-by-side

added added

removed removed

Lines of Context:
6
6
client.packages = python3-jenkins-job-builder, python3-ols-config, python3-ols-tests, 
7
7
server.packages = jenkins
8
8
jenkaas.bot.user = bzr-jb-bot
9
 
[babune]
10
 
# We want to test a local jenkins so it's simpler to install client and
11
 
# server on the same host. Ideally, we'd like to drive the master from a
12
 
# separate vm but this will do for now.
 
9
# The branches where the bzr jenkaas is defined
 
10
jenkaas.jobs = lp:~vila/bzr-buildbot-net/jenkaas
 
11
jenkaas.secrets = lp:~vila/bzr-buildbot-net/secrets
 
12
[babune] # The test master (i.e. not the production one)
13
13
vm.packages = bzr, {server.packages}
14
 
# FIXME: setup-master is a nightmare to quote, see setup-jenkaas
15
 
# -- vila 2016-07-12
16
 
# vm.setup_scripts = setup-master
 
14
vm.setup_scripts = master/setup
17
15
apt.sources = ppa:ubuntuone/ols-tests, deb http://pkg.jenkins-ci.org/debian-stable binary/|D50582E6
18
16
[jenkins-slave]
19
17
# We install nothing at all to start with, all setup should come from
21
19
# are to allow the master to control the slave and execute jobs here
22
20
# (including setting up lxd containers).
23
21
vm.packages = lxd, lxd-client, wget, jenkins-slave, python3-ols-vms, bzr, bzr-olsvms
24
 
vm.setup_scripts = setup-slave
 
22
vm.setup_scripts = slave/setup
25
23
# Allow nesting so test containers can be created
26
24
lxd.nesting = true
27
25
# FIXME: Remove vila/ppa once jenkins-slave is available -- 2016-06-20
34
32
#vm.release = yakkety once it's available...
35
33
# python3-pip is needed to install a more recent version of jenkins-job-builder
36
34
vm.packages =  bzr, {client.packages}, python3-pip, python3-setuptools
37
 
vm.setup_scripts = setup-job-builder
 
35
vm.setup_scripts = job-builder/setup
38
36
apt.sources = ppa:ubuntuone/ols-tests