-
Notifications
You must be signed in to change notification settings - Fork 18
/
bundle.yaml
92 lines (92 loc) · 3.5 KB
/
bundle.yaml
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
87
88
89
90
91
92
series: focal
applications:
zuul-scheduler:
charm: cs:~centauri-charmers/zuul-scheduler
num_units: 1
constraints: mem=4G cpu-cores=4
options:
tenant-config: https://raw.githubusercontent.com/openstack-charmers/zosci-config/master/main.yaml
connections: |
- name: gerrit
driver: gerrit
arguments:
server: review.opendev.org
user: uosci-testing-bot
port: 29418
sshkey: /var/lib/zuul/.ssh/id_rsa
- name: github-git
driver: git
arguments:
baseurl: https://github.com/
poll_delay: 60 # default is 7200, want to use short one during dev
- name: opendev
driver: git
arguments:
baseurl: https://opendev.org/
# ssh-key is including a file from the local filesystem.
# This SSH key should be one authorized to talk to the conections
# listed above.
ssh_key: include-base64:///home/ubuntu/zuul_id_rsa
nodepool:
charm: cs:~centauri-charmers/nodepool
constraints: cpu-cores=2
num_units: 1
trust: true
options:
nodepool_config: |
providers:
- name: serverstack # this is a nodepool identifier for this cloud provider (cloud+region combo)
region-name: serverstack # this needs to match the region name in clouds.yaml but is only needed if there is more than one region
cloud: serverstack # This needs to match the name in clouds.yaml
cloud-images:
- name: bionic # Defines a cloud-image for nodepool
image-name: auto-sync/ubuntu-bionic-18.04-amd64-server-20201117-disk1.img # name of image from cloud
username: ubuntu # The user Zuul should log in as
python-path: /usr/bin/python3
- name: focal # Defines a cloud-image for nodepool
image-name: auto-sync/ubuntu-focal-20.04-amd64-server-20201117-disk1.img
username: ubuntu # The user Zuul should log in as
python-path: /usr/bin/python3
- name: xenial
image-name: auto-sync/ubuntu-xenial-16.04-amd64-server-20201111.1-disk1.img
username: ubuntu
pools:
- name: main
max-servers: 18 # nodepool will never create more than this many servers
labels:
- name: bionic-medium
flavor-name: 'm1.medium'
cloud-image: bionic
key-name: nodepool
- name: xenial-medium
flavor-name: 'm1.medium'
cloud-image: xenial
key-name: nodepool
- name: microstack
max-servers: 2
labels:
- name: focal-brown
flavor-name: 'm1.brown'
cloud-image: focal
key-name: nodepool
- name: bionic-brown
flavor-name: 'm1.brown'
cloud-image: bionic
key-name: nodepool
labels:
- name: bionic-medium # defines label that will be used in jobs
min-ready: 12 # nodepool will always keep this many booted and ready to go
- name: xenial-medium
min-ready: 4
- name: focal-brown
- name: bionic-brown
zookeeper:
charm: cs:~chris.macnaughton/zookeeper
constraints: mem=2G cpu-cores=2
series: bionic
num_units: 3
relations:
- - zuul-scheduler
- zookeeper
- - nodepool
- zookeeper