Skip to content

Conversation

meyskens
Copy link
Contributor

This change moves the Renovate bot from the hosted version to be running as a scheduled job in GHA.
This will allow us to run any post-upgrade command in our set up environment and allow us to use our tooling to update versions we use in variables that generate code or documentation like the Helm chart.

It does come with a downside that any actions with the bot (eg. asking for a rebase) does come with a delay as the bot runs every two hours (like on the tetragon repo).

Fixes: #25457

@meyskens meyskens added area/CI Continuous Integration testing issue or flake release-note/ci This PR makes changes to the CI. labels Jan 10, 2024
@maintainer-s-little-helper maintainer-s-little-helper bot added the dont-merge/needs-sign-off The author needs to add signoff to their commits before merge. label Jan 10, 2024
@meyskens meyskens force-pushed the pr/meyskens/renovate-gha branch 2 times, most recently from 5f62c5b to 45c7e51 Compare January 10, 2024 15:24
@maintainer-s-little-helper maintainer-s-little-helper bot removed the dont-merge/needs-sign-off The author needs to add signoff to their commits before merge. label Jan 10, 2024
@cilium cilium deleted a comment from maintainer-s-little-helper bot Jan 10, 2024
@cilium cilium deleted a comment from maintainer-s-little-helper bot Jan 10, 2024
@meyskens meyskens requested a review from aanm January 10, 2024 15:35
@meyskens meyskens marked this pull request as ready for review January 10, 2024 15:37
@meyskens meyskens requested review from a team as code owners January 10, 2024 15:37
@meyskens meyskens requested a review from christarazi January 10, 2024 15:37
@meyskens meyskens force-pushed the pr/meyskens/renovate-gha branch from 45c7e51 to e261a92 Compare January 10, 2024 15:37
@meyskens meyskens requested a review from aanm January 12, 2024 09:34
@meyskens
Copy link
Contributor Author

/test

Copy link
Member

@aanm aanm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🎉

Copy link

This pull request has been automatically marked as stale because it
has not had recent activity. It will be closed if no further activity
occurs. Thank you for your contributions.

@github-actions github-actions bot added the stale The stale bot thinks this issue is old. Add "pinned" label to prevent this from becoming stale. label Feb 17, 2024
@meyskens meyskens force-pushed the pr/meyskens/renovate-gha branch 2 times, most recently from 816b104 to 6f9c8bd Compare February 26, 2024 09:48
@github-actions github-actions bot removed the stale The stale bot thinks this issue is old. Add "pinned" label to prevent this from becoming stale. label Feb 27, 2024
Copy link

This pull request has been automatically marked as stale because it
has not had recent activity. It will be closed if no further activity
occurs. Thank you for your contributions.

@github-actions github-actions bot added the stale The stale bot thinks this issue is old. Add "pinned" label to prevent this from becoming stale. label Mar 28, 2024
@github-actions github-actions bot removed the stale The stale bot thinks this issue is old. Add "pinned" label to prevent this from becoming stale. label Mar 29, 2024
@sayboras
Copy link
Member

This will be very nice improvement

@sayboras sayboras requested a review from aanm March 31, 2024 07:41
@aanm aanm marked this pull request as draft April 24, 2024 09:01
Copy link

This pull request has been automatically marked as stale because it
has not had recent activity. It will be closed if no further activity
occurs. Thank you for your contributions.

@github-actions github-actions bot added the stale The stale bot thinks this issue is old. Add "pinned" label to prevent this from becoming stale. label May 25, 2024
meyskens added 3 commits June 3, 2024 22:25
This change adds a GHA to validate the Renovate configuration when it
is changed inside a PR.
This is analog to the one in the Tetragon repository

Signed-off-by: Maartje Eyskens <maartje@eyskens.me>
This adds a file that is similar to the one in the cilium/tetragon repo
to run a self hosted Renovate bot inside GitHub Actions

Signed-off-by: Maartje Eyskens <maartje@eyskens.me>
This points the Renovate SPIRE update to the Makefile.values file.
After the version update Renovate will run the Makefile to update the
Helm charts.

Signed-off-by: Maartje Eyskens <maartje@eyskens.me>
@sayboras sayboras force-pushed the pr/meyskens/renovate-gha branch from 6f9c8bd to 2c589ae Compare June 3, 2024 12:27
@sayboras sayboras marked this pull request as ready for review June 3, 2024 12:28
@github-actions github-actions bot removed the stale The stale bot thinks this issue is old. Add "pinned" label to prevent this from becoming stale. label Jun 4, 2024
Copy link
Member

@mtardy mtardy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like it's been inspired by tetragon configuration 😉 looks good to me!

@aanm aanm merged commit 38e90f3 into main Jun 6, 2024
@aanm aanm deleted the pr/meyskens/renovate-gha branch June 6, 2024 09:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/CI Continuous Integration testing issue or flake release-note/ci This PR makes changes to the CI.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add renovate bot as a GitHub action
5 participants