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

previews: GHA bot comment with deployment status #387

Open
bo0tzz opened this issue Feb 13, 2025 · 1 comment
Open

previews: GHA bot comment with deployment status #387

bo0tzz opened this issue Feb 13, 2025 · 1 comment

Comments

@bo0tzz
Copy link
Member

bo0tzz commented Feb 13, 2025

https://fluxcd.io/flux/components/notification/providers/#github-dispatch into a github actions workflow that leaves a comment, with https://fluxcd.io/flux/components/notification/alerts/ to feed it events from the preview objects.

For the first pass, just have the workflow log the payload and then exit, to work out what information is actually in there.

Have each preview include its own Alert object with metadata that links it to the PR.

Like in https://flux-iac.github.io/tofu-controller/use-tf-controller/flux-receiver-and-alert/, patch out the kind enum in the Alert CRD and add RBAC for the extra objects.

@bo0tzz
Copy link
Member Author

bo0tzz commented Feb 13, 2025

Depends on fluxcd/notification-controller#996

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant