Add automated telegraf-agent upgrade workflow#1652
Open
Conversation
Adds a scheduled GitHub Actions workflow that checks PMC daily for new telegraf-agent packages and creates PRs to update kubernetes/linux/setup.sh. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
00d7fb6 to
f523d2a
Compare
Contributor
Author
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
- Add 'Fetch upstream release notes' step that fetches from influxdata/telegraf GitHub releases using gh api (authenticated, best-effort with fallback) - Enhanced PR body with collapsible release notes, full release link, and compare link between versions - Use --body-file and env vars to safely handle multiline release notes containing special characters - Use unique delimiter for GITHUB_OUTPUT multiline values to prevent collision Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds a scheduled GitHub Actions workflow (
.github/workflows/check-telegraf-upgrade.yml) that automatically detects newtelegraf-agentpackages on PMC and creates PRs to updatekubernetes/linux/setup.sh.How it works
telegraf-agentversionkubernetes/linux/setup.shsetup.sh, pushes a branch, and creates a PRTesting
After merging, trigger manually via Actions → Check Telegraf Package Upgrade → Run workflow to verify it detects the current version correctly.