https://github.com/robert-oleynik/gitserver
A collection of constructs to deploy a git server with Jenkins written in Rust using tf-bindgen.
https://github.com/robert-oleynik/gitserver
Last synced: 10 months ago
JSON representation
A collection of constructs to deploy a git server with Jenkins written in Rust using tf-bindgen.
- Host: GitHub
- URL: https://github.com/robert-oleynik/gitserver
- Owner: robert-oleynik
- License: bsd-3-clause
- Created: 2023-04-17T08:43:30.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2023-04-17T08:44:07.000Z (about 3 years ago)
- Last Synced: 2025-01-05T05:25:15.650Z (over 1 year ago)
- Language: Rust
- Size: 61.5 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Git Server Constructs
A collection of constructs for [tf-bindgen] used to deploy a Git server based on
[Gitea] to Kubernetes.
[tf-bindgen]: https://github.com/robert-oleynik/tf-bindgen
[Gitea]: https://gitea.io/en-us/
## Requirements
- [Cargo](https://doc.rust-lang.org/cargo/)
- [Terraform](https://www.terraform.io/)
## Usage
This project will expose a CLI application used to run and configure the deployment.
Run the following command to get some help:
```sh
cargo run -- --help
```
You can use the provided binary to deploy/provision the git server.
## Configuration
This binary use the file `gitserver.toml` to specify deployment specific information.
The configuration will use the following fields:
```toml
[server]
domain = "" # Domain/IP required to setup correct routing.
node = "" # Kubernetes node to link this deployment to.
# Gitea root user configuration
[root]
user = "root" # Root user name
passwd = "..." # Root user password
email = "root@localhost" # E-Mail of root user
```
## Components
This repository contains infrastructure as code to deploy a git server with CI:
- [Gitea](https://gitea.io/) as git server
- [Postgresql](https://www.postgresql.org/) as database for gitea.
- [Memcached](https://www.memcached.org/) as cache for gitea.
- [Jenkins](https://www.jenkins.io/) as CI server
## Roadmap
## Contributing
## License
This project is licensed under the [BSD-3-Clause](./LICENSE) license.