Google Compute Engine - Bakery

Configure the Google Compute Engine (GCE) bakery to bake images.

The GCE bakery configuration allows you to set the default network and zone and whether to use the public IP address of the VM used for baking the image.

For example, to set the default zone, add to the rosco-local.yml the following configuration

google:
  enabled: true
  bakery-defaults:
    zone: <zone>
    network: <network>
    networkProjectId: projectId
    subnetwork: subnetwork
    useInternalIp: <true|false>
    templateFile: gce.json
    baseImages:
    - id: unique-bake-id
      shortDescription: shortUI Description (aka precise)
      detailedDescription: Ubuntu precise
      packageType: rpm
      templateFile: gce.json
      osType: <defaults to Linux>
      customRepository: customRepoURL
      isImageFamily: // this is unique to google.  

These base images are used to dynamically populate the bake stage UI:

For more examples see the default rosco.yml example file