Commit Graph

126 Commits (master)

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