https://github.com/bells17/prow-plugin-pingpong
This is a Prow external-plugin sample.
https://github.com/bells17/prow-plugin-pingpong
k8s-sig-testing kubernetes prow
Last synced: about 1 month ago
JSON representation
This is a Prow external-plugin sample.
- Host: GitHub
- URL: https://github.com/bells17/prow-plugin-pingpong
- Owner: bells17
- Created: 2019-12-25T11:01:02.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2019-12-25T11:25:49.000Z (over 6 years ago)
- Last Synced: 2025-10-25T22:26:44.910Z (8 months ago)
- Topics: k8s-sig-testing, kubernetes, prow
- Language: Go
- Homepage:
- Size: 132 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# prow-plugin-pingpong
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) sample. if you commented `/ping` on Github, Prow bot reply `pong`.

You can learn about Prow external-plugin from below links:
- [about external plugin](https://github.com/kubernetes/test-infra/tree/master/prow/plugins#external-plugins)
- [In-tree 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/bells17/pingpong
## Deploy plugin
```
$ kubectl apply -f https://raw.githubusercontent.com/bells17/prow-plugin-pingpong/master/deploy.yaml
```
(Before deploying this plugin, you need a deployed Prow)
## Enable plugin
Append a below setting to `plugins.yaml`.
```
external_plugins:
/:
- name: pingpong
endpoint: http://pingpong.default.svc.cluster.local:8888
events:
- issue_comment
```
And apply this settings as below:
```
$ kubectl create configmap plugins \
--from-file=plugins.yaml=plugins.yaml --dry-run -o yaml \
| kubectl replace configmap plugins -f -
```