summaryrefslogtreecommitdiff
path: root/tests/cloud_tests/releases.yaml
blob: 3ffa68f03b8256f3daa8243678909d37f6458209 (plain)
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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
# ============================= Release Config ================================
default_release_config:
    # all are disabled by default
    enabled: false
    # timeout for booting image and running cloud init
    timeout: 120
    # platform_ident values for the image, with data to identify the image
    # on that platform. see platforms.base for more information
    platform_ident: {}
    # a script to run after a boot that is used to modify an image, before
    # making a snapshot of the image. may be useful for removing data left
    # behind from cloud-init booting, such as logs, to ensure that data from
    # snapshot.launch() will not include a cloud-init.log from a boot used to
    # create the snapshot, if cloud-init has not run
    boot_clean_script: |
        #!/bin/bash
        rm -rf /var/log/cloud-init.log /var/log/cloud-init-output.log \
            /var/lib/cloud/ /run/cloud-init/ /var/log/syslog

releases:
    trusty:
        enabled: true
        platform_ident:
            lxd:
                # if sstreams_server is omitted, default is used, defined in
                # tests.cloud_tests.platforms.lxd.DEFAULT_SSTREAMS_SERVER as:
                # sstreams_server: https://us.images.linuxcontainers.org:8443
                #alias: ubuntu/trusty/default
                alias: t
                sstreams_server: https://cloud-images.ubuntu.com/daily
    xenial:
        enabled: true
        platform_ident:
            lxd:
                #alias: ubuntu/xenial/default
                alias: x
                sstreams_server: https://cloud-images.ubuntu.com/daily
    yakkety:
        enabled: true
        platform_ident:
            lxd:
                #alias: ubuntu/yakkety/default
                alias: y
                sstreams_server: https://cloud-images.ubuntu.com/daily
    zesty:
        enabled: true
        platform_ident:
            lxd:
                #alias: ubuntu/zesty/default
                alias: z
                sstreams_server: https://cloud-images.ubuntu.com/daily
    jessie:
        platform_ident:
            lxd:
                alias: debian/jessie/default
    sid:
        platform_ident:
            lxd:
                alias: debian/sid/default
    stretch:
        platform_ident:
            lxd:
                alias: debian/stretch/default
    wheezy:
        platform_ident:
            lxd:
                alias: debian/wheezy/default
    centos70:
        timeout: 180
        platform_ident:
            lxd:
                alias: centos/7/default
    centos66:
        timeout: 180
        platform_ident:
            lxd:
                alias: centos/6/default

# vi: ts=4 expandtab