Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(sct_config): scylla-server-upgrade-target wasn't reported to Argus #9638

Merged
merged 1 commit into from
Jan 7, 2025

Conversation

fruch
Copy link
Contributor

@fruch fruch commented Jan 2, 2025

ARGUS_VERSION_RE wasn't covering plain version like 6.3.0~dev hence not sending it out to Argus.

the change is fixing the regex

this change also fixes get_branch_version to be able to return a full version string (including git sha and a date), cause we know Argus would need this data for metrics graphs and perf summaries.

also not having this information, is causing confusion on patch releases, when test are not get to the phase a node is upgrades

Ref: scylladb/argus#533

Testing

PR pre-checks (self review)

  • I added the relevant backport labels
  • I didn't leave commented-out/debugging code

Reminders

  • Add New configuration option and document them (in sdcm/sct_config.py)
  • Add unit tests to cover my changes (under unit-test/ folder)
  • Update the Readme/doc folder relevant to this change (if needed)

soyacz
soyacz previously approved these changes Jan 2, 2025
Copy link
Contributor

@soyacz soyacz left a comment

Choose a reason for hiding this comment

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

LGTM

`ARGUS_VERSION_RE` wasn't covering plain version like `6.3.0~dev`
hence not sending it out to Argus.

the change is fixing the regex

this change also fixes `get_branch_version` to be able to return
a full version string (including git sha and a date), cause
we know Argus would need this data for metrics graphs and perf
summaries.

also not having this information, is casuing confusion on patch
releases, when test are not get to the phase a node is upgrades

Ref: scylladb/argus#533
@fruch fruch force-pushed the fix_get_branch_version branch from a32960c to fb68806 Compare January 7, 2025 16:06
@fruch fruch requested a review from soyacz January 7, 2025 16:09
@fruch
Copy link
Contributor Author

fruch commented Jan 7, 2025

LGTM

I've found some issues with it, when testing it.
it was picking up scylla-machine-image versions

had to refine the commands a bit more, and tested it also with manger repos

Copy link
Contributor

@soyacz soyacz left a comment

Choose a reason for hiding this comment

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

ok, LGTM if works properly :)

@fruch
Copy link
Contributor Author

fruch commented Jan 7, 2025

ok, LGTM if works properly :)

Now it works better and last upgrade test proven it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants