skia2/tools/skqp/upload_apk
Hal Canary 0b201b07e4 SkQP: tools/skqp/get_gold_export_url.py
Also:
  - update documentation
  - clean up make_apk_list.py; make linter happy
  - use fixed-size short hash for apk names

No-Try: true
Change-Id: Ic342bbb5795cec9776c07ec4348779b81ce91d22
Reviewed-on: https://skia-review.googlesource.com/c/173991
Commit-Queue: Hal Canary <halcanary@google.com>
Reviewed-by: Hal Canary <halcanary@google.com>
2018-12-03 22:33:39 +00:00

14 lines
412 B
Bash
Executable File

#! /bin/sh
# Copyright 2018 Google LLC.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
if [ -z "$1" ] || [ -z "$2" ]; then
echo usage: $0 COMMIT APK_PATH >&2
exit 1;
fi
NAME="skia-skqp/skqp-universal-$(git rev-parse "$1" | cut -b 1-16).apk"
gsutil cp "$2" "gs://$NAME"
echo "https://storage.googleapis.com/$NAME"
python tools/skqp/make_apk_list.py