Comments (1)
Not magically no. Because this is a resource, you still need to include it in your pipeline as a put
task. The easiest way to normalize this is using yaml anchors:
# anchor
slack-alert: &slack-alert
on_success:
put: alert
params:
alert_type: fixed
on_failure:
put: alert
params:
alert_type: broke
# pipeline
- name: example-job
plan:
- get: my-resource
trigger: true
<<: *slack-alert
- task: do-other-tasks-here
config:
platform: linux
image_resource:
type: docker-image
source:
repository: alpine
run:
path: sh
args:
- -exc
- |
echo "Fake task"
<<: *slack-alert
from concourse-slack-alert-resource.
Related Issues (20)
- Instance vars with an array panics the resource HOT 4
- version is missing from previous step HOT 2
- This resource is compatible with mattermost HOT 3
- Provide some basic template variable expansion? HOT 7
- latest docker image tag is broke HOT 2
- No link to the build in the post in mattermost due to Footer not supported HOT 6
- Need ability to mark slack server as insecure HOT 2
- fixed/broke AUTH not working with oauth2/oidc HOT 4
- Broken OAuth in fixed/broke notifications for Concourse >= 6.0 HOT 8
- Error Authenticating with Concourse 6.5.0 HOT 6
- Dependabot can't resolve your Go dependency files
- Encountering 'Invalid client credentials' in Concourse 6.0 HOT 8
- Message param does not recognize concourse parameters HOT 2
- Require image for ARM64 architecture HOT 3
- fixed/broke AUTH not working with oauth2 HOT 7
- Alert types `fixed` and `broke` fail for instanced pipelines with `error getting last build status: error requesting Concourse build status: unexpected status code: 404` HOT 9
- can we use env vars in message and text ?
- put command HOT 2
- Looking for a new maintainer HOT 3
- Add retry logic for Slack http requests HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from concourse-slack-alert-resource.