bazel run dev
bazel test //...
bazel build //services/server:server
bazel run //services/server:server
ibazel run //services/server:dev_server
ibazel run //services/another-server:dev_server
docker stop $(docker ps -a -q)
docker system prune --volumes
- Deploy new image to Kubernetes
- Run tests before applying changes
- Deploy for all services
- Deploy automatically when committing to repository
- Implement an Angular app
- Bazel watcher for local development (watch for code changes, etc.)
- These rules are kinda boiler paltey so you could wrap them up into gen rules. (refers to tests)
- Build Typescript libraries
- Link different packages into Typescript library
- Build Node.Js image
- Push Docker image to container registry
Install gcloud
https://www.addictivetips.com/ubuntu-linux-tips/install-google-cloud-sdk-on-linux/ and authenticate
bazel run //services/server:push_server
bazel run //services/server:k8s_deploy