Created
March 23, 2020 15:22
-
-
Save InTheCloudDan/48ad8a8676ebe8864878c6f2f2e8b352 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
TASK [Validating Project: dano-test-project] *********************************** | |
fatal: [localhost]: FAILED! => changed=false | |
validated: false | |
validation: | |
- failures: | |
- Need at least one tag | |
key: test-bool | |
- failures: | |
- Need at least one tag | |
key: test-flag | |
- failures: | |
- Need at least one tag | |
key: test-rule-swap | |
- failures: | |
- Flag names should start with test | |
key: example_test_flag-3 | |
- failures: | |
- Need at least one tag | |
key: test-json | |
- failures: | |
- Need at least one tag | |
key: test-number | |
- failures: | |
- Flag names should start with test | |
- Need at least one tag | |
key: other-flag |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
deny[msg] { | |
count(input.tags) < 1 | |
msg := "Need at least one tag" | |
} | |
deny[msg] { | |
not launchdarkly_base.name_startswith(input, "test") | |
msg := "Flag names should start with test" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment