https://github.com/bob-cd/bob-deploy
Deploying Bob on various plaforms
https://github.com/bob-cd/bob-deploy
ci-cd docker hacktoberfest kubernetes
Last synced: about 1 year ago
JSON representation
Deploying Bob on various plaforms
- Host: GitHub
- URL: https://github.com/bob-cd/bob-deploy
- Owner: bob-cd
- License: mit
- Created: 2021-09-20T08:03:54.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2024-10-27T11:08:20.000Z (over 1 year ago)
- Last Synced: 2024-10-27T12:51:45.669Z (over 1 year ago)
- Topics: ci-cd, docker, hacktoberfest, kubernetes
- Homepage:
- Size: 30.3 KB
- Stars: 2
- Watchers: 4
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## Deploying Bob
This gathers reference deployments for [Bob](https://bob-cd.github.io/) on various platforms. The cluster is configured as follows with a single replica setup of:
- [PostgreSQL](https://www.postgresql.org/)
- [RabbitMQ](https://www.rabbitmq.com/)
- [apiserver](https://github.com/bob-cd/bob/tree/main/apiserver)
- [runner](https://github.com/bob-cd/bob/tree/main/runner)
- [resource-git](https://github.com/bob-cd/resource-git)
- [artifact-store](https://github.com/bob-cd/artifact-local)
**Note: There are no resource limits configured and all defaults used. This is intended to be a reference for actual deployments.**
### [Kubernetes](https://kubernetes.io/)
#### Requirements
- Kubernetes 1.20+
- [kubectl](https://kubernetes.io/docs/reference/kubectl/overview/)
#### Deploying
From the root of the dir:
- Run `kubectl apply -f k8s/` to create all the necessary services.
- Run `kubectl port-forward service/bob-apiserver 7777:7777` to forward the `7777` port on the local machine and should be available on it.
- To clean up, run:
- `kubectl delete -f k8s/`
- `kubectl delete pvc --all`
### [Docker](https://www.docker.com/) or [Podman](https://podman.io/)
#### Requirements
- [Podman](https://podman.io/getting-started/installation) 4+ or [Rootless Docker](https://docs.docker.com/engine/security/rootless/) 20.10+
- [podman-compose](https://github.com/containers/podman-compose) or [docker compose](https://docs.docker.com/compose/install/#install-compose)
#### Deploying
From the root of the project:
- Run `podman-compose up` or `docker-compose up` to create all the necessary services.
- A little while later ...
- The service should be available on port `7777`.
## License
Copyright © 2022 Bob authors.
Distributed under the MIT License. See LICENSE.