build/devapp
Dmitri Shuralyov 2891c2edef dashboard, cmd/coordinator: support multiple builder owners
Prefer displaying GitHub usernames for convenience of pinging in GitHub
issues, since all current builder owners have them. Keep it possible to
use an email or something else if no GitHub account exists.

Update the owner of the Corellium builders to be individual GitHub
account, so that it can be pinged in an issue. The GitHub organization
is already mentioned in the builder notes.

Also switch to html/template (instead of text/template) for rendering
the builders page.

Fixes golang/go#49596.

Change-Id: I89a96eb8f7a3057bc1f3aaee16abc9c776c45ee7
Reviewed-on: https://go-review.googlesource.com/c/build/+/363983
Trust: Dmitri Shuralyov <dmitshur@golang.org>
Reviewed-by: Carlos Amedee <carlos@golang.org>
2021-11-16 18:15:49 +00:00
..
owners dashboard, cmd/coordinator: support multiple builder owners 2021-11-16 18:15:49 +00:00
static devapp: add stats page plus some minor cleanup 2019-10-09 22:36:12 +00:00
templates devapp: automatically deduce current milestone for burndown chart 2021-08-23 17:24:28 +00:00
Dockerfile devapp, cmd/gitmirror: remove unnecessary duplication in Dockerfile 2019-09-09 19:44:34 +00:00
Makefile cmd/gerritbot: move to Workload Identity 2021-09-08 20:32:04 +00:00
README.md devapp: update README.md to add the installation of App Engine SDK 2019-11-22 14:07:46 +00:00
data.go devapp: add stats page plus some minor cleanup 2019-10-09 22:36:12 +00:00
deployment-prod.yaml all: disable NEGs on ingress services 2021-11-03 16:53:51 +00:00
deployment-staging.yaml all: update Kubernetes API version 2021-08-31 22:02:31 +00:00
devapp.go all: unify HTTP/HTTPS serving 2021-10-27 16:35:18 +00:00
gophercon.go devapp: update contributor summit signup issue 2018-08-30 16:18:10 +00:00
gophercon_test.go devapp: remove godash code in favor of maintner 2017-07-22 21:35:17 +00:00
gzip.go devapp: gzip HTTP responses 2018-05-10 17:44:44 +00:00
release.go devapp: automatically deduce current milestone for burndown chart 2021-08-23 17:24:28 +00:00
release_test.go devapp: follow-up changes that were not submitted in 50652 2017-07-22 21:38:56 +00:00
reviews.go devapp: add more tags to reviews dashboard 2019-10-09 22:36:22 +00:00
server.go devapp: automatically deduce current milestone for burndown chart 2021-08-23 17:24:28 +00:00
server_test.go devapp: add stats page plus some minor cleanup 2019-10-09 22:36:12 +00:00
service-staging.yaml devapp: update README.md to clarify deployment steps 2017-07-26 21:11:19 +00:00
stats.go devapp: add stats page plus some minor cleanup 2019-10-09 22:36:12 +00:00
stats_test.go devapp: add stats page plus some minor cleanup 2019-10-09 22:36:12 +00:00
title.go devapp: display subrepo that CL belongs to 2019-02-06 16:26:59 +00:00
title_test.go devapp: display subrepo that CL belongs to 2019-02-06 16:26:59 +00:00

README.md

devapp

Local development

$ go build
$ ./devapp

Then visit http://localhost:6343

Deployment

First-time setup

Install the docker, kubectl, and gcloud utilities.

Verify that docker run hello-world works without sudo. (You may need to run sudo adduser $USER docker, then either log out and back in or run newgrp docker.)

Then run:

$ gcloud auth configure-docker

Install the App Engine Go SDK: instructions

Staging

$ gcloud config set project go-dashboard-dev
$ gcloud container clusters get-credentials --zone=us-central1-f go
$ make push-staging

If creating the deployment and service the first time:

$ kubectl create -f deployment-staging.yaml
$ kubectl create -f service-staging.yaml

If updating the pod image:

$ make deploy-staging

Prod

$ gcloud config set project symbolic-datum-552
$ gcloud container clusters get-credentials --zone=us-central1-f go
$ make push-prod

If creating the deployment and service the first time:

$ kubectl create -f deployment-prod.yaml
$ kubectl create -f service-prod.yaml

If updating the pod image:

$ make deploy-prod