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

Support for sending message/notification from inside of a Pipeline #4

Open
keskad opened this issue Sep 21, 2023 · 0 comments
Open
Labels
feat New feature or request
Milestone

Comments

@keskad
Copy link
Contributor

keskad commented Sep 21, 2023

CI/CD Pipelines as a part of continuous integration process are used for testing the software. Testing frameworks like PHPUnit, PyTest or jUnit supports reporting.

Kubernetes-native solutions like Tekton or Argo Workflows does not have a presentation layer that could easily show a nice report of executed tests, therefore I come with a following proposal.

  • API) Pipelines Feedback Controller can expose a HTTP API allowing to send a notification message to destination PR/MR/commit/slack/other during the Pipeline execution.

  • Authentication) The controller could generate a temporary API token after receiving Pipeline starting signal and keep that token in a store (e.g. redis)

  • Credentials) Mutation Webhooks could be used to inject temporary token by a controller into the TaskRun's environment variable

  • jUnit implementation) Example implementation could be created in a separate repository - a CLI tool written in Go that would parse junit/xunit formatted report and contact Pipelines Feedback controller via API to send the notification

@keskad keskad added the feat New feature or request label Sep 21, 2023
@keskad keskad added this to the 1.1 milestone Oct 30, 2023
@keskad keskad modified the milestones: 1.1, 1.0 Nov 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feat New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant