Skip to content

chore: Add automated Go version upgrade workflow#1665

Open
suyadav1 wants to merge 1 commit intoci_prodfrom
user/suyadav/go-upgrade-automation
Open

chore: Add automated Go version upgrade workflow#1665
suyadav1 wants to merge 1 commit intoci_prodfrom
user/suyadav/go-upgrade-automation

Conversation

@suyadav1
Copy link
Copy Markdown
Contributor

@suyadav1 suyadav1 commented May 1, 2026

  • Add GitHub Actions workflow (.github/workflows/go-upgrade.yml) that runs daily to detect new Go versions from MCR, update go.mod files and dependencies, and open a PR
  • Add env/go-version.txt as the single source of truth for GOLANG_BASE_IMAGE
  • Update ADO pipeline to read GOLANG_BASE_IMAGE from env/go-version.txt

- Add GitHub Actions workflow (.github/workflows/go-upgrade.yml) that
  runs daily to detect new Go versions from MCR, update go.mod files
  and dependencies, and open a PR
- Add env/go-version.txt as the single source of truth for GOLANG_BASE_IMAGE
- Update ADO pipeline to read GOLANG_BASE_IMAGE from env/go-version.txt

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@suyadav1 suyadav1 requested a review from a team as a code owner May 1, 2026 02:52
artifactName: linux-drop
steps:
- bash: |
# Read Go version from checked-in version file and set as pipeline variable
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

@suyadav1 - does this cause any issues when telegraf is in a different version but our pipeline is in a different version, will that be fine since we dont build tgf ourselves?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Yes, that should be fine. The approach remains the same, earlier we were reading directly from the pipeline variable manually updated by us whereas this will read from a file updated by this automation and set it as the pipeline variable.

@suyadav1
Copy link
Copy Markdown
Contributor Author

suyadav1 commented May 1, 2026

/azp run

@azure-pipelines
Copy link
Copy Markdown

Azure Pipelines successfully started running 1 pipeline(s).

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

Successfully merging this pull request may close these issues.

2 participants