-
Notifications
You must be signed in to change notification settings - Fork 666
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
exposed_ports should accept integers when validating molecule.yml schema #1781
Comments
zeitounator
changed the title
exposed_ports should accept integers when validating schema
exposed_ports should accept integers when validating molecule.yml schema
Feb 27, 2019
OK, I think we can use Cerberus coercion for this. Thanks for the report 👍 |
OK, #1798 is out for this! |
decentral1se
added a commit
to decentral1se/molecule
that referenced
this issue
Mar 3, 2019
Closes ansible#1781. Unfortunately, Cerberus (our schema validation library) is not already doing this for us. So, we have a bug raised and here is the fix. We're probably open to numerous version of this bug but let's see when the reports come in. Refs: * http://docs.python-cerberus.org/en/stable/normalization-rules.html#value-coercion * pyeve/cerberus#316 Signed-off-by: Luke Murphy <[email protected]>
decentral1se
added a commit
to decentral1se/molecule
that referenced
this issue
Mar 4, 2019
Closes ansible#1781. Refs: * http://docs.python-cerberus.org/en/stable/normalization-rules.html#value-coercion * pyeve/cerberus#316 Signed-off-by: Luke Murphy <[email protected]>
decentral1se
added a commit
to decentral1se/molecule
that referenced
this issue
Mar 4, 2019
Closes ansible#1781. Refs: * http://docs.python-cerberus.org/en/stable/normalization-rules.html#value-coercion * pyeve/cerberus#316 Signed-off-by: Luke Murphy <[email protected]>
decentral1se
added a commit
to decentral1se/molecule
that referenced
this issue
Mar 4, 2019
Closes ansible#1781. Refs: * http://docs.python-cerberus.org/en/stable/normalization-rules.html#value-coercion * pyeve/cerberus#316 Signed-off-by: Luke Murphy <[email protected]>
decentral1se
added a commit
to decentral1se/molecule
that referenced
this issue
Mar 4, 2019
Closes ansible#1781. Refs: * http://docs.python-cerberus.org/en/stable/normalization-rules.html#value-coercion * pyeve/cerberus#316 Signed-off-by: Luke Murphy <[email protected]>
decentral1se
added a commit
that referenced
this issue
Mar 5, 2019
Closes #1781. Refs: * http://docs.python-cerberus.org/en/stable/normalization-rules.html#value-coercion * pyeve/cerberus#316 Signed-off-by: Luke Murphy <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Issue Type
Molecule and Ansible details
Molecule installation method (one of):
Ansible installation method (one of):
Desired Behavior
As: a standard molecule user
Given: this molecule.yml extract
When: I run
molecule lint
Then: The command validates the schema of molecule.yml and exit without errors
Actual Behaviour
exposed_ports
should accept a list of integers or strings (integer should automatically be casted to strings).The text was updated successfully, but these errors were encountered: