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

Support proper booleans and discourage use of yes/no except in bash #613

Merged
merged 1 commit into from
Nov 19, 2021

Conversation

andytson-inviqa
Copy link
Contributor

@andytson-inviqa andytson-inviqa commented Jul 9, 2021

We use both booleans and "yes"/"no" in Yaml, and Helm also uses the booleans

@andytson-inviqa andytson-inviqa added enhancement New feature or request harness-all Changes required to all harness directories labels Jul 9, 2021
@andytson-inviqa andytson-inviqa added this to the 1.2.0 milestone Jul 9, 2021
@andytson-inviqa andytson-inviqa force-pushed the feature/boolean-yaml branch 2 times, most recently from a841d74 to 3127cda Compare July 9, 2021 13:46
@@ -1,6 +1,6 @@
{% set tideways = @('php.ext-tideways') %}

{% if tideways.enable == 'yes' %}
{% if bool(tideways.enable) %}
Copy link
Contributor Author

Choose a reason for hiding this comment

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

I'm not sure why it's erroring on this line

src/_base/harness/attributes/common.yml Outdated Show resolved Hide resolved
src/_base/harness/config/functions.yml Outdated Show resolved Hide resolved
@andytson-inviqa andytson-inviqa merged commit 025634e into 1.2.x Nov 19, 2021
@andytson-inviqa andytson-inviqa deleted the feature/boolean-yaml branch November 19, 2021 16:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request harness-all Changes required to all harness directories
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants