build/devapp
Brad Fitzpatrick 45de920fc2 cmd/{buildlet/stage0,scaleway,tip}, devapp: stop using gitlock, use go modules
Updates golang/go#26872
Updates golang/go#27719

Change-Id: I4de6d4f157b349911362e02b1781abd8b813f87a
Reviewed-on: https://go-review.googlesource.com/c/build/+/176257
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
2019-05-09 18:25:22 +00:00
..
owners devapp: remove trailing slash from /owners handler, take 2 2019-04-24 21:17:23 +00:00
static devapp: add burndown chart to /release page 2018-11-21 15:25:22 +00:00
templates devapp: give release-blocker its own axis on chart 2019-05-03 02:33:32 +00:00
Dockerfile cmd/{buildlet/stage0,scaleway,tip}, devapp: stop using gitlock, use go modules 2019-05-09 18:25:22 +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 to suggest 'gcloud auth configure-docker' 2019-04-10 19:30:45 +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: check for error from s.initCorpus 2018-08-02 21:57:06 +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 milestone and cycle start date 2019-02-26 18:04:36 +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 maintner,devapp: add ability to filter changes on reviews page 2019-02-23 00:18:23 +00:00
server.go devapp: remove trailing slash from /owners handler, take 2 2019-04-24 21:17:23 +00:00
server_test.go x/build/devapp: support title prefix filtering in HelpWanted handler 2018-02-23 18:42:13 +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
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

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