Commit Graph

31 Commits (bbb6fa1172b11cb890e60c7c7c5db19d5fb220c5)

Author SHA1 Message Date
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
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
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 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
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
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