forked from anurag-harness/drone-runner-aws
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpool_example.yml
More file actions
113 lines (113 loc) · 2.92 KB
/
pool_example.yml
File metadata and controls
113 lines (113 loc) · 2.92 KB
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
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
version: "1"
instances:
- name: ubuntu-aws
default: true
type: amazon
pool: 1 # total number of warm instances in the pool at all times
limit: 100 # limit the total number of running servers. If exceeded block or error.
platform:
os: linux
arch: amd64
spec:
account:
region: us-east-2
availability_zone: us-east-2c
access_key_id: XXXXXXXXXXXXXXXXXXXXX
access_key_secret: XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
ami: ami-051197ce9cbb023ea
size: t2.nano
network:
security_groups:
- XXXXXXXXXXXXXXXX
- name: ubuntu-gcp
default: true
type: google
pool: 1
limit:
platform:
os: linux
arch: amd64
spec:
account:
project_id: xxxxxxxxxxx
json_path: path/to/credentials.json
image: projects/ubuntu-os-pro-cloud/global/images/ubuntu-pro-1804-bionic-v20220131
machine_type: e2-small
zone:
- europe-west1-b
- name: osx
default: true
type: vmfusion # type of instance. amazon | google | vmfusion | anka
pool: 1 # total number of warm instances in the pool at all times
limit: 100 # limit the total number of running servers. If exceeded block or error.
platform:
os: darwin
arch: amd64
version: darwin20-64
spec:
account:
username: xxxxxxxx
password: xxxxxxxx
iso: path/to/osx.iso
memory: 8192
cpu: 4
v_disk_path: path/to/v_disk.vmdx # path to master vmdx image
store_path: path/to/vmware_store # path where vm images are stored on system
- name: osx-anka
default: true
type: anka # type of instance. amazon | google | vmfusion | anka
pool: 1 # total number of warm instances in the pool at all times
limit: 100 # limit the total number of running servers. If exceeded block or error.
platform:
os: darwin
arch: amd64
spec:
account:
username: admin
password: admin
vm_id: uuid of anka vm
- name: azure-ubuntu
default: true
type: azure
pool: 1
limit: 100
platform:
os: linux
arch: amd64
spec:
account:
client_id: XXXXXXX
client_secret: XXXXXXX
subscription_id: XXXXXXX
tenant_id: XXXXXXXXX
location: eastus2
size : Standard_F2s
zones:
- 1
tags:
tagName: tag
resource_group: group
security_group_name: drone-ci-group
image:
username: azureuser
password: password
publisher: Canonical
offer: UbuntuServer
sku: 18.04-LTS
version: latest
- name: anka-build
default: true
type: ankabuild
pool: 1
limit: 2
platform:
os: darwin
arch: amd64
spec:
account:
username: admin
password: admin
vm_id: vmID
registry_url: controller_url
tag: tag
auth_token: auth_token