Skip to content

CI test for flavor-name syntax in scs-0103 yaml file - #438

Merged
mbuechse merged 6 commits into
mainfrom
issue/339
Jan 11, 2024
Merged

mbuechse merged 6 commits into
mainfrom
issue/339

Conversation

@mbuechse

Copy link
Copy Markdown
Contributor

closes #339

Test it like so:

$ Tests/iaas/flavor-naming/check-yaml.py Tests/testing/
ERROR: flavor 'SCS-1V-4': field 'cpu-type' contradicting name-v2 'SCS-1V-4'; found 'crowded-core', expected 'shared-core'
ERROR: flavor 'SCS-2V-8': field 'name-v1' contradicting name-v2 'SCS-2V-8'; found 'SCS-2V-8', expected 'SCS-2V:8'
ERROR: flavor 'SCS-4V-16': field 'ram' contradicting name-v2 'SCS-4V-16'; found '12', expected '16.0'
ERROR: flavor 'SCS-1V-2': field 'cpus' contradicting name-v2 'SCS-1V-2'; found '2', expected '1'
ERROR: flavor 'SCS-2V-4-20s': field 'disk0-type' contradicting name-v2 'SCS-2V-4-20s'; found 'network', expected 'ssd'
ERROR: flavor 'SCS-4V-16-100s': field 'disk' contradicting name-v2 'SCS-4V-16-100s'; found '10', expected '100'
ERROR: file 'scs-0103-v1-flavors-wrong.yaml': found 6 errors

@mbuechse
mbuechse requested a review from garloff December 22, 2023 16:31

@artificial-intelligence artificial-intelligence left a comment

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.

LGTM beside some nits and opinions surrounding naming and documenting stuff.

Comment thread Tests/iaas/flavor-naming/check-yaml.py Resolved
Comment thread Tests/iaas/flavor-naming/check-yaml.py Resolved
Comment thread Tests/iaas/flavor-naming/check-yaml.py Resolved
Comment thread Tests/iaas/flavor-naming/check-yaml.py Resolved

@artificial-intelligence artificial-intelligence left a comment

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.

LGTM

@mbuechse
mbuechse merged commit ea173de into main Jan 11, 2024
@mbuechse
mbuechse deleted the issue/339 branch January 11, 2024 09:19
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.

CI tests for mandatory-flavor-list (#319)

2 participants