apply WIP patches for panda and opendbc

Aubrey Wahl 2 weeks ago
parent e06e1e3619
commit fd5949274b
  1. 3
      .github/workflows/selfdrive_tests.yaml
  2. 3
      .gitmodules
  3. 12
      release/check-submodules.sh

@ -232,6 +232,9 @@ jobs:
with: with:
path: .ci_cache/comma_download_cache path: .ci_cache/comma_download_cache
key: car_models-${{ hashFiles('selfdrive/car/tests/test_models.py', 'opendbc/car/tests/routes.py') }}-${{ matrix.job }} key: car_models-${{ hashFiles('selfdrive/car/tests/test_models.py', 'opendbc/car/tests/routes.py') }}-${{ matrix.job }}
- name: Check submodules
timeout-minutes: 3
run: release/check-submodules.sh
- name: Build openpilot - name: Build openpilot
run: ${{ env.RUN }} "scons -j$(nproc)" run: ${{ env.RUN }} "scons -j$(nproc)"
- name: Test car models - name: Test car models

3
.gitmodules vendored

@ -1,10 +1,9 @@
[submodule "panda"] [submodule "panda"]
path = panda path = panda
url = ../../commaai/panda.git url = https://github.com/aubsw/panda.git
[submodule "opendbc"] [submodule "opendbc"]
path = opendbc_repo path = opendbc_repo
url = https://github.com/aubsw/opendbc.git url = https://github.com/aubsw/opendbc.git
branch = ignition-can-move
[submodule "msgq"] [submodule "msgq"]
path = msgq_repo path = msgq_repo
url = ../../commaai/msgq.git url = ../../commaai/msgq.git

@ -8,8 +8,16 @@ while read hash submodule ref; do
fi fi
if [ "$submodule" = "opendbc_repo" ]; then if [ "$submodule" = "opendbc_repo" ]; then
git -C $submodule remote show origin git -C $submodule fetch origin e932b98abd16554246012c79007657d8903805bd
git -C $submodule fetch origin 0c6fd651735615ec9c7f1babb1812addc4994980 git -C $submodule checkout FETCH_HEAD
cat opendbc_repo/opendbc/safety/tests/libsafety/safety_helpers.py | grep ignition
ls -la opendbc
echo "$submodule ok (custom Aubrey version)"
continue
fi
if [ "$submodule" = "panda" ]; then
git -C $submodule fetch origin c66e9a46349d152199a4a0997f82f0bea3c9b5a6
git -C $submodule checkout FETCH_HEAD git -C $submodule checkout FETCH_HEAD
echo "$submodule ok (custom Aubrey version)" echo "$submodule ok (custom Aubrey version)"
continue continue

Loading…
Cancel
Save