Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mdb/concourse-webhook-resource
A basic Concourse resource to perform HTTP requests against a configured URL
https://github.com/mdb/concourse-webhook-resource
Last synced: about 2 months ago
JSON representation
A basic Concourse resource to perform HTTP requests against a configured URL
- Host: GitHub
- URL: https://github.com/mdb/concourse-webhook-resource
- Owner: mdb
- Created: 2017-01-29T15:10:41.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2017-01-31T14:54:23.000Z (almost 8 years ago)
- Last Synced: 2024-10-27T20:19:46.867Z (3 months ago)
- Language: Shell
- Size: 3.91 KB
- Stars: 3
- Watchers: 3
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- stars - mdb/concourse-webhook-resource
README
# concourse-webhook-resource
A [ConcourseCI](http://concourse.ci) resource to issue an HTTP request to some URL from Concourse.
This is largely a simple reference implementation illustrating how to make and test a custom Concourse resource.
[View the Docker image on DockerHub »](https://hub.docker.com/r/clapclapexcitement/concourse-webhook-resource/)
## Source Configuration
* `url`: *Required*. The webhook URL to which an HTTP request should be issued.
Example:
```
resource_types:- name: webhook
type: docker-image
source:
repository: clapclapexcitement/concourse-webhook-resourceresources:
- name: ping-some-url
type: webhook
source:
url: "http://some.url"
```## Behavior
### `out`: Issues an HTTP request
Issues and HTTP request to the configured `url` with the configured params.
#### Parameters
* `http_method`: *Optional*. The HTTP method with which to issue the webhook request. For example: "POST". Defaults to "GET."
* `body`: *Optional*. The HTTP body to send in the request. For example: '{"foo": "bar"}'.