-
Notifications
You must be signed in to change notification settings - Fork 115
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
Enforce the Dynaconf validaton #15289
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Holding on the change requested by @omkarkhatavkar
3791455
to
09d9960
Compare
09d9960
to
8c67806
Compare
8c67806
to
7826bd6
Compare
trigger: test-robottelo |
7826bd6
to
4eeef2e
Compare
PRT Result
|
4eeef2e
to
5e660db
Compare
trigger: test-robottelo |
PRT Result
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Wow! So much clean-up on a single place
5e660db
to
9439ad1
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ACK pending question.
@@ -9,6 +9,7 @@ env: | |||
PYCURL_SSL_LIBRARY: openssl | |||
ROBOTTELO_BUGZILLA__API_KEY: ${{ secrets.BUGZILLA_KEY }} | |||
ROBOTTELO_JIRA__API_KEY: ${{ secrets.JIRA_KEY }} | |||
ROBOTTELO_ROBOTTELO__SETTINGS__IGNORE_VALIDATION_ERRORS: true |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we relly ignore the validation errors in checks? Whats the place time to validate them then ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I wanted to enable the validation of the production configuration. To enable validation in checks, we would need to spend time fine-tuning the .yaml.template
config files here in the conf
directory.
This can be a separate effort.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Agree, We have to fine-tune them all to be able to turn it on here.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Created #15443 for tracking purpose.
(cherry picked from commit 6172869)
(cherry picked from commit 6172869)
(cherry picked from commit 6172869)
Problem Statement
Currently, the configuration is not consistently validated. This can lead to:
Solution
Enforce the config validation.
Additionally, remove unused configuration files and their validators.
Benefits:
Notes
I am open to changing the setting name and placement,
robottelo.unit_test
might not be the best choice.