golang.org/x/build@v0.0.0-20240506185731-218518f32b70/cmd/gopherbot/README.md (about)

     1  <!-- Auto-generated by x/build/update-readmes.go -->
     2  
     3  [![Go Reference](https://pkg.go.dev/badge/golang.org/x/build/cmd/gopherbot.svg)](https://pkg.go.dev/golang.org/x/build/cmd/gopherbot)
     4  
     5  # golang.org/x/build/cmd/gopherbot
     6  
     7  The gopherbot command runs Go's gopherbot role account on GitHub and Gerrit.
     8  <!-- End of auto-generated section -->
     9  
    10  ## Development
    11  
    12  To test changes locally, run:
    13  
    14  ```sh
    15  $ go run . -dry-run
    16  ```
    17  
    18  To connect gopherbot to development instances of, e.g. devapp, modify the
    19  source code to point at those instances.
    20  
    21  ## Development with Docker
    22  
    23  ```
    24  make docker-image
    25  docker volume create golang-maintner
    26  docker run -v golang-maintner:/.cache/golang-maintner \
    27      -it --rm gcr.io/go-dashboard-dev/gopherbot --dry-run
    28  ```
    29  
    30  ## Deployment
    31  
    32  See the documentation on [deployment](../../doc/deployment.md).