blob: 0eaf5d6a15344f9157bbf082b35d97ced4373176 [file] [log] [blame]
#!/bin/bash
#
# This file contains constants for the shell scripts which interact
# with the skia-push 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 push is running on.
INSTANCE_NAME=${VM_NAME_BASE}-push
PUSH_IP_ADDRESS=104.154.112.100
PUSH_MACHINE_TYPE=n1-standard-1
PUSH_SOURCE_SNAPSHOT=skia-pushable-base
PUSH_SCOPES='https://www.googleapis.com/auth/devstorage.full_control https://www.googleapis.com/auth/compute.readonly'