https://github.com/junland/conveyor
Minimal Unix-like CI Runner
https://github.com/junland/conveyor
Last synced: 5 months ago
JSON representation
Minimal Unix-like CI Runner
- Host: GitHub
- URL: https://github.com/junland/conveyor
- Owner: junland
- Created: 2020-01-23T21:04:35.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2020-06-01T18:46:40.000Z (about 6 years ago)
- Last Synced: 2024-06-19T04:27:43.261Z (almost 2 years ago)
- Language: Go
- Size: 2.49 MB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# conveyor
Minimal Unix-like CI Runner
## REST API
```
POST /job -- Queue a job
```
```
GET /job/ -- Get status of job.
```
```
DELETE /job/ -- Stop / remove job from queue.
```
```
POST /job/ -- Restart / reinsert job into queue.
```
```
GET /job//log -- Get log file of job.
```
## Testing
```
curl -H "Content-Type: application/json" -d '{"name":"frontend","commands":["echo 1","echo 2","touch file_$RANDOM"]}' http://localhost:8080/job
```