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

Use a notifier plugin in GoCD #405

Open
3 tasks
timmc-edx opened this issue Aug 18, 2023 · 3 comments
Open
3 tasks

Use a notifier plugin in GoCD #405

timmc-edx opened this issue Aug 18, 2023 · 3 comments
Labels

Comments

@timmc-edx
Copy link
Member

timmc-edx commented Aug 18, 2023

A/C

  • (timebox 1-2 days) establish the difficulty in using the GoCD email notifier or modifying another existing plugin
  • If it's fast, update GoCD to use the plugin instead of the existing email notifications that are built into GoCD
  • If it's not fast, discuss with the team whether or not to create a ticket for implementing or discarding the idea

GoCD's built-in notifications system occasionally stops sending notifications, requiring manual intervention after server restart. We've also tried adding explicit failure/success calls to Opsgenie, but it's verbose and has various downsides.

Another option is to add a notifier plugin.

Implementation notes:

There are other APIs we can call; we may be able to send the output logs to Opsgenie by using the Artifacts API to retrieve cruise-output/console.log.

@timmc-edx timmc-edx converted this from a draft issue Aug 18, 2023
@rgraber rgraber moved this to Prioritized in Arch-BOM Aug 24, 2023
@rgraber rgraber moved this from Prioritized to On-Call in Arch-BOM Aug 24, 2023
@robrap
Copy link
Contributor

robrap commented Nov 2, 2023

@timmc-edx: This has bubbled near the top of the on-call backlog, but doesn't strike me as more important than other work, including main focus work. What are your thoughts? Do you want to discuss as a team?

@timmc-edx
Copy link
Member Author

I think it would be pretty quick to try the existing email notifier plugin, and likely worth the effort.

@timmc-edx
Copy link
Member Author

timmc-edx commented Nov 3, 2023

Status: We're overall reasonably happy with the behavior of the current approach, in which we have calls to Opsgenie at the end of each job and in a separate stage at the end of each pipeline. However, it's a real bear to maintain—changing the pipeline (adding and removing jobs and stages, reordering, etc.) is now error-prone and involves a lot of extra code. So we'd likely still benefit from a proper notifier plugin, but more so if we're about to embark on changes to the edxapp pipelines.

@jristau1984 jristau1984 removed the status in Arch-BOM Jul 1, 2024
@jristau1984 jristau1984 moved this to Backlog in Arch-BOM Jul 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: Backlog
Development

No branches or pull requests

3 participants