-
Notifications
You must be signed in to change notification settings - Fork 4
/
KankuFile
86 lines (81 loc) · 2.02 KB
/
KankuFile
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
80
81
82
83
84
85
86
#
Kanku::Util::IPTables:
start_port: 49001
domain_name: ddnss-update
default_job: kanku-job
login_user: root
login_pass: kankudai
qemu:
user:
jobs:
kanku-job:
-
use_module: Kanku::Handler::SetJobContext
options:
host_interface: eth0
-
use_module: Kanku::Handler::OBSCheck
options:
api_url: https://api.opensuse.org/public
# Please have a look at
# https://build.opensuse.org/project/show/devel:kanku:images
# to find more official Images
project: devel:kanku:images
repository: images_leap_15_0
package: openSUSE-Leap-15.0-JeOS
use_oscrc: 0
-
use_module: Kanku::Handler::ImageDownload
options:
use_cache: 1
-
use_module: Kanku::Handler::CreateDomain
options:
memory: 2097152
vcpu: 2
use_9p: 1
#forward_port_list: tcp:22,tcp:443
-
use_module: Kanku::Handler::PrepareSSH
-
use_module: Kanku::Handler::ExecuteCommandViaSSH
options:
commands:
- zypper ref -s
- zypper -n up
- zypper -n in make perl-Config-General perl-libwww-perl perl-LWP-Protocol-https
- make -C /tmp/kanku install
- /usr/bin/ddnss-update
ubuntu:
-
use_module: Kanku::Handler::SetJobContext
options:
host_interface: eth0
-
use_module: Kanku::Handler::OBSCheck
options:
project: devel:kanku:images
package: ubuntu-focal
repository: images_ubuntu
-
use_module: Kanku::Handler::ImageDownload
options:
use_cache: 1
-
use_module: Kanku::Handler::CreateDomain
options:
memory: 2G
vcpu: 1
use_9p: 1
#forward_port_list: tcp:22,tcp:443
-
use_module: Kanku::Handler::PrepareSSH
-
use_module: Kanku::Handler::ExecuteCommandViaSSH
options:
commands:
- echo "deb http://archive.ubuntu.com/ubuntu focal main" >> /etc/apt/sources.list
- apt-get update
- apt-get install -y make libwww-perl libconfig-general-perl
- make -C /tmp/kanku install
- /usr/bin/ddnss-update