Sha256: 8f0ac8c0a959f12e43524207a3b2133ec48b2677396028b3f24f997b5c9ba8f8

Contents?: true

Size: 1.21 KB

Versions: 2

Compression:

Stored size: 1.21 KB

Contents

<%
['zone', 'region'].each do |val|
  if @values['gcp'][val].to_s.empty?
    raise "Missing environment variable: #{val}"
  end
end

zone_1 = @values['gcp']['zone']
region = @values['gcp']['region']
%>

azs:
- name: z1
  cloud_properties:
    zone: <%=zone_1 %>

vm_types:
- name: common
  cloud_properties:
    machine_type: n1-standard-2
    root_disk_size_gb: 20
    root_disk_type: pd-ssd

- name: worker
  cloud_properties:
    machine_type: n1-standard-4
    root_disk_size_gb: 100
    root_disk_type: pd-ssd

vm_extensions:
- name: concourse-lb
  cloud_properties:
    target_pool: concourse-target-pool

compilation:
  workers: 2
  network: public
  reuse_compilation_vms: true
  az: z1
  cloud_properties:
    machine_type: n1-standard-4
    root_disk_size_gb: 100
    root_disk_type: pd-ssd
    preemptible: true

networks:
  - name: public
    type: manual
    subnets:
    - az: z1
      range: 10.150.0.0/24
      gateway: 10.150.0.1
      cloud_properties:
        network_name: bosh
        subnetwork_name: concourse-public-<%=region %>-1
        ephemeral_external_ip: true
        tags:
          - concourse-public
          - concourse-internal

  - name: vip
    type: vip

disk_types:
- name: database
  disk_size: 10240

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
kite-0.0.4 tpl/gcp/cloud-config.yml.erb
kite-0.0.3 tpl/gcp/cloud-config.yml.erb