Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement base action automation for a selected incoming event #831

Closed
4 tasks done
ezodude opened this issue Oct 31, 2022 · 0 comments · Fixed by #848
Closed
4 tasks done

Implement base action automation for a selected incoming event #831

ezodude opened this issue Oct 31, 2022 · 0 comments · Fixed by #848
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@ezodude
Copy link
Contributor

ezodude commented Oct 31, 2022

Overview

Implement the features enabled by setting the configuration provided by #828.

Investigate how this can work with the existing sources router. That is, actions added to source / resource / event combo based on actions automation config to easily trigger an action.

Acceptance Criteria

  • Configured automation is executed when a related k8s resource event is triggered.
  • Can run automations with templated commands.
  • A notification is sent to the appropriate channel when an automated action occurs (ideally through the k8s event system and not only through Botkube, so that the event is logged in the k8s infrastructure)
  • Add any necessary unit tests.
  • Add any necessary e2e tests.

Phases

  • Execute actions when events are coming from bound source
  • Execute actions even when users don't want to see the action outcome on channel
  • Add E2E tests

Later, if needed:

  • Emit K8s event when a given command is executed - Update: Confirmed with @brampling that it is not needed

Reason

Part of #789

@ezodude ezodude added the enhancement New feature or request label Oct 31, 2022
@ezodude ezodude added this to the v0.16.0 milestone Oct 31, 2022
@ezodude ezodude added this to Botkube Oct 31, 2022
@ezodude ezodude moved this to Todo in Botkube Oct 31, 2022
@pkosiec pkosiec moved this from Todo to In Progress in Botkube Nov 3, 2022
@pkosiec pkosiec self-assigned this Nov 3, 2022
@pkosiec pkosiec moved this from In Progress to To Review in Botkube Nov 10, 2022
Repository owner moved this from To Review to Done in Botkube Nov 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

2 participants