| |
@@ -0,0 +1,26 @@
|
| |
+ #!/usr/bin/bash
|
| |
+
|
| |
+ set -euo pipefail
|
| |
+
|
| |
+ main() {
|
| |
+ failure=0
|
| |
+
|
| |
+ args=
|
| |
+ if [ -f override.json ]; then
|
| |
+ args="--schema-override override.json"
|
| |
+ fi
|
| |
+
|
| |
+ for f in fedora*.conf; do
|
| |
+ pungi-config-validate $args $f > /dev/null 2>&1 || {
|
| |
+ echo "Validation of $f failed!"
|
| |
+ ((failure+=1))
|
| |
+ }
|
| |
+ done
|
| |
+
|
| |
+ if [[ $failure -gt 0 ]]; then
|
| |
+ echo "${failure} check(s) failed!"
|
| |
+ exit 1
|
| |
+ fi
|
| |
+ }
|
| |
+
|
| |
+ main "${@}"
|
| |
fedora.conf currently reports
WARNING: Unrecognized config option: KIWI_ISO_VOLID_VERSION.
p-c-v doesn't seem to like custom variables; is there a "proper" way to fix/avoid this?