A notifications gateway for helping your little robot friends to be heard (from Concourse!)
5M+
A notifications gateway for helping your little robot friends to be heard (from Concourse!)
Here's how you install this resource into your pipeline / Concourse:
resource_types:
- name: shout
type: docker-image
source:
repository: huntprod/shout-resource
tag: latest
url: Required. The full URL (HTTPS or otherwise) of your
Shout! API server.
username: Required. The username of the Shout! operations
user, required to post events and announcements.
password: Required. The password of the Shout! operations
user, required to post events and announcements
topic: Optional. The Shout! topic to post events to.
If not specified here, this must be specified in the out
parameters.
method: Optional. How to notify via Shout!. If given,
must be one of "event", for break/fix notifications, or
"announce" for always-sent announcements.
If not specified here, this must be specified in the out
parameters.
ca: Optional. A concatenated list of X.509 Certificate
Authority certificates, PEM-encoded.
insecure: Optional (and highly discouraged). Skip
validation of any TLS X.509 certificates presented by the Shout!
API server. Try to use ca instead.
Send to the Shout! server at 10.7.8.9, via HTTPS:
resources:
- name: bug-somebody
type: shout
source:
uri: https://10.7.8.9
topic: some-pipeline
out: Send an event notification to Shout!Issues an HTTP(S) request to the Shout! API server to inform it of a new event, either successful or otherwise.
Parameters
topic: Optional. The Shout! topic to post events to.
This must be specified if you have not defined a topic at the
source level (see above).
method: Optional. How to notify via Shout!. Must be one
of "event", for break/fix notifications, or "announce" for
always-sent announcements.
Defaults to "event".
message: Required (but see file). The message text to
send out.
file: Optional. A file path that contains the message
text to send out. If file is given, message is ignored
(and no longer required).
link: Optional. A URL to be included in the failure /
success notification messages.
ok: Optional. Whether or not this event is a successful one
("ok": true), or a failure ("ok": false). This governs how
Shout! will react to the event, given the topic's recent
history.
metadata: Optional. A key-value map of metadata, which
can be used by Shout! rules for a richer messaging experience.
Content type
Image
Digest
Size
7.4 MB
Last updated
about 8 years ago
docker pull huntprod/shout-resource