Comments (2)
Thanks for the suggestion @greg-cann (& @bobthemighty)!
My brain is asynchronously having a think about how to implement it in a sensible, maintainable and secure way.
Initial thoughts/notes to self:
- Add a Slack command
/lockbotapi
which generates api key for the current user which has their permissions and performs actions as them (if users want to add bot/service account they need to register one in their slack workspace and generate an API key for them that way) - Create api to perform actions, will need a way to expose data in REST like format instead of Slack Markdown messages, might get my
Lockbot
abstraction to return a message and data so that domain logic is encapsulated - Domain name for API endpoint: https://www.serverless.com/blog/serverless-api-gateway-domain/
from lockbot.
Anonymous feedback:
Nice tool to help with teams working on shared repos! Would have rated higher if there was more integration with CI pipelines.
E.g., if nobody has locked an environment, then when approving a deploy to that environment, lockbot would send a message that the user who approved the deploy has locked that environment.
E.g. if somebody has already locked the environment and another person attempts to deploy to there, they would be blocked by lockbot somehow
from lockbot.
Related Issues (20)
- Make it so environment deployments are not shown as waiting
- Send message in channel when locking via API HOT 2
- Add support for enterprise/org-wide installations
- Replace aws-serverless-express
- Replace deprecated io-ts Decoder.type
- Public API with usage stats
- Error when unknown option is passed to /unlock
- Mention in Readme companies/users for social proof HOT 1
- Try Lambda Function URL? HOT 1
- lockbot gets stuck on a locked resource if the string contains backticks HOT 1
- Add to slack button not working HOT 5
- Reorganise code and files HOT 1
- Submit to Slack App Directory
- Add TTL to DynamoDB so that stale locks expire (albeit silently, for data cleanup purposes) HOT 1
- Improve installationStore HOT 2
- Support adding bot to workspace and not just oauth with multiple installations
- Add tracing?
- Feature: show the time a resource was locked in the slack message HOT 1
- Upgrade Slack Bolt from 2 to 3
- Use proper URL in prod
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 lockbot.