Fix master-ci dirty working tree + CI test (#25087)

* check

* test for dirty working tree

* swap order

* fix diff
This commit is contained in:
Adeeb Shihadeh
2022-07-08 13:00:43 -07:00
committed by GitHub
parent e0f8f50baa
commit df251ef50e
7 changed files with 22 additions and 5 deletions
+11
View File
@@ -0,0 +1,11 @@
#!/usr/bin/bash
set -e
DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" >/dev/null && pwd)"
cd $DIR
if [ ! -z "$(git status --porcelain)" ]; then
echo "Dirty working tree after build:"
git status --porcelain
exit 1
fi
+3
View File
@@ -231,6 +231,7 @@ selfdrive/locationd/models/gnss_helpers.py
selfdrive/locationd/calibrationd.py
system/logcatd/.gitignore
system/logcatd/SConscript
system/logcatd/logcatd_systemd.cc
@@ -239,6 +240,7 @@ system/proclogd/main.cc
system/proclogd/proclog.cc
system/proclogd/proclog.h
selfdrive/loggerd/.gitignore
selfdrive/loggerd/SConscript
selfdrive/loggerd/encoder/encoder.cc
selfdrive/loggerd/encoder/encoder.h
@@ -414,6 +416,7 @@ scripts/stop_updater.sh
pyextra/.gitignore
pyextra/acados_template/**
rednose/.gitignore
rednose/**
laika/**