~vila/u1-test-utils/setup-vm

« back to all changes in this revision

Viewing changes to setup_vm/vms.conf

  • Committer: Vincent Ladeuil
  • Date: 2013-04-12 07:52:06 UTC
  • mfrom: (0.1.144 trunk)
  • Revision ID: vila+qa@canonical.com-20130412075206-g8lb0tob08zf3h6j
Provide a setup_vm utility to provision vms targeted at local tests

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# This must be defined in some other vms.conf file (user or system)
 
2
# sso.address=sso.local
 
3
# pay.address=pay.local
 
4
# u1.address=u1.local
 
5
# ppa.ubuntuone-hackers.password
 
6
 
 
7
sso.src_dir=canonical-identity-provider
 
8
sso.port=8001
 
9
sso.url=http://{sso.address}:{sso.port}
 
10
sso.imap_port=2143
 
11
sso.smtp_port=2025
 
12
 
 
13
pay.src_dir=canonical-payment-service
 
14
pay.port=8002
 
15
pay.url=http://{pay.address}:{pay.port}
 
16
 
 
17
ppa.ubuntuone_hackers=deb https://{vm.launchpad_id}:{ppa.ubuntuone_hackers.password}@private-ppa.launchpad.net/ubuntuone/hackers/ubuntu {vm.release} main|4BD0ECAE
 
18
 
 
19
u1.src_dir=ubuntuone-servers
 
20
u1.port=8003
 
21
u1.url=http://{u1.address}:{u1.port}
 
22
 
 
23
[precise-server-pristine]
 
24
vm.name=precise-server-pristine
 
25
vm.release=precise
 
26
vm.packages=bzr, avahi-daemon, emacs23
 
27
vm.update=True
 
28
 
 
29
[sso]
 
30
vm.name=sso
 
31
vm.release=precise
 
32
vm.backing=precise-server-pristine.qcow2
 
33
vm.packages=config-manager, fabric, libpq-dev, make, memcached, postgresql-plpython, python-m2crypto, python-dev, python-setuptools, python-virtualenv, swig, wget, libxml2-dev, libxslt1-dev
 
34
vm.ubuntu_script=sso/install
 
35
vm.update=True
 
36
vm.uploaded_scripts=sso/run, sso/run-for-pay, sso/run-for-u1
 
37
 
 
38
[pay]
 
39
vm.name=pay
 
40
vm.release=precise
 
41
vm.backing=precise-server-pristine.qcow2
 
42
vm.packages=config-manager, fabric, libpq-dev, make, postgresql-plpython, python-dev, python-setuptools, python-virtualenv, wget, libxml2-dev, libxslt1-dev
 
43
vm.ubuntu_script=pay/install
 
44
vm.update=True
 
45
vm.uploaded_scripts=pay/run, pay/run-for-u1
 
46
 
 
47
[u1]
 
48
vm.name=u1
 
49
vm.release=precise
 
50
vm.backing=precise-server-pristine.qcow2
 
51
vm.apt_sources={ppa.ubuntuone_hackers}
 
52
vm.packages=openjdk-7-jre,ubuntuone-developer-dependencies
 
53
vm.ubuntu_script=u1/install
 
54
vm.update=True
 
55
vm.uploaded_scripts=u1/run
 
56
 
 
57
[raring-desktop-pristine]
 
58
vm.name=raring-desktop-pristine
 
59
vm.release=raring
 
60
# python-unittest2 is not strictly required here but works around sst
 
61
# insisting on installing it locally.
 
62
vm.packages=bzr, emacs23, python-setuptools, python-unittest2, python-autopilot, unity-autopilot, ubuntu-desktop, avahi-daemon
 
63
vm.update=True
 
64
# Roughly all vms installing ubuntu-desktop need to complete the
 
65
# installation by making the ubuntu user part of the admin group.
 
66
vm.root_script = bin/ubuntu_admin.sh
 
67
 
 
68
[purchase-testing]
 
69
vm.name=purchase-testing
 
70
vm.release=raring
 
71
vm.backing=raring-desktop-pristine.qcow2
 
72
vm.apt_sources=deb http://ppa.launchpad.net/ubuntuone/dashpurchase-testing/ubuntu {vm.release} main|4BD0ECAE
 
73
vm.update=True
 
74
vm.ubuntu_script=purchase-testing/install
 
75
 
 
76
[unity-prevalidation]
 
77
vm.name=unity-prevalidation
 
78
vm.release=raring
 
79
vm.backing=raring-desktop-pristine.qcow2
 
80
vm.apt_sources=deb http://ppa.launchpad.net/ubuntu-unity/experimental-prevalidation/ubuntu {vm.release} main|52D62F45
 
81
vm.uploaded_scripts=unity/run-sso-client, unity/run-unity-lens-music
 
82
# TODO unity/run-syncdaemon. We don't yet have the hermetic filesync server.
 
83
vm.update=True
 
84
vm.root_script=unity/transient-dist-upgrade
 
85
vm.ubuntu_script=unity/install-sources
 
86
 
 
87
[indash-didrocks]
 
88
vm.name=indash-didrocks
 
89
vm.release=raring
 
90
vm.backing=raring-desktop-pristine.qcow2
 
91
vm.apt_sources=ppa:didrocks/ppa
 
92
vm.uploaded_scripts=unity/run-sso-client, unity/run-unity-lens-music
 
93
# TODO unity/run-syncdaemon. We don't yet have the hermetic filesync server.
 
94
vm.update=True
 
95
vm.root_script=unity/transient-dist-upgrade
 
96
vm.ubuntu_script=unity/install-sources