OLD | NEW |
1 # Copy this file to build.cfg and edit it. | 1 # Copy this file to build.cfg and edit it. |
2 # | 2 # |
3 # This configuration file holds the KVM build test config parameters. | 3 # This configuration file holds the KVM build test config parameters. |
4 # The default is noinstall (won't attempt to build KVM), so if you stick with it | 4 # The default is noinstall (won't attempt to build KVM), so if you stick with it |
5 # please make sure: | 5 # please make sure: |
6 # 1) You have setup symbolic links to qemu and qemu-img binaries on the | 6 # 1) You have setup symbolic links to qemu and qemu-img binaries on the |
7 # KVM test dir. | 7 # KVM test dir. |
8 # 2) The appropriate KVM modules are already loaded on your machine. | 8 # 2) The appropriate KVM modules are already loaded on your machine. |
9 | 9 |
10 variants: | 10 variants: |
11 - build: | 11 - build: |
12 type = build | 12 type = build |
13 # Load modules built/installed by the build test? | 13 # Load modules built/installed by the build test? |
14 load_modules = no | 14 load_modules = no |
15 # Save the results of this build on test.resultsdir? | 15 # Save the results of this build on test.resultsdir? |
16 save_results = no | 16 save_results = no |
17 variants: | 17 variants: |
18 - release: | 18 - release: |
19 mode = release | 19 install_mode = release |
20 ## Install from a kvm release. You can optionally specify | 20 ## Install from a kvm release. You can optionally specify |
21 ## a release tag. If you omit it, the build test will get | 21 ## a release tag. If you omit it, the build test will get |
22 ## the latest release tag available at that moment. | 22 ## the latest release tag available at that moment. |
23 # release_tag = 84 | 23 # release_tag = 84 |
24 release_dir = http://downloads.sourceforge.net/project/kvm/ | 24 release_dir = http://downloads.sourceforge.net/project/kvm/ |
25 release_listing = http://sourceforge.net/projects/kvm/files/ | 25 release_listing = http://sourceforge.net/projects/kvm/files/ |
| 26 # In some cases, you might want to provide a ROM dir, so ROM |
| 27 # files can be copied from there to your source based install |
| 28 # path_to_rom_images = /usr/share/kvm |
26 - snapshot: | 29 - snapshot: |
27 mode = snapshot | 30 install_mode = snapshot |
28 ## Install from a kvm snapshot location. You can optionally | 31 ## Install from a kvm snapshot location. You can optionally |
29 ## specify a snapshot date. If you omit it, the test will get | 32 ## specify a snapshot date. If you omit it, the test will get |
30 ## yesterday's snapshot. | 33 ## yesterday's snapshot. |
31 # snapshot_date = 20090712 | 34 # snapshot_date = 20090712 |
32 snapshot_dir = http://foo.org/kvm-snapshots/ | 35 snapshot_dir = http://foo.org/kvm-snapshots/ |
| 36 # In some cases, you might want to provide a ROM dir, so ROM |
| 37 # files can be copied from there to your source based install |
| 38 # path_to_rom_images = /usr/share/kvm |
33 - localtar: | 39 - localtar: |
34 mode = localtar | 40 install_mode = localtar |
35 ## Install from tarball located on the host's filesystem. | 41 ## Install from tarball located on the host's filesystem. |
36 tarball = /tmp/kvm-84.tar.gz | 42 tarball = /tmp/kvm-84.tar.gz |
| 43 # In some cases, you might want to provide a ROM dir, so ROM |
| 44 # files can be copied from there to your source based install |
| 45 # path_to_rom_images = /usr/share/kvm |
37 - localsrc: | 46 - localsrc: |
38 mode = localsrc | 47 install_mode = localsrc |
39 ## Install from tarball located on the host's filesystem. | 48 ## Install from tarball located on the host's filesystem. |
40 srcdir = /tmp/kvm-84 | 49 srcdir = /tmp/kvm-84 |
| 50 # In some cases, you might want to provide a ROM dir, so ROM |
| 51 # files can be copied from there to your source based install |
| 52 # path_to_rom_images = /usr/share/kvm |
41 - git: | 53 - git: |
42 mode = git | 54 install_mode = git |
43 ## Install KVM from git repositories. | 55 ## Install KVM from git repositories. |
44 ## If you provide only "git_repo" and "user_git_repo", the | 56 ## If you provide only "git_repo" and "user_git_repo", the |
45 ## build test will assume it will perform all build from the | 57 ## build test will assume it will perform all build from the |
46 ## userspace dir, building modules trough | 58 ## userspace dir, building modules trough |
47 ## make -C kernel LINUX=%s sync. As of today (07-13-2009) | 59 ## make -C kernel LINUX=%s sync. As of today (07-13-2009) |
48 ## upstream needs 3 git repos: | 60 ## upstream needs 3 git repos: |
49 ## * git_repo (linux sources) | 61 ## * git_repo (linux sources) |
50 ## * user_git_repo (qemu sources) | 62 ## * user_git_repo (qemu sources) |
51 ## * kmod_repo" to build KVM userspace + kernel modules. | 63 ## * kmod_repo" to build KVM userspace + kernel modules. |
52 # git_repo = git://git.kernel.org/pub/scm/linux/kernel/git/avi/k
vm.git | 64 # git_repo = git://git.kernel.org/pub/scm/linux/kernel/git/avi/k
vm.git |
53 # kernel_branch = kernel_branch_name | 65 # kernel_branch = kernel_branch_name |
54 # kernel_lbranch = kernel_lbranch_name | 66 # kernel_lbranch = kernel_lbranch_name |
55 # kernel_commit = kernel_commit_name | 67 # kernel_commit = kernel_commit_name |
56 # kernel_patches = ['http://foo.com/patch1', 'http://foo.com/pat
ch2'] | 68 # kernel_patches = ['http://foo.com/patch1', 'http://foo.com/pat
ch2'] |
57 user_git_repo = git://git.kernel.org/pub/scm/virt/kvm/qemu-kvm.g
it | 69 user_git_repo = git://git.kernel.org/pub/scm/virt/kvm/qemu-kvm.g
it |
58 # user_branch = user_branch_name | 70 # user_branch = user_branch_name |
59 # user_lbranch = user_lbranch_name | 71 # user_lbranch = user_lbranch_name |
60 # user_commit = user_commit_name | 72 # user_commit = user_commit_name |
61 # user_patches = ['http://foo.com/patch1', 'http://foo.com/patch
2'] | 73 # user_patches = ['http://foo.com/patch1', 'http://foo.com/patch
2'] |
62 # kmod_repo = git://git.kernel.org/pub/scm/virt/kvm/kvm-kmod.git | 74 # kmod_repo = git://git.kernel.org/pub/scm/virt/kvm/kvm-kmod.git |
63 # kmod_branch = kmod_branch_name | 75 # kmod_branch = kmod_branch_name |
64 # kmod_lbranch = kmod_lbranch_name | 76 # kmod_lbranch = kmod_lbranch_name |
65 # kmod_commit = kmod_commit_name | 77 # kmod_commit = kmod_commit_name |
66 # kmod_patches = ['http://foo.com/patch1', 'http://foo.com/patch
2'] | 78 # kmod_patches = ['http://foo.com/patch1', 'http://foo.com/patch
2'] |
| 79 # In some cases, you might want to provide a ROM dir, so ROM |
| 80 # files can be copied from there to your source based install |
| 81 # path_to_rom_images = /usr/share/kvm |
67 - yum: | 82 - yum: |
68 mode = yum | 83 install_mode = yum |
69 src_pkg = qemu | 84 src_pkg = qemu |
70 ## Name of the rpms we need installed | 85 ## Name of the rpms we need installed |
71 pkg_list = ['qemu-kvm', 'qemu-kvm-tools', 'qemu-system-x86', 'qe
mu-common', 'qemu-img'] | 86 pkg_list = ['qemu-kvm', 'qemu-kvm-tools', 'qemu-system-x86', 'qe
mu-common', 'qemu-img'] |
72 ## Paths of the qemu relevant executables that should be checked | 87 ## Paths of the qemu relevant executables that should be checked |
73 qemu_bin_paths = ['/usr/bin/qemu-kvm', '/usr/bin/qemu-img'] | 88 qemu_bin_paths = ['/usr/bin/qemu-kvm', '/usr/bin/qemu-img'] |
74 ## List of RPMs that will be installed | 89 ## List of RPMs that will be installed |
75 pkg_path_list = ['http://foo.com/rpm1', 'http://foo.com/rpm2'] | 90 pkg_path_list = ['http://foo.com/rpm1', 'http://foo.com/rpm2'] |
76 - koji: | 91 - koji: |
77 mode = koji | 92 install_mode = koji |
78 ## Install KVM from koji (Fedora build server) | 93 ## Install KVM from koji (Fedora build server) |
79 ## It is possible to install packages right from Koji if you | 94 ## It is possible to install packages right from Koji if you |
80 ## provide a release tag or a build. | 95 ## provide a release tag or a build. |
81 ## Tag (if available) | 96 ## Tag (if available) |
82 koji_tag = dist-f11 | 97 koji_tag = dist-f11 |
83 ## Build (if available, is going to override tag). | 98 ## Build (if available, is going to override tag). |
84 ## Build ID can be either an integer or a string as below | 99 ## Build ID can be either an integer or a string as below |
85 koji_build = qemu-0.10-16.fc11 | 100 koji_build = qemu-0.10-16.fc11 |
86 # koji_build = 250544 | 101 # koji_build = 250544 |
87 ## Command to interact with the build server | 102 ## Command to interact with the build server |
88 koji_cmd = /usr/bin/koji | 103 koji_cmd = /usr/bin/koji |
89 ## The name of the source package that will be built | 104 ## The name of the source package that will be built |
90 src_pkg = qemu | 105 src_pkg = qemu |
91 ## Name of the rpms we need installed | 106 ## Name of the rpms we need installed |
92 pkg_list = ['qemu-kvm', 'qemu-kvm-tools', 'qemu-system-x86', 'qe
mu-common', 'qemu-img'] | 107 pkg_list = ['qemu-kvm', 'qemu-kvm-tools', 'qemu-system-x86', 'qe
mu-common', 'qemu-img'] |
93 ## Paths of the qemu relevant executables that should be checked | 108 ## Paths of the qemu relevant executables that should be checked |
94 qemu_bin_paths = ['/usr/bin/qemu-kvm', '/usr/bin/qemu-img'] | 109 qemu_bin_paths = ['/usr/bin/qemu-kvm', '/usr/bin/qemu-img'] |
95 | 110 |
96 | 111 |
97 # Choose your install method here. The variant noinstall is not defined by | 112 # Choose your install method here. The variant noinstall is not defined by |
98 # default, so therefore no attempt to build/install KVM will be made by | 113 # default, so therefore no attempt to build/install KVM will be made by |
99 # default | 114 # default |
100 only build.noinstall | 115 only build.noinstall |
OLD | NEW |