build/perfdata/appengine/app.yaml

23 строки
601 B
YAML
Исходник Обычный вид История

# 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.
runtime: go122
perf,perfdata: copy perf[data].golang.org code from x/perf This change re-homes the code for perf.golang.org and perfdata.golang.org (available in x/perf/analysis and x/perf/storage respectively) to x/build to avoid any issues with backwards compatibility. We're much more lax about the Go 1 compatibility promise in x/build than in other x/ repos (except maybe x/exp) so we can make bigger changes. Also, we may re-home these services to live closer to the rest of the build infrastructure, so co-locating the code also makes sense. The code was taken from golang.org/x/perf (or go.googlesource.com/perf) at git hash 64dc439b20aef7259bd73a5452063060adb8d898, or CL 392658. In order to make this work, we also copy the internal diff and basedir packages from x/perf. There are a few things these depend on that we have to leave behind. One is x/perf/benchstat, which means we also leave behind x/perf/storage/benchfmt, which it depends on. Both are OK because they have new and shiny replacements that we'd rather use anyway. This change also involved running a bunch of sed commands to update package import paths as well as comments. The full diff is included in the commit for review, but will be removed before landing. For golang/go#48803. Change-Id: Ib15840c15254bc8bfa266bbc82e1df7cf4c252db Reviewed-on: https://go-review.googlesource.com/c/build/+/395175 Reviewed-by: Michael Pratt <mpratt@google.com> Trust: Dmitri Shuralyov <dmitshur@golang.org> Run-TryBot: Michael Knyszek <mknyszek@google.com> TryBot-Result: Gopher Robot <gobot@golang.org>
2022-03-24 01:27:41 +03:00
service: perfdata
instance_class: F4_HIGHMEM
app_engine_apis: true
perf,perfdata: copy perf[data].golang.org code from x/perf This change re-homes the code for perf.golang.org and perfdata.golang.org (available in x/perf/analysis and x/perf/storage respectively) to x/build to avoid any issues with backwards compatibility. We're much more lax about the Go 1 compatibility promise in x/build than in other x/ repos (except maybe x/exp) so we can make bigger changes. Also, we may re-home these services to live closer to the rest of the build infrastructure, so co-locating the code also makes sense. The code was taken from golang.org/x/perf (or go.googlesource.com/perf) at git hash 64dc439b20aef7259bd73a5452063060adb8d898, or CL 392658. In order to make this work, we also copy the internal diff and basedir packages from x/perf. There are a few things these depend on that we have to leave behind. One is x/perf/benchstat, which means we also leave behind x/perf/storage/benchfmt, which it depends on. Both are OK because they have new and shiny replacements that we'd rather use anyway. This change also involved running a bunch of sed commands to update package import paths as well as comments. The full diff is included in the commit for review, but will be removed before landing. For golang/go#48803. Change-Id: Ib15840c15254bc8bfa266bbc82e1df7cf4c252db Reviewed-on: https://go-review.googlesource.com/c/build/+/395175 Reviewed-by: Michael Pratt <mpratt@google.com> Trust: Dmitri Shuralyov <dmitshur@golang.org> Run-TryBot: Michael Knyszek <mknyszek@google.com> TryBot-Result: Gopher Robot <gobot@golang.org>
2022-03-24 01:27:41 +03:00
handlers:
- url: /_ah/remote_api
script: auto
- url: /.*
script: auto
secure: always
env_variables:
CLOUDSQL_CONNECTION_NAME: 'golang-org:us-central1:golang-org'
CLOUDSQL_USER: 'root'
CLOUDSQL_PASSWORD: ''
CLOUDSQL_DATABASE: 'perfdata'
GCS_BUCKET: 'golang-perfdata'
PERFDATA_VIEW_URL_BASE: 'https://perf.golang.org/search?q=upload:'