blob: 64d1ae2e93bd99bb598541d62d6672c15811309e [file]
#!/bin/bash
#
# This file contains constants for the shell scripts for creating
# pushable snapshots via the skia-snapshot-maker instance.
#
# Copyright 2015 Google Inc. All Rights Reserved.
# Sets all constants in compute_engine_cfg.py as env variables.
$(python ../compute_engine_cfg.py)
if [ $? != "0" ]; then
echo "Failed to read compute_engine_cfg.py!"
exit 1
fi
# The base names of the VM instances. Actual names are VM_NAME_BASE-name
VM_NAME_BASE=${VM_NAME_BASE:="skia"}
# The name of instance where skia docs is running on.
INSTANCE_NAME=${VM_NAME_BASE}-snapshot-maker
MACHINE_TYPE=n1-standard-4
IMAGE_TYPE="https://www.googleapis.com/compute/v1/projects/debian-cloud/global/images/backports-debian-7-wheezy-v20150112"