mirror of
https://github.com/containers/skopeo.git
synced 2025-08-08 09:57:59 +00:00
Advantages: - Test RHEL branches on on actual RHEL - Reduce our GCE/AWS usage - Easier to switch git host (RE: CNCF) The spec file is fetched from CentOS Stream as it's publicly available and the RHEL branches are most often close enough, if not identical. Signed-off-by: Lokesh Mandvekar <lsm5@fedoraproject.org>
17 lines
366 B
Bash
Executable File
17 lines
366 B
Bash
Executable File
#!/usr/bin/env bash
|
|
set -e
|
|
|
|
# TMT breaks this so we only check go.* and vendor
|
|
# https://github.com/teemtee/tmt/issues/3800
|
|
# STATUS=$(git status --porcelain)
|
|
STATUS=$(git status --porcelain go.* vendor)
|
|
if [[ -z $STATUS ]]
|
|
then
|
|
echo "tree is clean"
|
|
else
|
|
echo "tree is dirty, please commit all changes and sync the vendor.conf"
|
|
echo ""
|
|
echo "$STATUS"
|
|
exit 1
|
|
fi
|