Commit Graph

38 Commits

Author SHA1 Message Date
Adeeb Shihadeh
44afc4ae3c 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
old-commit-hash: c715661656
2020-07-07 14:17:09 -07:00
Adeeb Shihadeh
d627c6f268 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
old-commit-hash: 37d6edf4df
2020-07-07 14:08:37 -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
428a0e40f3 rename docker containers
old-commit-hash: 855a630dfc
2020-06-12 20:02:57 -07:00
Adeeb
0914a0661c 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
old-commit-hash: 7e80ae3f09
2020-06-12 12:09:05 -07:00
Adeeb Shihadeh
92cea66141 update dockerhub token
old-commit-hash: f05685992a
2020-06-11 16:24:23 -07:00
martinl
2dfb8db054 Fix typo in Github Actions workflow (#1673)
old-commit-hash: 53a8df5a41
2020-06-10 07:30:09 -07:00
Adeeb
ea0292d86e Move driver monitoring out of controls (#1642)
* move dmonitoring out of controls

* run monitoring unit tests in CI
old-commit-hash: d4858e5ff5
2020-06-09 13:25:15 -07:00
Adeeb
daea932130 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>
old-commit-hash: c24a7e248a
2020-06-08 14:24:14 -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
Adeeb
55dedc0476 pyextra isn't a submodule anymore (#1601)
old-commit-hash: cc2137bded
2020-05-30 10:04:56 -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 Shihadeh
3ecd9c2d31 timeouts for all CI jobs
old-commit-hash: 2752df8266
2020-05-28 14:40:25 -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
167ac83f8e only run pipfile action on schedule
old-commit-hash: db8f3aee11
2020-05-27 18:49:00 -07:00
Adeeb Shihadeh
8d818c3672 run pipfile update action at 8 pacific time
old-commit-hash: 84067d0b93
2020-05-25 03:25:47 -07:00
Ewout ter Hoeven
d0c84ff3c2 GitHub Actions: Fix Update Pipfile.lock workflow (#1562)
* Remove --requirements

* Add commit-message to PRs in pipfile workflow
old-commit-hash: 2b23111e0e
2020-05-25 03:19:57 -07:00
Ewout ter Hoeven
6e3b893205 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>
old-commit-hash: b1795235f9
2020-05-20 13:16:02 -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
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
Adeeb Shihadeh
66f8a63d4a build release in public CI
old-commit-hash: 4e2d46f5da
2020-05-09 22:16:21 -07:00
Adeeb
8450ae3541 CI: bump upload artifact version (#1471)
old-commit-hash: 39727ddc56
2020-05-06 05:46:02 -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
Andy
738c3cca79 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

old-commit-hash: c4af05868b
2020-02-24 21:24:54 -05:00
Adeeb
12a4247161 Fix condition on CI push stage (#1149)
old-commit-hash: f198624ca2
2020-02-21 10:13:49 -08:00
Adeeb
a8ea2fff77 Fix artifact upload in CI when step fails (#1139)
* Fix artifact upload in CI when step fails

* set container name

old-commit-hash: d2970fd2da
2020-02-20 14:40:21 -08:00
Adeeb
8c4d5e274b cat process replay diff (#1112)
* cat process replay diff

* always

old-commit-hash: 50944d305f
2020-02-17 13:41:21 -08:00
Willem Melching
d11cfbe33e fix fingerprint test
old-commit-hash: e2253b072e
2020-02-13 16:53:41 -08:00
Willem Melching
23fd4b1158 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

old-commit-hash: 5388878dac
2020-02-10 19:03:46 -08:00
Willem Melching
403121bc2f Use full name for docker caching
old-commit-hash: 118198605f
2020-02-03 14:12:35 -08:00
Willem Melching
0d5f5b3e4b Use dockerhub
old-commit-hash: 5ea95c3d87
2020-02-03 13:33:21 -08:00
Willem Melching
cdd7da10c4 use base docker container when building
old-commit-hash: 58f4f5aac4
2020-02-03 13:10:38 -08:00
Willem Melching
df1f2d7a66 Add fingerprint test to ci
old-commit-hash: 822b32656b
2020-02-01 18:40:04 -08:00
Willem Melching
bf9172b381 CI: remove header hacks when checking out submodules (#995)
old-commit-hash: e2c784740a
2020-01-23 12:40:40 -08:00
Willem Melching
afc4e0dce1 always upload artifacts
old-commit-hash: fb8efbed2d
2020-01-23 11:35:07 -08:00
Willem Melching
6dccca4177 Add timeout to github actions and remove old azure-pipelines file
old-commit-hash: 50e859e6b1
2020-01-23 11:02:37 -08:00
Adeeb
ef414f58f2 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

old-commit-hash: 28af44d199
2020-01-21 12:26:10 -08:00