mirror of
https://gitea.com/mcereda/oam.git
synced 2026-02-09 05:44:23 +00:00
chore(kb/jq): hint how to check a value in a yaml file
This commit is contained in:
@@ -100,6 +100,9 @@ helm template chartName \
|
||||
| select(.)
|
||||
| select(.|test(".*:.*")|not), select(.|test(".*:$")), select(.|test(".*:latest"))' \
|
||||
-
|
||||
|
||||
# Check that the 'backend.url key' in a 'Pulumi.yaml' file is not 'file://' and fail otherwise.
|
||||
yq -e '(.backend.url|test("^file://")?)|not' 'Pulumi.yaml'
|
||||
```
|
||||
|
||||
## Further readings
|
||||
|
||||
Reference in New Issue
Block a user