Comments (7)
Hi,
Sounds awesome! Yeah, I guess notifications would be a nice first step as a new package here https://github.com/keel-hq/keel/tree/master/extension/notification.
Regarding approvals (bot stuff) it might be more tricky. If we get notifications in I could try refactoring bot package to be more "app agnostic" since in theory it shouldn't matter where the message is coming from (slack, hipchat, rocketchat). This would save a lot of time in the future as more chat integrations are being added.
If you have any questions or need help with anything, please let me know :)
from keel.
Hi, thx for the comment, the PR is out, hope it is all ok (my first PR for a open source project). Add a new notification provider was very easy. It could be cool to have similar system for the approvals bots. If you have time for refactoring its cool, otherwise I have time to do it as well, if it is ok for you.
from keel.
Hi, notifications PR looks good, however I don't use hipchat to test it out :) the problem with approvals and bot is that it uses two interfaces (slack real time messaging) and another slack webhooks based client.
I will move slack specific functions to a subpackage as the first step. Then, we will see how much is duplicated as I understand message structure might be different (bot name included or not).
from keel.
Cool, thx for the fast code review. I testet it with HipChat. I just did small refactoring by myself, If you wait for 5 min I will make a PR for it and you can have a look (just decline if you dont like it). I just moved all the bot code to some sub module. I don't think I can share any code from the slack.
from keel.
from keel.
I think it is a good idea. So now, as second approval bot is implemented I can see some patterns. We can try to define a meaningful interface for a bot. I would like to work on it. For now I think you can close this issue
from keel.
thanks @glower !
from keel.
Related Issues (20)
- Feature: Update non `images` fields HOT 2
- Assuming registry up-to-date status?
- Keel configuration to work behind a reverse proxy
- *v1beta1.CronJob: the server could not find the requested resource HOT 2
- Notifications feature proposal
- Website search bar not working
- Initial tag required? HOT 1
- High CPU usage HOT 5
- Fix documentation to add "Registry" webhook
- Bump helm chart release HOT 4
- Helm chart: Ingress not working with release name
- Add support for ntfy HOT 1
- Can keel handle multiple containers in a pod deployment? HOT 3
- Cannot use registry mirror
- keel is using deprecated api /apis/batch/v1beta1/cronjobs
- Helm chart still uses app version 0.19.1
- Timeout errors trying to use polling HOT 1
- Slack integration is broken
- Allow ignoring/skipping version
- GCP registry returns 404 on digest check
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 keel.