fcf37586a6
Per https://pagure.io/fedora-ci/general/issue/404 , as things are right now, having CI files with the same names as those in other repos can cause clashes. Let's rename all of ours to avoid this. Also drop a path element in validate-comps.yaml that broke the tests... Signed-off-by: Adam Williamson <awilliam@redhat.com>
22 lines
380 B
Bash
Executable File
22 lines
380 B
Bash
Executable File
#!/usr/bin/bash
|
|
|
|
set -euxo pipefail
|
|
|
|
main() {
|
|
failure="false"
|
|
|
|
make sort || failure="true"
|
|
make validate || failure="true"
|
|
|
|
# Fail if any changes were made to the repo
|
|
if [[ -n "(git status --short)" ]]; then
|
|
failure="true"
|
|
fi
|
|
if [[ "${failure}" == "true" ]]; then
|
|
echo "At least one check failed!"
|
|
exit 1
|
|
fi
|
|
}
|
|
|
|
main "${@}"
|