Skip to content

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

Merged
joe-elliott merged 10 commits into
grafana: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 into
grafana: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

CLAassistant commented Sep 22, 2024

Copy link
Copy Markdown

CLA assistant check
All committers have signed the CLA.

@joe-elliott joe-elliott left a comment

Copy link
Copy Markdown
Collaborator

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

@joe-elliott joe-elliott left a comment

Copy link
Copy Markdown
Collaborator

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😅🙏

mattdurham pushed a commit to mattdurham/tempo that referenced this pull request Jun 18, 2026
…oyments (grafana#4110)

* fix(tools): fix github action

* fix(tools): use correct ref fr v4

* fix(tools): use correct ref

* fix(tools): fecth tags

* fix(tools): fetch tags

* fix(tools): use tag directly during build

* Revert "fix(tools): use tag directly during build"

This reverts commit 5cbd055.

* fix(tools): inject tag as version directly during build
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

5 participants