Commit Graph

59 Commits

Author SHA1 Message Date
Kacper Rączy 99a7c5de93 Fix openpilot-prebuilt dockerfile (#32787)
* Manually add symlinks to prevent docker for copying duplicate files

* Copy everything
old-commit-hash: 151b4530dd
2024-06-18 17:28:52 -07:00
Harald Schäfer 05ed3d8c15 Restructure msgq (#32652)
* Update ref

* Compiles

* compiles

* Refactor rest of libs

* import all

* small fiex

* cleanup import

* Need msgq simlink too

* Add to openpilot docker too

* try repo

* Updates

* Fix lint

* fix docs

* Try blank slate

* Revert "Try blank slate"

This reverts commit f078ce04acacfe115c19e23e86038b01e2b84a6d.

* Maybe scons needs this to clear cache

* fix tests

* Disable test for now

* Update SConstruct

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>

* Fix whitespace

* Write skip normal

* small fixes

* add test path

* Revert repo

* linting

* whitespace

* Bump msgq

---------

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: e70dc90a45
2024-06-09 17:44:34 -07:00
Harald Schäfer f870a968e9 Split cereal into cereal/msgq (#32631)
* squash

* fix doc

* compile device

* compile device

* Update ref

* add msgq to precommit exclusions

* No service ports

* fix compile

* address comments

* More comments

* Delete logger

* Update opendbc

* Linting

* bump msgq
old-commit-hash: e71ec4e8d7
2024-06-06 14:31:56 -07:00
Kacper Rączy 9cd71f897a locationd: remove models unused in openpilot (#30481)
* Remove filters used exclusively by xx

* Update SConstruct

* Remove from release

* Accomodate rednose build changes

* Update rednose ref

* rednose/helpers in rpath

* Add rednose_filters to files_common

* Change rednose_root

* Copy rednose site_scons to docker images

* Remove rednose from rpath

* Bump rednose

* Bump rednose

* Bump rednose
old-commit-hash: f65e6bc30e
2023-11-22 13:25:29 -08:00
Kacper Rączy 7cac430ecc Remove laika submodule (#30453)
* Remove laika submodule

* Remove laika check for minimal builds

* Fix minimal build check

* Bring back exclude for opendbc in codespell

* Fix typo

* Copy GNSS indices from laika

* Delete laika dependencies
old-commit-hash: 2de13bea91
2023-11-15 10:06:37 +01:00
Adeeb Shihadeh 16ec56398c add openpilot prefix to imports (#29498)
* add openpilot prefix to imports

* more

* more

* fix docs

* fix linter

* bump submodules

* fix patched tests

* update dynamic imports

* debug

* Revert "debug"

This reverts commit db5e13b991.

* fix pm test
old-commit-hash: a9626f95b6
2023-08-20 20:49:55 -07:00
Cameron Clough 4726288d75 docker: copy body submodule (#28094)
Building `Dockerfile.openpilot` fails with error `missing file body/board/SConscript` as the body submodule isn't copied

This image isn't built in CI
old-commit-hash: 48b427bd3d
2023-05-03 16:01:01 -07:00
Adeeb Shihadeh b3e47c691b move all third party stuff into third_party/ (#26853)
* mv fastcluster

* move msm_kgsl.h

* camerad include

* update path

* mv pyextra

* fix tici build

* add acados_template to release build

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: cd8e03d53e
2022-12-31 21:00:50 -08:00
Adeeb Shihadeh 5425336963 misc jenkins fixups (#24840)
* bump cereal

* remove that

* pull cl image

* lil docker cleanup
old-commit-hash: 39da6912ea
2022-06-12 18:00:00 -07:00
Adeeb Shihadeh 3dd10e51e1 Create system/ for generic services (#24717)
* Create system/ for generic services

* logcatd joins the party

* fix those up
old-commit-hash: afd16b2ade
2022-06-02 17:02:25 -07:00
Willem Melching 9e64a5a70f docker: update pip/pipenv versiosn (#22793)
old-commit-hash: 3f8991a261
2021-11-04 15:40:36 +01:00
Adeeb Shihadeh 782d7023d2 phonelibs -> third_party (#22477)
* git mv to third_party

* find and replace

* fix release tests

* update pre-commit

* update tici bins

* update eon bins

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 5b641379ae
2021-10-07 16:32:44 -07:00
Willem Melching c8bcf66cd5 Remove dockerhub references from CI (#20038)
* cache from base image

* specify github repo
old-commit-hash: e9c4a75a5c
2021-02-08 11:53:47 +01:00
Adeeb Shihadeh 5839e89174 update prebuilt docker container (#19767)
* update prebuilt container

* fix build

* revert that
old-commit-hash: b2f82717f4
2021-01-14 21:31:51 -08:00
Adeeb Shihadeh c64a8356fe move to github container registry + CI speedup (#19621)
old-commit-hash: 59d7c5e64a
2020-12-31 14:57:01 -08:00
Adeeb Shihadeh 993b6b43ac split dockerfile into base image and CI image (#2066)
* split dockerfile into base image and CI

* doesn't exist yet

* fix path

* cache on this branch

* latest

* use cache

* don't double pull
old-commit-hash: a3f5643019
2020-08-23 18:18:19 -07:00
Willem Melching 473fb11d34 Qt ui for PC (#2023)
* qt ui boilerplate

* this kinda works

* cleanup

* render inside other widget

* cleanup

* more cleanup

* Not needed

* Handle click

* Draw at 20Hz

* create paint.hpp

* move stuff around

* update sidebar

* Draw vision

* this works again

* add clickable settings button

* Only collapse sidebar when started

* always use qt on linux

* fix width

* scrollable area

* talk to NetworkManager

* code to add a connection

* params toggles

* small cleanup

* add qt5 to dockerfile

* Qt on mac

* Add qt to release files

* fix macos build

* nore more ifdefs needed

* add icons

* make a bit nicer

* Hide scrollbar

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: e115c51452
2020-08-20 17:16:44 +02:00
Adeeb Shihadeh e3ca219aed add CI dependency for new tests
old-commit-hash: 9a8c43ac4a
2020-08-06 00:08:46 -07:00
Adeeb Shihadeh 2f1d9daa9a Run CI tests in parallel (#1962)
* run car model unit tests in parallel

* remove refs to deleted file

* run with coverage

* that wasn't necessary

* as builder

* need a new route for this one too
old-commit-hash: 9ee1cc9b82
2020-08-02 00:30:09 -07:00
Willem Melching ea052d61b3 Update pip to 20.1.1 so python-opencv installation succeeds
old-commit-hash: b16e90c781
2020-07-24 12:13:00 +02:00
Adeeb Shihadeh 59b626ba8c test each model fingerprints with FW fingerprinting (#1769)
* test each model fingerprints with FW fingerprinting

* lock

* test for all
old-commit-hash: b44569284a
2020-06-23 15:33:04 -07:00
Adeeb Shihadeh 0891b1331d Add cppcheck as a pre-commit hook (#1646)
* add cppcheck as a pre-commit hook

* fix Dockerfile

* update precommit config

* exclude panda and opendbc
old-commit-hash: 3c461ca5cc
2020-06-19 20:39:34 -07:00
Adeeb Shihadeh 962cdac3b1 pre-commit also handles pylint
old-commit-hash: 966e2d4154
2020-06-04 14:19:10 -07:00
Adeeb Shihadeh e60e71c6da pre-commit handles flake8 now
old-commit-hash: 355159f04a
2020-06-04 14:09:37 -07:00
Willem Melching 2ac27def5a Running pre-commit in CI (#1590)
* Running pre-commit in CI

* fix dockerfile syntax

* dont run on submodule repo folders

* Fix some import errors in ci

* more stuff

* That should be the last one
old-commit-hash: ba2ac1207a
2020-05-28 15:40:48 -07:00
Adeeb dd9daf81c4 Static C/C++ analysis in CI (#1564)
old-commit-hash: 0499ae46b7
2020-05-28 01:46:30 -07:00
Willem Melching 834f6c383a Revert "Add pre commit config to docker"
This reverts commit 92482e23547adbf6ee189ed9129a46d39ef831ab.

old-commit-hash: c1886486a5
2020-05-27 18:50:53 -07:00
Willem Melching 86ab76c456 Add pre commit config to docker
old-commit-hash: 64e1145b50
2020-05-27 18:50:22 -07:00
Adeeb Shihadeh 1fe237e8c1 add dependency for new CI test so test branch doesn't invalidate cache
old-commit-hash: e73e0bc2ca
2020-05-25 22:15:01 -07:00
Adeeb 64d5d57677 Fast CI (#1537)
* don't compile in docker build stage

* disable that for now

* do we need that?

* upload artifact already compresses

* that wasn't faster

This reverts commit 2221e13c71.

* try that

* don't think that's used

* this too

* check this

* less layers

* that's not in the dockerfile anymore

* system

* even less layers and clear pipenv cache

* no inline comment i guess

* uninstall pipenv after we're done with it

* separate build job adds too much overhead

* quotes

* clean that up

* increase timeout

* cleanup
old-commit-hash: 45ee131a44
2020-05-19 02:12:57 -07:00
Adeeb Shihadeh 96dd0232cd no pip cache in docker build, compressed docker image is 70MB smaller
old-commit-hash: 6c46630293
2020-05-17 14:47:54 -07:00
Adeeb Shihadeh 672eaac01e don't need external in CI, compressed docker image is 50MB smaller
old-commit-hash: 2063a370d3
2020-05-17 14:01:38 -07:00
Adeeb f4020a2ed4 Faster CI (#1527)
old-commit-hash: 31346264b5
2020-05-16 21:38:38 -07:00
Willem Melching 8f71de0dbe Rednose (#1503)
* add rednose

* update rednose

* This compiles

* Add rednose to release

* cleanup

* Extract generated dir as argument

* Add constants.py to release

* Add rednose to dockerfile

* Fix that
old-commit-hash: 28bf5d1dd8
2020-05-14 15:36:56 -07:00
Willem Melching 8505259e41 Library cleanup (#1491)
* library cleanup

* remove fastcv

* Fix build step

* bump cereal

* bump cereal

* Install capnp

* bump

* no docker cache

* Update installation instructions

* Needs sudo

* Can we sudo?

* Cache was not the problem

* remove static libraries from boardd install script

* Update setup script

* Remove import

* No capnp install in lgtm

* Fix dockerfile
old-commit-hash: 72db8d890d
2020-05-12 18:50:07 -07:00
George Hotz ca0c6e445e Integrate codecov.io (#1465)
* integrate codecov

* add codecov to readme

* don't need the token

* fix badges

* /bin/bash, not /bin/sh

* needs coverage in the docker

* from the git root

* add CI_ENV like https://docs.codecov.io/docs/testing-with-docker

* custom upload step

* use codecov action

* coverage xml

* add unit tests, good luck

* name the container tmppilot

* add name, fix unit tests

* yml, fix coveragerc-app

* remove tmp/openpilot

* try without xml

* just call the upload script in docker

* ugh, i hate docker

* idk env

* yaml?

* don't be clever

* maybe this

* running out of ideas

* coverage xml maybe

* upload coverage.xml

* ugh CI_RUN

* unneeded artifact

Co-authored-by: George Hotz <geohot@gmail.com>
old-commit-hash: 4252028a84
2020-05-04 14:03:16 -07:00
Harald Schafer ea7e91ccac py3.8
old-commit-hash: 568036e42d
2020-04-28 17:48:47 -07:00
Adeeb 40127bf946 Optimize copy order in Dockerfile for better caching (#1150)
old-commit-hash: e816de6ba2
2020-02-21 17:08:53 -08:00
Willem Melching 197c1d92fc Kalman filter compilation cleanup (#1080)
* start cleanup

* create generated dir if not exist

* tests pass!

* everything works again

* also convert live_kf to new structure

* Remove sympy helpers from file list

* Add laika to docker container

* Only build models that are present

old-commit-hash: 47fd50ca60
2020-02-12 09:40:28 -08:00
Willem Melching e1d79684f7 Tools is now in openpilot, and use prebuilt capnp
old-commit-hash: dfded79673
2020-01-17 13:13:02 -08:00
Willem Melching a7223b9d82 cleanup and make linting part of ci work
old-commit-hash: 7f813d23ce
2020-01-17 13:03:44 -08:00
George Hotz 06c6ee312b root directory non hidden files
old-commit-hash: 012535a84e
2020-01-17 10:22:00 -08:00
George Hotz 81dd5a50cf root commit
old-commit-hash: 6c33a5c1f3
2020-01-17 10:02:52 -08:00
Vehicle Researcher fa4b6f33d1 openpilot v0.7.1 release
old-commit-hash: 8da8b6135c
2020-01-15 14:05:04 -08:00
Vehicle Researcher 99b637c7ce openpilot v0.7 release
old-commit-hash: c025b96e8a
2019-12-13 13:03:08 -08:00
Vehicle Researcher 89d1d84c70 openpilot v0.6.5 release
old-commit-hash: cf80f7a28b
2019-10-09 18:43:53 +00:00
Vehicle Researcher 02cedeadd9 openpilot v0.6.3 release
old-commit-hash: d5f9caa82d
2019-08-13 01:36:45 +00:00
Willem Melching 838ba6c707 Install fastcluster in CI for controls tests
old-commit-hash: f4b258a082
2019-07-01 12:16:16 -07:00
Vehicle Researcher 9abcfabc5f openpilot v0.6 release
old-commit-hash: 8a9ed94f5f
2019-06-28 21:11:30 +00:00
Vehicle Researcher 0932b367bd openpilot v0.5.12 release
old-commit-hash: 3f9059fea8
2019-05-16 13:20:29 -07:00