performer of tasks, on request
| init | initial | |
| go.mod | initial | |
| go.sum | initial | |
| main.go | split auth out into it's own function | |
| README.md | readmee | |
doll
what is doll?
doll will perform basic pre-defined actions when it receives a http request with a valid token
why is doll?
i wanted to be able to run an action on a webhook but didn't want to rely on external services or overkill CI platforms
how to doll?
go build
doll's config is simple:
bindAddress = "localhost:8080"
[tasks.test]
key = "2ドルa10ドル9ドルkJCq41mvxqzyxGqO4EzAeqSTdb2MEfZiSiGORy8u.xvrUjIZcGWK"
path = "/path/to/thing"
command = "make"
args = ["target"]
[tasks.task2]
...
doll mkpass <password> generates a bcrypt password to use in the key section of a task config
doll serve config.toml starts doll from a config file
curl -H "Authorization: <key>" http(s)://<doll-uri>/<task-name>
where is doll going?
things i'll add eventually:
- logging
- stats and metrics