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

Add Verification of OneAgent Version #3405

Merged
merged 6 commits into from
Jul 12, 2024

Conversation

wepudt
Copy link
Collaborator

@wepudt wepudt commented Jul 4, 2024

see K8S-10190

Description

The operator should reject OneAgent versions that are not conformant to major.minor.patch pattern subset of SemVer. e.g. 1.0.0

How can this be tested?

Apply a DK with OneAgent version set to an invalid version such as latest, raw or 1.296.0-raw and to a valid one such as 1.296.0

@wepudt wepudt changed the title Feature/verify oneagent version is semver Add Verification of OneAgent Version Jul 4, 2024
aorcholski
aorcholski previously approved these changes Jul 5, 2024
Copy link
Contributor

@aorcholski aorcholski left a comment

Choose a reason for hiding this comment

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

LGTM

@wepudt wepudt requested a review from 0sewa0 July 5, 2024 07:26
@aorcholski aorcholski force-pushed the feature/verify_oneagent_version_is_semver branch 4 times, most recently from fa49a41 to 59b5230 Compare July 12, 2024 08:30
@aorcholski aorcholski force-pushed the feature/verify_oneagent_version_is_semver branch from 59b5230 to 6cfc3e4 Compare July 12, 2024 08:36
@codecov-commenter
Copy link

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 57.25%. Comparing base (06029bb) to head (6cfc3e4).

❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #3405      +/-   ##
==========================================
+ Coverage   57.23%   57.25%   +0.01%     
==========================================
  Files         344      344              
  Lines       19783    19791       +8     
==========================================
+ Hits        11323    11331       +8     
  Misses       7222     7222              
  Partials     1238     1238              
Flag Coverage Δ
unittests 57.25% <100.00%> (+0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Contributor

@albertogdd albertogdd left a comment

Choose a reason for hiding this comment

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

LGTM

@aorcholski aorcholski merged commit 9b364cc into main Jul 12, 2024
19 checks passed
@aorcholski aorcholski deleted the feature/verify_oneagent_version_is_semver branch July 12, 2024 10:46
StefanHauth pushed a commit that referenced this pull request Jul 12, 2024
Co-authored-by: adam.orcholski <adam.orcholski@dynatrace.com>
StefanHauth added a commit that referenced this pull request Jul 12, 2024
Co-authored-by: Werner Putschögl <132911917+wepudt@users.noreply.github.com>
Co-authored-by: adam.orcholski <adam.orcholski@dynatrace.com>
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.

None yet

6 participants