mirror of
https://github.com/dragonpilot/dragonpilot.git
synced 2026-06-26 00:12:05 +08:00
misc jenkins fixups (#24840)
* bump cereal * remove that * pull cl image * lil docker cleanup
This commit is contained in:
@@ -8,11 +8,6 @@ ENV PYTHONPATH ${OPENPILOT_PATH}:${PYTHONPATH}
|
||||
RUN mkdir -p ${OPENPILOT_PATH}
|
||||
WORKDIR ${OPENPILOT_PATH}
|
||||
|
||||
COPY Pipfile Pipfile.lock $OPENPILOT_PATH
|
||||
RUN pip install --no-cache-dir pipenv==2021.5.29 pip==21.3.1 && \
|
||||
pipenv install --system --deploy --dev --clear && \
|
||||
pip uninstall -y pipenv
|
||||
|
||||
COPY SConstruct ${OPENPILOT_PATH}
|
||||
|
||||
COPY ./pyextra ${OPENPILOT_PATH}/pyextra
|
||||
@@ -30,4 +25,4 @@ COPY ./panda ${OPENPILOT_PATH}/panda
|
||||
COPY ./selfdrive ${OPENPILOT_PATH}/selfdrive
|
||||
COPY ./system ${OPENPILOT_PATH}/system
|
||||
|
||||
RUN scons -j$(nproc)
|
||||
RUN scons --cache-readonly -j$(nproc)
|
||||
|
||||
+1
-1
Submodule cereal updated: 78870ba056...98f795fd73
@@ -5,14 +5,13 @@ import time
|
||||
import unittest
|
||||
|
||||
import selfdrive.manager.manager as manager
|
||||
from system.hardware import AGNOS, HARDWARE
|
||||
from selfdrive.manager.process import DaemonProcess
|
||||
from selfdrive.manager.process_config import managed_processes
|
||||
from system.hardware import AGNOS, HARDWARE
|
||||
|
||||
os.environ['FAKEUPLOAD'] = "1"
|
||||
|
||||
# TODO: make eon fast
|
||||
MAX_STARTUP_TIME = 15
|
||||
MAX_STARTUP_TIME = 3
|
||||
ALL_PROCESSES = [p.name for p in managed_processes.values() if (type(p) is not DaemonProcess) and p.enabled and (p.name not in ['updated', 'pandad'])]
|
||||
|
||||
|
||||
@@ -54,9 +53,6 @@ class TestManager(unittest.TestCase):
|
||||
# TODO: make Qt UI exit gracefully
|
||||
continue
|
||||
|
||||
# Make sure the process is actually dead
|
||||
managed_processes[p].stop()
|
||||
|
||||
# TODO: interrupted blocking read exits with 1 in cereal. use a more unique return code
|
||||
exit_codes = [0, 1]
|
||||
if managed_processes[p].sigkill:
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
FROM ghcr.io/commaai/openpilot-base-cl:latest
|
||||
|
||||
RUN apt-get update && apt-get install -y --no-install-recommends\
|
||||
tmux \
|
||||
vim \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
RUN apt-get update && apt-get install -y --no-install-recommends \
|
||||
tmux \
|
||||
vim \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
|
||||
# get same tmux config used on NEOS for debugging
|
||||
RUN cd $HOME && \
|
||||
@@ -27,6 +27,6 @@ COPY ./system $HOME/openpilot/system
|
||||
COPY ./tools $HOME/openpilot/tools
|
||||
|
||||
WORKDIR $HOME/openpilot
|
||||
RUN scons -j12
|
||||
RUN scons --cache-readonly -j12
|
||||
|
||||
RUN python -c "from selfdrive.test.helpers import set_params_enabled; set_params_enabled()"
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
||||
cd $DIR/../../
|
||||
|
||||
docker pull ghcr.io/commaai/openpilot-base:latest
|
||||
docker pull ghcr.io/commaai/openpilot-base-cl:latest
|
||||
docker build \
|
||||
--cache-from ghcr.io/commaai/openpilot-sim:latest \
|
||||
-t ghcr.io/commaai/openpilot-sim:latest \
|
||||
|
||||
Reference in New Issue
Block a user