Commit Graph

53 Commits

Author SHA1 Message Date
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: 48b427bd3dc07943b398b0c25d326d46ebd8a12f
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: cd8e03d53ed210aec46a2ff728cb4a830314a21a
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: 39da6912ea0b8db16d3f96f289f723452e540ab7
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: afd16b2ade7723d87a15fa6c5f5de59734897f51
2022-06-02 17:02:25 -07:00
Willem Melching
9e64a5a70f docker: update pip/pipenv versiosn (#22793)
old-commit-hash: 3f8991a261a021df19d0d9bbd6568bcb13f2ea71
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: 5b641379ae04d3408093381629b9d60dee81da27
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: e9c4a75a5c430ac6968808f103145cd0bd98a17a
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: b2f82717f481c4e8c77bc3c06a56fadec79c5612
2021-01-14 21:31:51 -08:00
Adeeb Shihadeh
c64a8356fe move to github container registry + CI speedup (#19621)
old-commit-hash: 59d7c5e64ac3c8666c54c3443f912e4e0db92eb9
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: a3f56430195d5b2d0119f8bbf929f07c9a625959
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: e115c514521c7705112bd0cb2e4bf865b536501a
2020-08-20 17:16:44 +02:00
Adeeb Shihadeh
e3ca219aed add CI dependency for new tests
old-commit-hash: 9a8c43ac4a03c88ccb18aa9f3b7fcdfcab29539f
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: 9ee1cc9b828e8018fa37443d90dba95f8a032260
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: b16e90c78172674fbb0f5206c75275a13b9f6926
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: b44569284a70b07b15daa580922d895a70956c20
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: 3c461ca5ccf1b0ae2b9164feced96a5aa4998555
2020-06-19 20:39:34 -07:00
Adeeb Shihadeh
962cdac3b1 pre-commit also handles pylint
old-commit-hash: 966e2d41544a7ccbcf901355b8116734c448aa63
2020-06-04 14:19:10 -07:00
Adeeb Shihadeh
e60e71c6da pre-commit handles flake8 now
old-commit-hash: 355159f04a7676b2c6a6ea1687211ba7bda428be
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: ba2ac1207a554d277e01af5b9514de4500d4f66a
2020-05-28 15:40:48 -07:00
Adeeb
dd9daf81c4 Static C/C++ analysis in CI (#1564)
old-commit-hash: 0499ae46b7842e8e49067ebba03016c6cd305d4e
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: c1886486a56037588f71b8638c6e650bb7309862
2020-05-27 18:50:53 -07:00
Willem Melching
86ab76c456 Add pre commit config to docker
old-commit-hash: 64e1145b50393a253d9938cc8c8dd52e7e1c08b1
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: e73e0bc2caf3d9ef77632d3c64af0dffb16741bf
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 2221e13c71b5cc693dd3bebfa4061d4ab6821437.

* 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: 45ee131a4427db6d97531849bf4a1c3206ecbd19
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: 6c4663029374d0e6a8e66304fe460395f8c98ecb
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: 2063a370d37311375ae6c868c6567aa76f6806d2
2020-05-17 14:01:38 -07:00
Adeeb
f4020a2ed4 Faster CI (#1527)
old-commit-hash: 31346264b539312a7bff8563f7d7b7fbb33b72fb
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: 28bf5d1dd8d08cd8998d2ee9d813b7e573858cf9
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: 72db8d890d04e6eb3ce652be3da9bdf23ebda510
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: 4252028a8446d6c64e67c0574fc473420a800a58
2020-05-04 14:03:16 -07:00
Harald Schafer
ea7e91ccac py3.8
old-commit-hash: 568036e42dfb349172a9c8d41a201766c66e111f
2020-04-28 17:48:47 -07:00
Adeeb
40127bf946 Optimize copy order in Dockerfile for better caching (#1150)
old-commit-hash: e816de6ba262ab618bbb7eeb3fc7d42b2f7f4775
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: 47fd50ca60da419b34469dbc293f1a7f0d3d46a9
2020-02-12 09:40:28 -08:00
Willem Melching
e1d79684f7 Tools is now in openpilot, and use prebuilt capnp
old-commit-hash: dfded79673be670ba018b7623f7b59507e4bfaee
2020-01-17 13:13:02 -08:00
Willem Melching
a7223b9d82 cleanup and make linting part of ci work
old-commit-hash: 7f813d23ce7b3dfba5ef443ace1e7a1caca4245b
2020-01-17 13:03:44 -08:00
George Hotz
06c6ee312b root directory non hidden files
old-commit-hash: 012535a84e6b3bd486e1a1007978302f57b52a27
2020-01-17 10:22:00 -08:00
George Hotz
81dd5a50cf root commit
old-commit-hash: 6c33a5c1f3878e1d8c8a9db600dd44d188f02c87
2020-01-17 10:02:52 -08:00
Vehicle Researcher
fa4b6f33d1 openpilot v0.7.1 release
old-commit-hash: 8da8b6135c600ec653c16606239364ab9324fd98
2020-01-15 14:05:04 -08:00
Vehicle Researcher
99b637c7ce openpilot v0.7 release
old-commit-hash: c025b96e8a15640ee4d6e4d513fada6ed101afe5
2019-12-13 13:03:08 -08:00
Vehicle Researcher
89d1d84c70 openpilot v0.6.5 release
old-commit-hash: cf80f7a28bc737f50e096b21dea2dd2d6d4a1621
2019-10-09 18:43:53 +00:00
Vehicle Researcher
02cedeadd9 openpilot v0.6.3 release
old-commit-hash: d5f9caa82d80cdcc7f1b7748f2cf3ccbf94f82a3
2019-08-13 01:36:45 +00:00
Willem Melching
838ba6c707 Install fastcluster in CI for controls tests
old-commit-hash: f4b258a08265e9d16d6d438e463a891b12aedabb
2019-07-01 12:16:16 -07:00
Vehicle Researcher
9abcfabc5f openpilot v0.6 release
old-commit-hash: 8a9ed94f5f33faf282b1918ebe2c37f06cef74e6
2019-06-28 21:11:30 +00:00
Vehicle Researcher
0932b367bd openpilot v0.5.12 release
old-commit-hash: 3f9059fea886f1fa3b0c19a62a981d891dcc84eb
2019-05-16 13:20:29 -07:00
Willem Melching
bf83f2f6f4 Install newer pip version in CI (#627)
* Update pip in CI

* Longer timeout for docker build

* Increase travis timeout

* revert changes to travis file

old-commit-hash: 184ba93833f7addf8bb005c889c54fccf765765f
2019-05-07 21:56:45 +02:00
Nigel Armstrong
2f228d6f5a Add pylint to travis-ci (#595)
* Add pylint to travis-ci

* Change travis build order

* Fix missing pylint

* Add pylint to dockerfile

* Test with fixed linter for chrysler changes

* Fix linter issues in OP

* fixed linter on ford

* Fix Riccardo's comments

old-commit-hash: 76dfb135ca049ddd3ceadb6ce8b024c9c8193c2a
2019-04-12 23:12:34 -07:00
Vehicle Researcher
3bde47d556 openpilot v0.5.8 release
old-commit-hash: b967da5fc1f7a07e3561db072dd714d325e857b0
2019-01-23 15:34:52 -08:00
Vehicle Researcher
7062c6dcc4 openpilot v0.5.4 release
old-commit-hash: a422246dc30bce11e970514f13f7c110f4470cc3
2018-09-25 00:13:41 -07:00
Ted Slesinski
d6dcc2d761 Docker environment breaking (#369)
* Fixes matplotlib dependency

* Use version 2.1.2

old-commit-hash: 402faabd429eb1a9f400666a39ac22a897f5a3de
2018-09-20 02:59:18 +02:00
Vehicle Researcher
81ebf6b142 openpilot v0.3.8.2 release
old-commit-hash: 187a70f760b4b1cd463619a161e6a929fc86e1b4
2017-10-31 02:27:39 -07:00