blob: f138b3ce614c1713d556953b976bd3da74a4dae4 [file] [log] [blame]
#!/bin/bash
#
# This file contains constants for the shell scripts which interact
# with the skia-ctfe Google Compute Engine 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 ctfe is running on.
INSTANCE_NAME=${VM_NAME_BASE}-ctfe
CTFE_IP_ADDRESS=104.154.112.110
CTFE_MACHINE_TYPE=n1-standard-2
CTFE_SOURCE_SNAPSHOT=skia-systemd-pushable-base
CTFE_SCOPES='https://www.googleapis.com/auth/devstorage.full_control'