simulator: run simulator test in ci (#24691)
* run simulator test in ci * block navd process * block ui * fix jenkins * build docker * remove tty * remove tty for carla * detach carla_sim * more retries * only build once * add more time for bridge * cleanup * use qt offscreen * expose to docker * block ui * use new dockerimage * fix * from ubuntu20.04 * install curl * add ssh * add locales * noninteractive * syntax * use base * smaller image * add git + git lfs * kill carla * run in parallel * fix missing agents * default agent? * little cleanup * default doesn't work * not in ci * fix path * fix path * new msg Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>pull/24725/head^2
parent
1c238e8c77
commit
5add0c6159
9 changed files with 133 additions and 72 deletions
@ -0,0 +1,21 @@ |
|||||||
|
FROM ubuntu:20.04 |
||||||
|
|
||||||
|
ENV DEBIAN_FRONTEND=noninteractive |
||||||
|
RUN apt-get update && \ |
||||||
|
apt-get install -y --no-install-recommends \ |
||||||
|
apt-utils \ |
||||||
|
sudo \ |
||||||
|
ssh \ |
||||||
|
curl \ |
||||||
|
ca-certificates \ |
||||||
|
git \ |
||||||
|
git-lfs && \ |
||||||
|
rm -rf /var/lib/apt/lists/* |
||||||
|
|
||||||
|
RUN curl -fsSL https://get.docker.com -o get-docker.sh && \ |
||||||
|
sudo sh get-docker.sh && \ |
||||||
|
distribution=$(. /etc/os-release;echo $ID$VERSION_ID) && \ |
||||||
|
curl -s -L https://nvidia.github.io/nvidia-docker/gpgkey | sudo apt-key add - && \ |
||||||
|
curl -s -L https://nvidia.github.io/nvidia-docker/$distribution/nvidia-docker.list | sudo tee /etc/apt/sources.list.d/nvidia-docker.list && \ |
||||||
|
sudo apt-get update && \ |
||||||
|
sudo apt-get install -y nvidia-docker2 |
Loading…
Reference in new issue