Skip to content

fix_3811: send semver version in api/stattus/buildinfo for cloud deployments#4110

Merged
joe-elliott merged 10 commits intografana:mainfrom
Aki0x137:fix_3811
Oct 9, 2024
Merged

fix_3811: send semver version in api/stattus/buildinfo for cloud deployments#4110
joe-elliott merged 10 commits intografana:mainfrom
Aki0x137:fix_3811

Conversation

@Aki0x137
Copy link
Copy Markdown
Contributor

What this PR does:

  • After every merge to main, a github action will update the VESRION file in root of project with latest tag.
  • Added a rule in Makefile for the same.
  • image-tag tool is updated to validate and use the semver version, if present. Otherwise default to current behavior.

Which issue(s) this PR fixes:
Fixes #3811

Checklist

  • Tests updated
  • Documentation added
  • CHANGELOG.md updated - the order of entries should be [CHANGE], [FEATURE], [ENHANCEMENT], [BUGFIX]

@CLAassistant
Copy link
Copy Markdown

CLAassistant commented Sep 22, 2024

CLA assistant check
All committers have signed the CLA.

Copy link
Copy Markdown
Collaborator

@joe-elliott joe-elliott left a comment

Choose a reason for hiding this comment

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

Thanks for looking into this!

I think it's close but I'm afraid it will break the way we've named our docker images. I've pinged a few team members who I think will have more a immediate understanding of how this works.

Comment thread .github/workflows/update-version.yml Outdated
Comment thread tools/image-tag Outdated
Comment thread VERSION Outdated
Comment thread .github/workflows/ci.yml
Copy link
Copy Markdown
Collaborator

@joe-elliott joe-elliott left a comment

Choose a reason for hiding this comment

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

very cool improvement. thank you 🙏

@joe-elliott joe-elliott merged commit 8c23c56 into grafana:main Oct 9, 2024
@Aki0x137 Aki0x137 deleted the fix_3811 branch October 10, 2024 02:46
@Aki0x137
Copy link
Copy Markdown
Contributor Author

Thanks for the patience with this PR😅🙏

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.

Add semver version to api/status/buildinfo endpoint

5 participants