Comments (5)
Rule-based
The Slack app should be rule-based, meaning users can write a more or less unlimited amount of rules to trigger notifications to different channels and in different scenarios. There should be no one global behavior.
There are currently two behaviors:
- post a message to a channel (can be configured per "rule")
- DM a message (only to the user that created the PR or triggered the build)
and two triggers:
- A pipeline activity changes
- A PR changes state
and two filters:
- Repo
- Org
The user is able to configure any combination of the behaviors, triggers and filters using an unlimited number of rules.
Project-based
Users should configure notification rules on a per-project basis so that some projects on the cluster can have different notification rules than other projects.
See above, but it can be configured using either repos or orgs today.
Branch-based
All rules should have the option to either apply to all branches, to specific branches (via either an explicit string or a regex pattern) or to all branches except (i.e. blacklist some branches)
This functionality is missing.
Triggers
Let users trigger what events send a Slack message, i.e.
Only failures or only successes
Only on merging vs all PR events vs all commits
When new preview environments go live
This functionality is missing.
Personal
The one exception to global rules should be on a per-user basis, where users can configure Slack DMs to be sent to them on their builds if they want. This should default to no and be opt-in, most likely.
This functionality is missing - either DMs for builds are on for a repo/org, or off for a repo/org
from jx-slack.
Issues go stale after 90d of inactivity.
Mark the issue as fresh with /remove-lifecycle stale
.
Stale issues rot after an additional 30d of inactivity and eventually close.
If this issue is safe to close now please do so with /close
.
Provide feedback via https://jenkins-x.io/community.
/lifecycle stale
from jx-slack.
/remove-lifecycle stale
from jx-slack.
Issues go stale after 90d of inactivity.
Mark the issue as fresh with /remove-lifecycle stale
.
Stale issues rot after an additional 30d of inactivity and eventually close.
If this issue is safe to close now please do so with /close
.
Provide feedback via https://jenkins-x.io/community.
/lifecycle stale
from jx-slack.
Stale issues rot after 30d of inactivity.
Mark the issue as fresh with /remove-lifecycle rotten
.
Rotten issues close after an additional 30d of inactivity.
If this issue is safe to close now please do so with /close
.
Provide feedback via https://jenkins-x.io/community.
/lifecycle rotten
from jx-slack.
Related Issues (20)
- switch from nlopes/slack to the community maintained https://github.com/slack-go/slack
- WARNING: No pipeline activities exist for foo/bar/pr-1
- switch from watching slackbots and creating multiple channels that then also watch activities HOT 4
- add unit test coverage and tests! HOT 4
- 401 Bad credentials [] HOT 4
- add release pipeline notifications HOT 5
- panic when getting pull request info HOT 4
- jx-boot error when using chart
- Not getting pipeline messages HOT 3
- Bug: case mismatch between source-config.yaml and pipeline activity HOT 2
- Its unclear how to set MessageFormat flags
- WARNING: No pipeline activities exist for org/proj/pr-1000 HOT 7
- Direct Message Reviewers Feature not working HOT 1
- lets have a mapping file of users git email addresses to slack email address HOT 2
- does not work OOTB with bitbucketcloud
- deploy chart version 0.0.65
- document installing the slack bot app HOT 4
- document configuring initial users email mappings HOT 4
- DMs that show pipeline activity steps are only showing the meta pipeline steps
- remove dependency on the jx repo HOT 4
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 jx-slack.