summaryrefslogtreecommitdiffstats
path: root/nodepool/nodepool.yaml
blob: 408cfc168b7b3d339fbb76b657b4b93cf6364235 (plain)
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
---

script-dir: /opt/nodepool/scripts
#elements-dir: /opt/nodepool/elements
#images-dir: /opt/nodepool/images

zmq-publishers:
  - 'tcp://vex-yul-rot-jenkins-1.ci.codeaurora.org:8888'

gearman-servers:
  - host: 'vex-yul-rot-zuul-1.ci.codeaurora.org'

labels:
  - name: 'verify_merge'
    image: 'trusty'
    min-ready: 1
    providers:
      - name: 'verify-merge'
  - name: 'multilink'
    image: 'trusty-multilink'
    min-ready: 1
    subnodes: 3
    ready-script: 'multilink_ready.sh'
    providers:
      - name: 'multilink'

providers:
  - name: 'verify-merge'
    cloud: vexxhost
    max-servers: 10
    availability-zones:
      - 'ca-ymq-2'
    template-hostname: 'np-verify-merge-{timestamp}-nodepool-template'
    keypair: 'jenkins'
    networks:
      - name: 'fdio'
        public: True
    images:
      - name: 'trusty'
        #base-image: 'Ubuntu 14.04 - basebuild - 20160518T202806'
        base-image: 'ce91c99d-3cda-4ffe-bcdb-8293ac65d95e'
        min-ram: 4096
        setup: 'verify_merge.sh'
        username: 'jenkins'
        private-key: '/home/nodepool/.ssh/id_rsa'
  - name: 'multilink'
    cloud: vexxhost
    max-servers: 16
    availability-zones:
      - 'ca-ymq-2'
    template-hostname: 'np-multi-link-{timestamp}-nodepool-template'
    keypair: 'jenkins'
    networks:
      - name: 'fdio'
        public: True
      - name: 'Interlink1'
        public: False
      - name: 'Interlink2'
        public: False
      - name: 'Interlink3'
        public: False
      - name: 'Interlink4'
        public: False
      - name: 'Interlink5'
        public: False
      - name: 'Interlink6'
        public: False
    images:
      - name: 'trusty-multilink'
        #base-image: 'Ubuntu 14.04 - basebuild - 20160518T202806'
        base-image: 'ce91c99d-3cda-4ffe-bcdb-8293ac65d95e'
        min-ram: 4096
        setup: 'multilink.sh'
        username: 'jenkins'
        private-key: '/home/nodepool/.ssh/id_rsa'

targets:
  - name: 'vex-yul-rot-jenkins-1.ci.codeaurora.org'
    #hostname: 'np-{label.name}-{provider.name}-{node_id}'
    #subnode-hostname: 'np-{label.name}-{provider.name}-{node_id}'
    hostname: 'np-{label.name}-{node_id}'
    subnode-hostname: 'np-sub-{label.name}-{node_id}'