https://github.com/bob-cd/resource-git
A reference bob resource provider handling remote git repos
https://github.com/bob-cd/resource-git
ci-cd golang hacktoberfest
Last synced: about 1 year ago
JSON representation
A reference bob resource provider handling remote git repos
- Host: GitHub
- URL: https://github.com/bob-cd/resource-git
- Owner: bob-cd
- License: mit
- Created: 2018-12-31T10:52:55.000Z (over 7 years ago)
- Default Branch: main
- Last Pushed: 2025-04-05T04:35:45.000Z (about 1 year ago)
- Last Synced: 2025-04-05T05:27:54.546Z (about 1 year ago)
- Topics: ci-cd, golang, hacktoberfest
- Language: Go
- Homepage:
- Size: 162 KB
- Stars: 2
- Watchers: 8
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
### Reference Bob Resource: Git
This is a simple external resource enabling Bob to read git repositories.
#### Requirements
- [Go](https://golang.org/dl/) 1.22+
#### Running
- `go build main.go` to compile the code and obtain a binary `main`.
- `./main` will start on port `8000` by default, set the env var `PORT` to change.
#### API
- `GET /bob_resource`: Takes `repo` and `branch` as params, clones and
responds back with a tar of the repo.
- `GET /ping`: Responds with an `Ack`.