Skip to content

Commit 8cc7f70

Browse files
committed
ci: ensure manifests are in synch with the templates
Signed-off-by: Miguel Duarte Barroso <mdbarroso@redhat.com>
1 parent 78cbfb0 commit 8cc7f70

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

automation/check-patch.setup.sh

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,3 +27,12 @@ cp -rf $(pwd)/. ${TMP_PROJECT_PATH}
2727

2828
echo 'Exporting temporary project path'
2929
export TMP_PROJECT_PATH
30+
31+
echo 'Ensuring the manifests are in sync'
32+
if [[ -n $(git status --porcelain 2>/dev/null) ]]; then
33+
echo "ERROR: git tree state is not clean!"
34+
echo "Run `make manifests` and commit those changes"
35+
git status
36+
git diff
37+
exit 1
38+
fi

0 commit comments

Comments
 (0)