зеркало из https://github.com/golang/build.git
92d565a7cf
Add *GitHubIssue.HasLabelID method to maintner API. Since the text will change to “help wanted”, adjust the logic to make it a bit more future-proof. Updates golang/go#22329 Change-Id: I22e9f06d6e2aca8ae4da31532f9cde2317a709ff Reviewed-on: https://go-review.googlesource.com/83297 Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org> |
||
---|---|---|
.. | ||
static | ||
templates | ||
.gitignore | ||
Dockerfile | ||
Dockerfile.0 | ||
Makefile | ||
README.md | ||
deployment-prod.yaml | ||
deployment-staging.yaml | ||
devapp.go | ||
gophercon.go | ||
gophercon_test.go | ||
release.go | ||
release_test.go | ||
reviews.go | ||
server.go | ||
server_test.go | ||
service-prod.yaml | ||
service-staging.yaml |
README.md
devapp
Local development
$ go build
$ ./devapp
Then visit http://localhost:6343
Deployment
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