aboutsummaryrefslogtreecommitdiff
path: root/infra/ui.perfetto.dev/appengine/deploy
diff options
context:
space:
mode:
Diffstat (limited to 'infra/ui.perfetto.dev/appengine/deploy')
-rwxr-xr-xinfra/ui.perfetto.dev/appengine/deploy41
1 files changed, 0 insertions, 41 deletions
diff --git a/infra/ui.perfetto.dev/appengine/deploy b/infra/ui.perfetto.dev/appengine/deploy
deleted file mode 100755
index 694d32944..000000000
--- a/infra/ui.perfetto.dev/appengine/deploy
+++ /dev/null
@@ -1,41 +0,0 @@
-#!/bin/bash
-# Copyright (C) 2021 The Android Open Source Project
-#
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-
-set -exu
-
-cd -P ${BASH_SOURCE[0]%/*}
-
-VERSION=staging
-PROMOTE=--no-promote
-while [[ $# -gt 0 ]]; do
- key="$1"
- case $key in
- --prod)
- VERSION=prod
- PROMOTE=--promote
- shift
- ;;
- *)
- echo "Usage: $0 [--prod]"
- echo " --prod Deploy prod version"
- echo " -h|--help Display this message"
- exit 0
- shift
- ;;
- esac
-done
-
-gcloud app deploy app.yaml --project perfetto-ui \
- -v $VERSION $PROMOTE --stop-previous-version