Generates names for various services using a prefix and the current version.
SlACK_BOT_TOKEN
: Required Token for Slack Bot that should be used to post messages
- Posts a message to slack based on the command provided. To give better information on the state of the pipeline the semver version is used.
version
: Required Filepath tosemver
version filecommand
: Required The type of message slack is supposed to send. Valid Arguments aresuccess
,failure
andreport
.directory
: Required if command isreport
Location of the html reportschannel
: Required The channel for the message to appear in
- Since this resource does not have a version itself
check
returns an empty JSON.
- Simply returns the provided version
- name: slack-upload
type: docker-image
source:
repository: quay.io/cosee-concourse/slack-upload-resource
- name: slack
type: slack-upload
source:
SLACK_BOT_TOKEN: xoxb-1345678903412-xxxxxxxxxxxxxxxxxxxxxxxxx
- put: slack
params:
version: version/number
command: report
directory: junit
channel: bot-channel
- put: slack
params:
version: version/number
command: failure
channel: bot-channel