#595 Implement Sandbox notifications processor and publisher
Pull request opened by
Future-Outlier
TL;DR
Implement notifications processor and publisher for Sandbox.
Type
☐ Bug Fix
☑︎ Feature
☐ Plugin
Are all requirements met?
☑︎ Code completed
☐ Smoke tested
☑︎ Unit tests added
☑︎ Code documentation added
☐ Any pending items have an associated Issue
Complete description
Add new
SandboxProcessor and
SandboxPublisher that implement the Processor interface.
I add config in yaml file like this
notifications:
type: sandbox
emailer:
emailServerConfig:
apiKeyEnvVar: "SENDGRID_API_KEY"
subject: "Notice: Execution \"{{ name }}\" has {{ phase }} in \"{{ domain }}\"."
sender: "<mailto:example@gmail.com|example@gmail.com>" # Consider using a generic email instead of personal
body: >
Execution \"{{ name }}\" has {{ phase }} in \"{{ domain }}\". View details at
<a href=\http://example.com/projects/{{ project }}/domains/{{ domain }}/executions/{{ name }}>
<http://example.com/projects/>{{ project }}/domains/{{ domain }}/executions/{{ name }}</a>. {{ error }}
screenshot
Tracking Issue
_Remove the '_fixes_' keyword if there will be multiple PRs to fix the linked issue_
fixes
https://github.com/flyteorg/flyte/issues/
Follow-up issue
NA
OR
https://github.com/flyteorg/flyte/issues/
flyteorg/flyteadmin
GitHub Actions: Build & Push Flyteadmin Image
GitHub Actions: Build & Push Flytescheduler Image
GitHub Actions: Goreleaser
GitHub Actions: Bump Version
✅ 10 other checks have passed
10/14 successful checks