blob: d4afd976136bbe89f40a1db872ac85678bafcac9 [file] [log] [blame]
# Copyright 2022 The Go Authors. All rights reserved.
# Use of this source code is governed by a BSD-style
# license that can be found in the LICENSE file.
# Start the cloud run proxy pointing at a worker.
# To install the proxy:
# go install
set -e
source devtools/ || { echo "Are you at repo root?"; exit 1; }
case $env in
*) die "usage: $0 (dev | prod)"
cloud-run-proxy -host $(worker_url $env) -token $(impersonation_token $env)