Ubuntu Pastebin

Paste from Chad at Wed, 8 Nov 2017 18:19:04 +0000

Download as text
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
...

    integration_platforms = ['nocloud-kvm', 'lxd']
    integration_os_names = ['xenial']

    stage('NoCloudKVM integration test') {
        for (int i = 0; i < integration_platforms.size(); i++) {
            for (int j = 0; j < integration_os_names.size(); j++) {
                integration_test_platform(
                    ${platforms[i]}, ${os_names[j]})
        }

    }





def integration_test_platform(platform, os_name) {
    
    sh 'python3 -m tests.cloud_tests run --verbose --os-name ${os_name} --platform ${platform} --test modules/apt_configure_sources_list.yaml --test modules/ntp_servers --test modules/set_password_list --test modules/user_groups --deb cloud-init_*_all.deb'
}
Download as text