Lines Matching +full:repo +full:- +full:token
8 # http://www.apache.org/licenses/LICENSE-2.0
17 # pinned SHA256 in install-build-deps.
19 set -e
21 PROJECT_ROOT="$(cd -P ${BASH_SOURCE[0]%/*}/..; pwd)"
24 echo "Usage: $0 /path/to/catapult/repo"
29 if [ ! -d "$CATAPULT/.git" ]; then
30 echo "$CATAPULT must point to a valid catapult repo"
34 REVISION=$(git -C "$CATAPULT" rev-parse --short HEAD)
35 OUTDIR="$(mktemp -d)"
37 git -C "$CATAPULT" log -1 | cat
39 set -x
40 "$CATAPULT/tracing/bin/generate_about_tracing_contents" --outdir "$OUTDIR"
46 <!-- WebComponents V0 origin trial token for https://*.ui.perfetto.dev
47 Expires 1 Feb 2021. https://crbug.com/1021137. -->
48 …<meta http-equiv="origin-trial" content="AjGFDFU57Af4e5OJJQd7kmYR0nEiObDCHkev6BBWzhGohACl1ri+pMhaV…
50 <!-- WebComponents V0 origin trial token for http://localhost:10000
51 Expires 28 Jan 2021. https://crbug.com/1021137. -->
52 …<meta http-equiv="origin-trial" content="AicMEv5glMGL1lq6ZRsxFJj8xlhn3XDYZrHK0/2KreAD/r62vTFjUBOue…
54 <!-- WebComponents V0 origin trial token for https://staging-dot-perfetto-ui.appspot.com
55 Expires 1 Feb 2021. https://crbug.com/1021137. -->
56 …<meta http-equiv="origin-trial" content="Au1cwnWfBB/GCD22HnNZE93/KamhGDsz8BZbEewICJB2PRtW+E1bobrtZ…
58 <!-- WebComponents V0 origin trial token for https://storage.googleapis.com/
59 Expires 1 Feb 2021. https://crbug.com/1021137. -->
60 …<meta http-equiv="origin-trial" content="AtobKUpdVFIb6cx2Ev0EbAFX4SzLuXPnsnADRA8JV5w4B64q65gz42shq…
65 sed -i -e \
68 sed -i -e '/<head/r extra_origin_trials' catapult_trace_viewer.html
69 tar -zcf "$ARCHIVE" catapult_trace_viewer.{js,html}
73 SHA256=$(python -c "$SHA256CMD" < "$ARCHIVE")
74 GCS_TARGET="gs://perfetto/catapult_trace_viewer-$SHA256.tar.gz"
75 gsutil cp -n -a public-read "$ARCHIVE" "$GCS_TARGET"
76 rm -rf "$OUTDIR"
78 # Update the reference to the new prebuilt in tools/install-build-deps.
79 sed -i -e \
81 "$PROJECT_ROOT/tools/install-build-deps"
83 "$PROJECT_ROOT/tools/install-build-deps" --ui