build/app/appengine
Dmitri Shuralyov 70303fc210 app/appengine: stop hiding some tested configurations for x repos
The build dashboard can be used to view builds for the main Go repo
and other golang.org/x repos. The isUntested invocation was invalid
for repos other than the main one, which was causing results for some
tested configurations to become hidden (incorrectly replaced by '•').

Larger changes are needed before there's sufficient data to compute
the GoBranch value for all repos reliably, so for now, just update
the isUntested invocation to apply only for the main repo.

This prioritizes the ability to view test results over the ability
to see that some builds are intentionally missing because they are
configured not to run. Doing both is a part of future work.

For golang/go#40290.
For golang/go#34744.
For golang/go#28643.

Change-Id: Id43cb47abacb1036f578efbb8232ae17ad40eca9
Reviewed-on: https://go-review.googlesource.com/c/build/+/244137
Run-TryBot: Dmitri Shuralyov <dmitshur@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Alexander Rakoczy <alex@golang.org>
Reviewed-by: Carlos Amedee <carlos@golang.org>
2020-07-22 20:00:05 +00:00
..
static app/appengine: delete yet more dead code 2019-11-22 03:49:56 +00:00
.gcloudignore app: update App Engine runtime to go111 2019-09-03 15:21:19 +00:00
Makefile app, gitmirror, maintner: use maintner for dashboard, not datastore 2019-12-06 21:18:41 +00:00
README.md app/appengine: update docs, add --dev and --fake-results flags 2019-12-12 21:10:18 +00:00
app.yaml app/appengine: migrate from App Engine to Cloud APIs, move to Go 1.13 2019-12-11 22:30:18 +00:00
build.go dashboard, app/appengine: set a known issue for staticlockranking builder 2020-04-07 15:54:18 +00:00
cron.sh app: modernize the App Engine code 2017-10-13 17:07:12 +00:00
dash.go app/appengine: gzip responses 2019-12-13 17:01:29 +00:00
handler.go app/appengine: update docs, add --dev and --fake-results flags 2019-12-12 21:10:18 +00:00
index.yaml app/appengine: delete yet more dead code 2019-11-22 03:49:56 +00:00
ui.go app/appengine: fix the json view for subrepos 2020-05-15 21:21:48 +00:00
ui.html app/appengine: stop hiding some tested configurations for x repos 2020-07-22 20:00:05 +00:00
ui_test.go app/appengine: fix the json view for subrepos 2020-05-15 21:21:48 +00:00

README.md

build.golang.org App Engine App

This is the code that runs https://build.golang.org/

Local development

To use production maintner data (for the GetDashboard RPC containing the list of commits, etc) and production active builds (from the coordinator), both of which are open to anybody, use:

go run . --dev --fake-results

If you also want to use the production datastore for real commit data, or you want to work on the handlers that mutate data in the datastore, use:

go run . --dev

That requires access to the "golang-org" GCP project's datastore.

Environment variables you can change:

  • PORT: plain port number or Go-style listen address
  • DATASTORE_PROJECT_ID: defaults to "golang-org" in dev mode
  • MAINTNER_ADDR: defaults to "maintner.golang.org"

Deploying a test version

To deploy to the production project but to a version that's not promoted to the default URL:

make deploy-test

It will tell you what URL it deployed to. You can then check it and either delete it or promote it with either the gcloud or web UIs. Or just ignore it. They'll scale to zero and are only visual clutter until somebody deletes a batch of old ones.

Deploying to production

To deploy to https://build.golang.org:

make deploy-prod