Merge "Fix validate-docs script"
This commit is contained in:
commit
be81343ace
@ -15,6 +15,7 @@
|
|||||||
# The makefile entrypoint driver for document validation
|
# The makefile entrypoint driver for document validation
|
||||||
# Expected to be run from the project root
|
# Expected to be run from the project root
|
||||||
set -xe
|
set -xe
|
||||||
|
set -o pipefail
|
||||||
|
|
||||||
# The root of the manifest structure to be validated.
|
# The root of the manifest structure to be validated.
|
||||||
# This corresponds to the targetPath in an airshipctl config
|
# This corresponds to the targetPath in an airshipctl config
|
||||||
@ -83,8 +84,8 @@ for site_root in ${SITE_ROOTS}; do
|
|||||||
# TODO (raliev) remove this condition later
|
# TODO (raliev) remove this condition later
|
||||||
if [ "$plan" = "phasePlan" ]; then
|
if [ "$plan" = "phasePlan" ]; then
|
||||||
airshipctl --airshipconf "${TMP}/$site.cfg" plan validate $plan
|
airshipctl --airshipconf "${TMP}/$site.cfg" plan validate $plan
|
||||||
|
echo "Validation of site ${site} is successful!"
|
||||||
fi
|
fi
|
||||||
echo "Validation of site ${site} is successful!"
|
|
||||||
done
|
done
|
||||||
done
|
done
|
||||||
done
|
done
|
||||||
|
Loading…
x
Reference in New Issue
Block a user