Commit Graph

152 Commits (7dd99717175a27dfdbb15f5521f37f1636c746bb)

Author SHA1 Message Date
Adeeb Shihadeh c450110f96
Build openpilot on mac in CI (#1792)
* build on mac in CI

* coreutils

* python stuff

* pipenv

* newer clang

* init pyenv

* verbose

* init pyenv

* install eigen

* ffmpeg

* sdl

* libav

* libtool

* glfw

* add pipfile as cache key

* test cache

* fix cache path

* brew link

* update tools readme

* don't cache on pipfile

* skip python install if installed

* unlink

* simpler cachingm

* here's your key

* cache pip too

* cache pyenv
2020-08-10 00:44:24 -07:00
Adeeb Shihadeh d6288c1bb9
can't do nested html comments 2020-08-09 15:17:44 -07:00
Adeeb Shihadeh 5bd20dbe38 default pull request template 2020-08-09 15:06:47 -07:00
HaraldSchafer 629898eb93
Update bug_report.md 2020-08-03 14:17:22 -07:00
Adeeb Shihadeh 9ee1cc9b82
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
2020-08-02 00:30:09 -07:00
Adeeb Shihadeh 99106fd9c4
Test Car Models 2.0 (#1903)
* start with radar interface

* car interface

* panda safety rx check

* check panda safety inits

* check NO_RADAR_SLEEP in all radar interfaces

* sonata 2019 and kia optima should use hyundai legacy safety

* check radar errors

* check radar can errors

* real fingerprint

* run in CI

* it shoud pass now

* ignore old openpilot msgs

* ensure safety mode is set

* sort can msgs

* filter out openpilot msgs
2020-07-25 02:27:56 -07:00
Adeeb Shihadeh c715661656
Build release2 and dashcam in CI (#1834)
* start building release2 in CI

* build script

* bring over changes from test branch

* fix build release test

* remove references to test branches

* ucnomment push

* fix duplicate remove

* two commits for dashcam

* need the key
2020-07-07 14:17:09 -07:00
Adeeb Shihadeh 37d6edf4df
Temporarily disable allowing codecov to fail CI (#1839)
* add verbose flag to codecov upload

* temporarily disable codecov failure resulting in CI failure until bug in codecov is fixed
2020-07-07 14:08:37 -07:00
Adeeb Shihadeh 52fdd8c3ff add discord link to new issue page 2020-06-25 11:50:24 -07:00
Adeeb Shihadeh a3dd33593a add link to the wiki on the new issue page 2020-06-22 17:50:20 -07:00
Adeeb Shihadeh 3c461ca5cc
Add cppcheck as a pre-commit hook (#1646)
* add cppcheck as a pre-commit hook

* fix Dockerfile

* update precommit config

* exclude panda and opendbc
2020-06-19 20:39:34 -07:00
Adeeb Shihadeh 2ce2260eda
Pull request templates (#1752)
* pull request templates

* car port checklist

* fix link

* no space

* newline
2020-06-19 20:28:14 -07:00
Adeeb Shihadeh 4bd481245b issue templates need descriptions apparently 2020-06-19 19:55:38 -07:00
Adeeb Shihadeh 8f9c01f66b
New issue templates (#1751)
* add pc bug report template

* better description

* update pc

* labels

* route moved

* commment

* clean up

* enhancement question

* at
2020-06-19 19:53:47 -07:00
Adeeb Shihadeh 855a630dfc rename docker containers 2020-06-12 20:02:57 -07:00
Adeeb 7e80ae3f09
Push docker image with prebuilt openpilot to dockerhub (#1686)
* add CI job to push a prebuilt image to dockerhhub'

* fix config

* Update test.yaml

* better name

* only run on schedule
2020-06-12 12:09:05 -07:00
Adeeb Shihadeh f05685992a update dockerhub token 2020-06-11 16:24:23 -07:00
martinl 53a8df5a41
Fix typo in Github Actions workflow (#1673) 2020-06-10 07:30:09 -07:00
Adeeb d4858e5ff5
Move driver monitoring out of controls (#1642)
* move dmonitoring out of controls

* run monitoring unit tests in CI
2020-06-09 13:25:15 -07:00
Adeeb c24a7e248a
Release cleanup (#1649)
* start cleanup

* whitelist submodule release files

* don't need to ship tests

* revert changes to build script

* add those tests back

* fix typo

* whitelist dbcs

* test

* run the right test

* whitelist opendbc/can

* revert that

* add missing dotfiles

* clean up

* ford DBCs

Co-authored-by: Comma Device <device@comma.ai>
2020-06-08 14:24:14 -07:00
dependabot-preview[bot] 8c346dfae5
Create Dependabot config file (#1648)
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-06-05 15:55:17 -07:00
Adeeb Shihadeh 966e2d4154 pre-commit also handles pylint 2020-06-04 14:19:10 -07:00
Adeeb Shihadeh 355159f04a pre-commit handles flake8 now 2020-06-04 14:09:37 -07:00
Adeeb cc2137bded
pyextra isn't a submodule anymore (#1601) 2020-05-30 10:04:56 -07:00
Willem Melching ba2ac1207a
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
2020-05-28 15:40:48 -07:00
Adeeb Shihadeh 2752df8266 timeouts for all CI jobs 2020-05-28 14:40:25 -07:00
Adeeb 0499ae46b7
Static C/C++ analysis in CI (#1564) 2020-05-28 01:46:30 -07:00
Willem Melching db8f3aee11 only run pipfile action on schedule 2020-05-27 18:49:00 -07:00
Adeeb Shihadeh 84067d0b93 run pipfile update action at 8 pacific time 2020-05-25 03:25:47 -07:00
Ewout ter Hoeven 2b23111e0e
GitHub Actions: Fix Update Pipfile.lock workflow (#1562)
* Remove --requirements

* Add commit-message to PRs in pipfile workflow
2020-05-25 03:19:57 -07:00
Ewout ter Hoeven b1795235f9
Add workflow to update Pipfile.lock weekly (#1542)
* Create workflow to update the Pipfile.lock weekly

* Update-pipfile: Also install wheel

* Install wheel in different step

* Pipfile: Only lock major versions

Assumes Semantic Versioning, and only sets the major versions of all packages

* Run update-pipfile on changes in pipfile and use tensorflow

Move from tensorflow-gpu to tensorflow, an excelent test for this PR

* [create-pull-request] automated change

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2020-05-20 13:16:02 -07:00
Adeeb 45ee131a44
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
2020-05-19 02:12:57 -07:00
Willem Melching 72db8d890d
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
2020-05-12 18:50:07 -07:00
Willem Melching 7a9ac37b9b
Update bug_report.md 2020-05-12 17:44:20 -07:00
Adeeb Shihadeh 4e2d46f5da build release in public CI 2020-05-09 22:16:21 -07:00
Adeeb 39727ddc56
CI: bump upload artifact version (#1471) 2020-05-06 05:46:02 -07:00
George Hotz 4252028a84
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>
2020-05-04 14:03:16 -07:00
Andy c4af05868b
Tools: Storage API (#1161)
* filereader

* support URLs in filereader, logreader

* unused

* use route files api; add auth file

* Implement browser auth

* Update readme, fix up cache paths

* Add tests, clear token on 401

* Factor out URLFile

* space
2020-02-24 21:24:54 -05:00
Adeeb f198624ca2
Fix condition on CI push stage (#1149) 2020-02-21 10:13:49 -08:00
Adeeb d2970fd2da
Fix artifact upload in CI when step fails (#1139)
* Fix artifact upload in CI when step fails

* set container name
2020-02-20 14:40:21 -08:00
Adeeb 50944d305f
cat process replay diff (#1112)
* cat process replay diff

* always
2020-02-17 13:41:21 -08:00
Willem Melching e2253b072e fix fingerprint test 2020-02-13 16:53:41 -08:00
Willem Melching 5388878dac
Push container to dockerhub (#1075)
* push container to dockerhub

* Fix stage name

* Only run on master

* Don't push on PR

* Only run on commaai/openpilot
2020-02-10 19:03:46 -08:00
Willem Melching 118198605f Use full name for docker caching 2020-02-03 14:12:35 -08:00
Willem Melching 5ea95c3d87 Use dockerhub 2020-02-03 13:33:21 -08:00
Willem Melching 58f4f5aac4 use base docker container when building 2020-02-03 13:10:38 -08:00
Willem Melching 822b32656b Add fingerprint test to ci 2020-02-01 18:40:04 -08:00
Willem Melching e2c784740a
CI: remove header hacks when checking out submodules (#995) 2020-01-23 12:40:40 -08:00
Willem Melching fb8efbed2d always upload artifacts 2020-01-23 11:35:07 -08:00
Willem Melching 50e859e6b1 Add timeout to github actions and remove old azure-pipelines file 2020-01-23 11:02:37 -08:00
Adeeb 28af44d199 GitHub Actions for CI (#986)
* basic github actions config

* submodules

* pwd

* docker save

* unit tests

* add rest of tests

* fix unit tests

* artifacts

* container name

* does this work?

* no --rm when we want artifacts

* clean up

* fix artifact paths

* name

* rerun travis

* remove travis config
2020-01-21 12:26:10 -08:00
Willem Melching 20745fe1d7 add bug report template 2020-01-20 12:15:55 -08:00