From 64ec9677110cae33c67dbb7b3fcf24b4f3e80e79 Mon Sep 17 00:00:00 2001 From: workinright Date: Mon, 1 Sep 2025 08:01:32 +0200 Subject: [PATCH] test --- selfdrive/test/build.sh | 10 +++------- test | 0 2 files changed, 3 insertions(+), 7 deletions(-) create mode 100644 test diff --git a/selfdrive/test/build.sh b/selfdrive/test/build.sh index 5ebea40ebe..af295eb04b 100755 --- a/selfdrive/test/build.sh +++ b/selfdrive/test/build.sh @@ -1,5 +1,5 @@ #!/usr/bin/env bash -#set -e +set -e trap restore_root ERR ORG_PWD="$PWD" @@ -21,6 +21,7 @@ commit_root() { sudo rm -rf /base /newroot /work + # finally, create the rootfs diff tarball (to be pushed into the CI native cache) mkdir -p /tmp/rootfs_cache sudo rm -f "$CACHE_ROOTFS_TARBALL_PATH" # remove the old tarball from previous run, if exists cd /upper @@ -31,6 +32,7 @@ commit_root() { unpack_rootfs_tarball + # before the next tasks are run, finalize the environment for them prepare_mounts exit $ec @@ -179,9 +181,3 @@ rm pyproject.toml uv.lock install_python_dependencies.sh # add a git safe directory for compiling openpilot sudo git config --global --add safe.directory /tmp/openpilot - -# finally, create the rootfs diff tarball (to be pushed into the CI native cache) - - -# before the next tasks are run, finalize the environment for them -#prepare_mounts diff --git a/test b/test new file mode 100644 index 0000000000..e69de29bb2