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
deployment-staging.yaml
devapp.go devapp: add stats page plus some minor cleanup 2019-10-09 22:36:12 +00:00
gophercon.go
gophercon_test.go
gzip.go
release.go devapp: update burndown chart to track 1.17 milestone 2021-03-02 16:09:02 +00:00
release_test.go
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
service-staging.yaml
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