build/devapp
Roland Shoemaker 4600b17185 repos,devapp/owners: add vulndb
Change-Id: Ie61903ff9ad07c284b2cc16a809654313598d913
Reviewed-on: https://go-review.googlesource.com/c/build/+/312369
Trust: Roland Shoemaker <roland@golang.org>
Run-TryBot: Roland Shoemaker <roland@golang.org>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Filippo Valsorda <filippo@golang.org>
2021-04-21 22:11:43 +00:00
..
owners repos,devapp/owners: add vulndb 2021-04-21 22:11:43 +00:00
static devapp: add stats page plus some minor cleanup 2019-10-09 22:36:12 +00:00
templates devapp: add more tags to reviews dashboard 2019-10-09 22:36:22 +00:00
Dockerfile devapp, cmd/gitmirror: remove unnecessary duplication in Dockerfile 2019-09-09 19:44:34 +00:00
Makefile cmd/{buildlet/stage0,scaleway,tip}, devapp: stop using gitlock, use go modules 2019-05-09 18:25:22 +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 devapp, cmd/gopherbot: increase RAM in k8s config 2018-08-13 16:56:14 +00:00
deployment-staging.yaml devapp, cmd/gopherbot: increase RAM in k8s config 2018-08-13 16:56:14 +00:00
devapp.go devapp: add stats page plus some minor cleanup 2019-10-09 22:36:12 +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: update burndown chart to track 1.17 milestone 2021-03-02 16:09:02 +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: add stats page plus some minor cleanup 2019-10-09 22:36:12 +00:00
server_test.go devapp: add stats page plus some minor cleanup 2019-10-09 22:36:12 +00:00
service-prod.yaml devapp: remove App Engine code 2017-06-27 18:50:50 +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