~roadmr/canonical-identity-provider/suspend-admin-action

1
2
3
4
5
6
7
8
9
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
49
50
51
52
53
54
55
56
57
58
59
# Options defined here provide defaults for all sections

vm.cpu_model = amd64
vm.release = trusty
vm.ssh_keys = {vm.config_dir}/ecdsa

# We don't want to pollute known_hosts with temporary IPs and we want the
# agent to be forwarded inside the vms for lp access without installing
# credentials inside the vm.
vm.ssh_opts = -oUserKnownHostsFile=/dev/null,-oStrictHostKeyChecking=no,-A,-Y
# The official codetree provider
ppa.codetree = ppa:mojo-maintainers/ppa
# The unofficial uci-vms provider
ppa.uci = ppa:vila/ppa
sso.dependencies = @dependencies.txt, @dependencies-devel.txt

# The base lxc used by the ephemeral workers
[sso-trusty]
vm.class = lxc
vm.update = True
vm.packages = {sso.dependencies}, python-uci-vms, python-novaclient
vm.bind_home = True
vm.apt_sources = {ppa.codetree},  ppa:facundo/salty, {ppa.uci}

# vms named sso-worker-0n are built from here
[sso-worker]
vm.class = ephemeral-lxc
vm.backing = sso-trusty
# FIXME: Strictly speaking this should be inherited from the backing vm.
# -- vila 2015-07-01
vm.bind_home = True

# vms named sso-nova-* are built from here
[sso-nova-worker]
vm.class = nova
vm.image = uci/cloudimg/trusty-amd64.img
# haveged ensures we get enough entropy. Without it, the tests can hang for
# minutes
vm.packages = {sso.dependencies}, haveged
# 3GB leaves ~800M free when running tests with -c4
vm.os.flavors = cpu4-ram3-disk10-ephemeral20
vm.uploaded_scripts = scripts/setup-nova-worker.sh
# If it takes longer to build an instance, it won't perform well enough
vm.nova.cloud_init_timeout = 600
vm.apt_sources = {ppa.codetree}

# When testing the jenkins scenario locally
[sso-qemu]
vm.class = kvm
vm.cpus = 8
vm.ram_size = 4096
vm.update = True
# We need lxc >= 1.1.2 and python3-uci-vms >= 0.1.4

# /!\ 'ppa.u1_hackers.user_pass = <USER>:<PASSWORD>' should be defined in
# ~/uci-vms.conf, see https://launchpad.net/~/+archivesubscriptions to find
# your password
vm.apt_sources = {ppa.codetree},  ppa:facundo/salty, ppa:ubuntu-lxc/lxd-stable, {ppa.uci}
vm.packages = {sso.dependencies}, python3-uci-vms, lxc, lxc-templates, debootstrap