blob: b36a0533c31ee3047d8b5a3cdca3d6284b0b1f2d [file]
#!/bin/bash
#
# This file contains constants for the shell scripts which interact
# with the skia frontend servers Google Compute Engine instance.
#
# Copyright 2014 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 frontend is running on.
INSTANCE_NAME=${VM_NAME_BASE}-skfe
NUM_INSTANCES=2
MACHINE_TYPE=n1-standard-4
# Index 0 of IP_ADDRESSES is not used.
IP_ADDRESSES=("" "104.154.112.11" "104.154.112.103")