Conversation
Create a PR automatically when a new OBI release is detected.
There was a problem hiding this comment.
Pull request overview
This PR automates the process of updating the OBI (OpenTelemetry eBPF Instrumentation) chart by adding a scheduled GitHub Actions workflow and a supporting shell script.
Changes:
- Adds a new workflow (
.github/workflows/update-obi-chart.yaml) that runs daily, on manual dispatch, or on repository dispatch to detect new OBI releases and create/update a PR. - Adds a shell script (
.github/scripts/update-obi-chart.sh) that resolves the latest release tag, updatesChart.yaml, re-renders examples, and sets workflow outputs for the PR step.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 3 comments.
| File | Description |
|---|---|
.github/workflows/update-obi-chart.yaml |
New workflow for scheduled/manual OBI chart update with PR creation |
.github/scripts/update-obi-chart.sh |
Script to resolve release, update chart metadata, and signal changes via outputs |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
|
Instead of a script, is it possible to use dependabot? I know dependabot can be told to watch a helm chart's dependencies, can it be told to watch for new images that correspond to the appVersion? |
Let me look into this 👍 |
|
I do not think Dependabot is a good fit for this specific OBI update flow. The important distinction is what that Honeycomb config is doing. The: - package-ecosystem: "helm"
directories:
- "./charts/htp-bindplane"pattern is for Helm dependency updates, i.e. entries under That is not what we are doing for OBI here. For
The chart's image tags are also not explicitly pinned in From all this:
Given that, I think the GitHub Action and script is the more appropriate tool for this case. |
|
This PR was marked stale due to lack of activity. It will be closed in 14 days. |
|
@open-telemetry/helm-approvers please take a look. This automation ensures the OBI chart stays up to date and helps the OBI team avoid drift. |
Daily, check for a new OBI release, and create a PR automatically that updates the OBI chart.