Commit Graph

49 Commits

Author SHA1 Message Date
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 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: 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
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: 184ba93833
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: 76dfb135ca
2019-04-12 23:12:34 -07:00
Vehicle Researcher
3bde47d556 openpilot v0.5.8 release
old-commit-hash: b967da5fc1
2019-01-23 15:34:52 -08:00
Vehicle Researcher
7062c6dcc4 openpilot v0.5.4 release
old-commit-hash: a422246dc3
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: 402faabd42
2018-09-20 02:59:18 +02:00
Vehicle Researcher
81ebf6b142 openpilot v0.3.8.2 release
old-commit-hash: 187a70f760
2017-10-31 02:27:39 -07:00
Vehicle Researcher
2c0cc6103a openpilot v0.3.7 release
old-commit-hash: daf54ad54d
2017-09-30 19:05:03 -07:00
Vehicle Researcher
46e0ee7750 openpilot v0.3.4 release
old-commit-hash: 6f46f988d9
2017-07-28 03:23:57 -07:00
Vehicle Researcher
53bccc4377 openpilot v0.2 release
old-commit-hash: 449b482cc3
2016-12-12 20:18:19 -08:00