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

Automate PR Creation for New Prometheus-Operator Releases #6877

Open
AshwinSriram11 opened this issue Aug 27, 2024 · 3 comments · May be fixed by prometheus-operator/website#112
Open

Automate PR Creation for New Prometheus-Operator Releases #6877

AshwinSriram11 opened this issue Aug 27, 2024 · 3 comments · May be fixed by prometheus-operator/website#112

Comments

@AshwinSriram11
Copy link
Member

AshwinSriram11 commented Aug 27, 2024

Component(s)

Website

What is missing? Please describe.

Currently, we update the website manually for each new Prometheus-Operator release. To ensure the website is always up-to-date, we should automate the process of updating the website repository whenever a new release is made in the Prometheus-Operator repository.

Describe alternatives you've considered.

No response

Environment Information.

Environment

Kubernetes Version:
Prometheus-Operator Version:

@AshwinSriram11 AshwinSriram11 added kind/feature needs-triage Issues that haven't been triaged yet labels Aug 27, 2024
@AshwinSriram11
Copy link
Member Author

In discussions with @ArthurSens and @nicolastakashi, one solution is to create Github workflows, i.e. create a GitHub Actions workflow in the Prometheus-Operator repository that creates a PR in the website repository whenever we push tags.

@ArthurSens ArthurSens removed kind/feature needs-triage Issues that haven't been triaged yet labels Aug 27, 2024
@slashpai
Copy link
Contributor

One of the way could be to check if a new tag is available in repo and check if version in that matches with existing version in website's prometheusOperator.json and create PR :)

we use something similar for openshift to sync forks so just for the version file updates https://github.com/rhobs/syncbot/blob/main/.github/workflows/merge-flow.yaml#L68-L81 we can create something similar

Copy link
Contributor

This issue has been automatically marked as stale because it has not had any activity in the last 60 days. Thank you for your contributions.

@github-actions github-actions bot added the stale label Oct 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment