sourcegraph/cmd/msp-example
Robert Lin 17a5fdb1d2
chore/msp-example: refactor to align with service structure best practices (#62954)
In monorepo:

```
cmd/my-service/main.go
-> cmd/my-service/service
-> cmd/my-service/internal/...
```

Outside monorepo a similar unnested structure aligns with this as well:

```
cmd/my-service <- command
service/...    <- entrypoint
internal/...   <- internal implementation
```


## Test plan

Basic example builds and runs: `sg run msp-example`
2024-05-29 09:58:43 -07:00
..
internal chore/msp-example: refactor to align with service structure best practices (#62954) 2024-05-29 09:58:43 -07:00
service chore/msp-example: refactor to align with service structure best practices (#62954) 2024-05-29 09:58:43 -07:00
BUILD.bazel chore/msp-example: refactor to align with service structure best practices (#62954) 2024-05-29 09:58:43 -07:00
image_test.yaml dev/msp: add CloudSQL integration (#58420) 2023-11-22 15:32:53 -08:00
main.go chore/msp-example: refactor to align with service structure best practices (#62954) 2024-05-29 09:58:43 -07:00
README.md bazel: use transitions to apply cross-compile platform automatically to oci_image (#60569) 2024-02-20 13:57:56 +00:00

msp-example

This service is an example service testing and demonstrating how to build Managed Services Platform services: go/msp

Pushing a new version

bazel run //cmd/msp-example:candidate_push --stamp -- --tag insiders --repository us.gcr.io/sourcegraph-dev/msp-example