~raharper/curtin/new-bionic-upstream-snapshot-v2

« back to all changes in this revision

Viewing changes to tests/vmtests/releases.py

  • Committer: Scott Moser
  • Date: 2016-12-02 02:05:28 UTC
  • mfrom: (1.1.42)
  • Revision ID: smoser@ubuntu.com-20161202020528-qnwvmrom09tjjhzk
* New upstream snapshot.
  - pep8: fix pep8 errors found with 'make pep8' on zesty.
  - Workaround failures caused by gpg2 daemons left running in chroot.
    (LP: #1645680)
  - Install u-boot-tools when running on a system with u-boot.
    (LP: #1640519)
  - block: fix partition kname for raid devices  (LP: #1641661)
  - Fix up tox errors that slipped in and new pycodestyle 2.1.0 complaints.
  - vmtests: adjust vmtest image sync metadata filenames
  - vmtests: Add centos support
  - Disable WilyTestRaid5Bcache vmtest
  - tools/xkvm: fix --netdev=<bridge>
  - bytes2human: fix for values larger than 32 bit int on 32 bit python2.

Show diffs side-by-side

added added

removed removed

Lines of Context:
6
6
    arch = get_platform_arch()
7
7
 
8
8
 
9
 
class _PreciseBase(_ReleaseBase):
 
9
class _UbuntuBase(_ReleaseBase):
 
10
    distro = "ubuntu"
 
11
 
 
12
 
 
13
class _CentosFromUbuntuBase(_UbuntuBase):
 
14
    # base for installing centos tarballs from ubuntu base
 
15
    target_distro = "centos"
 
16
 
 
17
 
 
18
class _Centos70FromXenialBase(_CentosFromUbuntuBase):
 
19
    # release for boot
 
20
    release = "xenial"
 
21
    # release for target
 
22
    target_release = "centos70"
 
23
 
 
24
 
 
25
class _Centos66FromXenialBase(_CentosFromUbuntuBase):
 
26
    release = "xenial"
 
27
    target_release = "centos66"
 
28
 
 
29
 
 
30
class _PreciseBase(_UbuntuBase):
10
31
    release = "precise"
11
32
 
12
33
 
13
 
class _PreciseHWET(_ReleaseBase):
 
34
class _PreciseHWET(_UbuntuBase):
14
35
    release = "precise"
15
36
    krel = "trusty"
16
37
 
17
38
 
18
 
class _TrustyBase(_ReleaseBase):
 
39
class _TrustyBase(_UbuntuBase):
19
40
    release = "trusty"
20
41
 
21
42
 
22
 
class _TrustyHWEU(_ReleaseBase):
 
43
class _TrustyHWEU(_UbuntuBase):
23
44
    release = "trusty"
24
45
    krel = "utopic"
25
46
 
26
47
 
27
 
class _TrustyHWEV(_ReleaseBase):
 
48
class _TrustyHWEV(_UbuntuBase):
28
49
    release = "trusty"
29
50
    krel = "vivid"
30
51
 
31
52
 
32
 
class _TrustyHWEW(_ReleaseBase):
 
53
class _TrustyHWEW(_UbuntuBase):
33
54
    release = "trusty"
34
55
    krel = "wily"
35
56
 
36
57
 
37
 
class _VividBase(_ReleaseBase):
 
58
class _VividBase(_UbuntuBase):
38
59
    release = "vivid"
39
60
 
40
61
 
41
 
class _WilyBase(_ReleaseBase):
 
62
class _WilyBase(_UbuntuBase):
42
63
    release = "wily"
43
64
 
44
65
 
45
 
class _XenialBase(_ReleaseBase):
 
66
class _XenialBase(_UbuntuBase):
46
67
    release = "xenial"
47
68
 
48
69
 
49
 
class _YakketyBase(_ReleaseBase):
 
70
class _YakketyBase(_UbuntuBase):
50
71
    release = "yakkety"
51
72
 
52
73
 
62
83
    xenial = _XenialBase
63
84
    yakkety = _YakketyBase
64
85
 
 
86
 
 
87
class _CentosReleases(object):
 
88
    centos70fromxenial = _Centos70FromXenialBase
 
89
    centos66fromxenial = _Centos66FromXenialBase
 
90
 
 
91
 
65
92
base_vm_classes = _Releases
 
93
centos_base_vm_classes = _CentosReleases
66
94
 
67
95
# vi: ts=4 expandtab syntax=python