https://github.com/leodido/saymyname-prow-plugin
A Prow external plugin that lets the bot answer properly...
https://github.com/leodido/saymyname-prow-plugin
kubernetes plugin prow
Last synced: 11 months ago
JSON representation
A Prow external plugin that lets the bot answer properly...
- Host: GitHub
- URL: https://github.com/leodido/saymyname-prow-plugin
- Owner: leodido
- Created: 2020-07-30T20:18:36.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2020-12-03T19:08:25.000Z (over 5 years ago)
- Last Synced: 2024-05-09T20:25:54.254Z (about 2 years ago)
- Topics: kubernetes, plugin, prow
- Language: Go
- Homepage:
- Size: 70.3 KB
- Stars: 7
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# saymyname-prow-plugin
This is a [Prow](https://github.com/kubernetes/test-infra/tree/master/prow) [external plugin](https://github.com/kubernetes/test-infra/tree/master/prow/plugins#external-plugins).
> If you comment `/poiana` on Github, Prow replies with a random sentence...

You can learn about Prow external plugins from below links:
- [Going Beyond CI/CD with Prow at KubeCon EU 2020 (video)](https://youtu.be/qQvoImxHydk?t=1554)
- [Going Beyond CI/CD with Prow at KubeCon EU 2020 (slides)](https://speakerdeck.com/leodido/cd-with-prow)
- [custom external plugin](https://github.com/kubernetes/test-infra/tree/master/prow/plugins#external-plugins)
- [in-cluster plugins](https://github.com/kubernetes/test-infra/tree/master/prow/plugins)
- [official external plugins](https://github.com/kubernetes/test-infra/tree/master/prow/external-plugins)
Docker image is here: https://hub.docker.com/repository/docker/leodido/saymyname-prow-plugin
## Deploy plugin
```
$ kubectl apply -f https://raw.githubusercontent.com/leodido/prow-plugin-saymyname/master/deploy.yaml
```
## Enable plugin
Append a below setting to your `plugins.yaml`.
```
external_plugins:
/:
- name: saymyname
endpoint: http://saymyname.default.svc.cluster.local:8787
events:
- issue_comment
```
## TODO
- [ ] Make configurable:
- [ ] Slash command
- [ ] Sentences set
- [ ] Test it with [phony](https://github.com/kubernetes/test-infra/tree/master/prow/cmd/phony#phony)
---
[](https://github.com/igrigorik/ga-beacon)