Commit Graph

212 Commits

Author SHA1 Message Date
Adeeb Shihadeh
01db07375c nav model replay (#26697)
* nav model replay

* set token

* fix gh actions

* update refs

* fix pc
old-commit-hash: 1da6f6a6e213280979dcf64b4d3e90f291bda4a3
2022-12-07 19:36:30 -08:00
Cameron Clough
fd73f0955f CI: use github.head_ref to group PR action runs (#26505)
* CI: use github.head_ref to group PR action runs

for push triggers, github.ref is set to the "branch or tag ref that was pushed"
for pull_request triggers, it is set to the "pull request merge branch" (master?)

github.head_ref is only set when the trigger is pull_request

https://docs.github.com/en/actions/learn-github-actions/contexts#github-context

* only check github.ref for push event
old-commit-hash: a662af57c7de750df4f1650ee4079c56665b817e
2022-11-15 13:07:46 -08:00
Dean Lee
520d0d1af0 Cabana: add save DBC dialog (#26282)
* export DBC to text edit

* added saveAs & Copy To Clipboard

* cleanup

* cleanup include

* add test case

* rename variable

* fix precision
old-commit-hash: 80b088c332808439ea9cfe23557fae5a86fb075c
2022-10-30 07:31:12 -07:00
Cameron Clough
eef468fd85 Revert "ci: run some jobs only on push (#26202)"
This reverts commit 8e0e99f77c4e7294df4c57e013c45a1e570cd5ef.

old-commit-hash: 335351123ab8a34d06bf164b5cf5be9046bf2c3c
2022-10-22 01:04:54 -07:00
Cameron Clough
cc8d86fa08 ci: run some jobs only on push (#26202)
* ci: run some jobs only on push

alternative to #25900

* tools too
old-commit-hash: 04b40aad92afaac555c3c7d814699c467d975627
2022-10-21 21:13:55 -07:00
Cameron Clough
3e7720538b Revert "ci: don't trigger on pull request sync event (#25900)"
This reverts commit d63442bd587b62ed26ba85dd5008951b06ae915c.

old-commit-hash: dba8e8ec0ee026f73b5a87d2c4b00556fdee58f7
2022-10-21 18:04:07 -07:00
HaraldSchafer
3ca9b7f02e Pipenv -> poetry (#24858)
* Try poetry

* Remove casadi for now

* Update docker

* Copy pipfiles

* add casadi back

* Too many slashes

* New poetry api

* Install system

* Try again

* No more pipenv

* new dependencies

* updates

* poetry 1.2.1, install dev dependencies

* keep install pipenv for xx for now?

* add pre-commit checks for poetry

* poetry lock is too slow

* update pip

* migrate to poetry groups

* update lockfile

* don't need to specify dev group unless it is made optional

* always install poetry

* set POETRY_VIRTUALENVS_CREATE instead, and use pipenv for xx

* use env for docs docker image

* alphabetical

* poetry 1.2.2

* add dev dependencies for typing

added in aacf6ae3

* remove constraint

* fix PIPENV_SYSTEM

* remove constraint

* don't need this here

* bump

* bump pipenv

adds support for installing local pyprojects (can add openpilot as dependency of xx)

* README improvements

* probably not necessary

* bump pip

* maybe not necessary?

* revert

* don't install openpilot itself into the virtual env

* remove PySide2 and shiboken2

reverts 3e41c775cbf670740ac648a8614d2d6b433312fe

* remove Pipenv, add xx dependencies, sync system python

* add pipenv as xx dep

* semver package constraints, use old lockfile versions

* fix casadi

* remove whitespace

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>

* disable poetry cache

* cleanup

* prefer config file

Co-authored-by: Cameron Clough <cameronjclough@gmail.com>
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: a98d105cb95a445f5ec69e783585c56604b09449
2022-10-21 16:23:56 -07:00
Cameron Clough
52319c1301 ci: don't trigger on pull request sync event (#25900)
old-commit-hash: 68530f18b4cb2a1f20dfb19319d91216c23e00bb
2022-10-20 13:23:59 -07:00
Adeeb Shihadeh
eec2ca1e8b CI speedup (#26096)
* CI speedup

* use the new stuff

* push

* no regressions

* try that

* don't let this slip

* fix modeld tests

* fix linter

* modernize prebuilt

* cleanup

* fix those

* increase a bit
old-commit-hash: 00494a44f4fb8f9e18ce82e22bf40fbe6bc1a805
2022-10-16 15:54:36 -07:00
Cameron Clough
813429531d ci: disable concurrency for master branch (#26052)
disable concurrency for master branch
old-commit-hash: 077f0e0a4433e07330e2c1e22bc1774da1d964fc
2022-10-12 15:11:03 -07:00
Cameron Clough
d0cb619c7d ci: fix tools workflow
old-commit-hash: 23e78da6a49b8aa43c7d60226aa466a8599be700
2022-10-12 14:34:43 -07:00
Cameron Clough
c4c087e145 ci: don't cancel concurrent workflows for master branch (#26047)
don't cancel for master branch
old-commit-hash: 03f06b0e32c823df2321ca4e6b0077b5e112f734
2022-10-12 14:03:44 -07:00
Cameron Clough
92fab023b3 ci: only run one instance of each workflow (#26036)
only allow one running workflow per event for each branch
old-commit-hash: 03a065160e176be451cce95073b71bbfce5b4d6a
2022-10-12 13:51:09 -07:00
Cameron Clough
0c0cdbeab9 direct model feedback issues to GitHub discussions (#25953)
* add links to give model feedback in github discussions

* use correct link
old-commit-hash: 2a0ce3e8b871b4e58b01b56a37bb8cfaf77d8b0a
2022-10-03 13:10:35 -07:00
Shane Smiskol
9af4e72ffd pre-commit: test translations (#25695)
* add test translations to precommit

* fix test translations pre-commit hook

* revert

* fix that

* add to release files

add to release files

* fix

* don't run test on stripped dir

* fix
old-commit-hash: 6393d29b0437417fe15cbc9eca5c87534531e9bd
2022-10-03 12:26:12 -07:00
Jeroen
8e260b430f CI: remove redundant env variables in 'openpilot env setup' (#25721)
old-commit-hash: 1544734a540cf28d12df98038d7b9ecc48f7ffb9
2022-09-10 12:02:27 -07:00
Adeeb Shihadeh
35ff65121e pre-commit: add codespell (#25571)
old-commit-hash: 6590fb2b93baedb2e1c5267b4f191f8e20fcd1d2
2022-08-30 11:20:55 -07:00
Adeeb Shihadeh
e3f291fe45 webcam isn't a special build anymore
old-commit-hash: c62619857567e8641fd375f35888f828b2bc5a2e
2022-08-26 20:44:29 -07:00
Adeeb Shihadeh
4665bd6209 build test files by default (#25515)
* build test files by default

* only on master based
old-commit-hash: c2fee2d45e23a4bcd758d4c056940f6e5e8cc9f7
2022-08-25 16:22:52 -07:00
Shane Smiskol
279feb2c2d Fix badge workflow
old-commit-hash: 10e414f9905d7d5ff9441b598d2a0285a618775b
2022-08-22 20:54:02 -07:00
Adeeb Shihadeh
fca5728055 CI: Actions cleanup + speedup (#25514)
* actions cache cleanup

* release build cleanup

* fetch dpeth
old-commit-hash: 71e76c3d0fa819b8aa9d3580c96b52480febf3d4
2022-08-21 19:14:36 -07:00
Adeeb Shihadeh
700d1362af build_devel: check file sizes against GH limit (#25391)
* build_devel: check file sizes against GH limit

* pull lfs
old-commit-hash: ce1e40285bd9b772c827d0c5e28e2657c5adcb74
2022-08-08 14:16:47 -07:00
Adeeb Shihadeh
7b67dfbe4d CI: don't run badges job on forks (#25381)
* CI: don't run badges job on forks

* Apply suggestions from code review
old-commit-hash: ec7a05c9a120393bf4d806b1c1d06217eb5689ca
2022-08-07 16:01:42 -07:00
HaraldSchafer
f7d1aad21e Update model replay commit for calib change (#25357)
* Update model replay commit for calib test

* more reliable baseline

* update docker login

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 9fbbefbc94f8c672e0b1c79333e34366e19f96cf
2022-08-03 22:35:03 -07:00
Shane Smiskol
bcbf8463e6 Multilanguage badges (#25244)
* Test badge

* fix?

* Test

* debug

* debug

* debug

* debug

* debug

* debug

* debug

* try this

* need to build

* a minute for what

* download and commit test badge

* get dynamically

* fix

* Add to readme

* force push

* should work

* one step

* Update badge

* draft

* clean up

* remove these

* one line is fine

* Adding badges will have to be manual, but that should be fine

* cause error

* continue on error

* hope this doesn't delete the badges

* ugh, allow-failures would be so nice

* whoops

* yep need this

* do this

* now try a push

* clean up

* rm line

* need this

* see if this works

* orange

* does this work?

* ?

* do dis

* needs to be global?

* cool, this works

cool, this works

* run only on master

* add back workflows

* remove that

* sorting

* sorting

* print badge markdown

* it is bytes though?

* run once more

* revert

* looks nicer

* strange

* no decimals

* run again

run once more

* nice workflow_dispatch

* only run on a schedule and remove error handling

* make links absolute

* adjust badge text
old-commit-hash: 9ab1c492dd051276a422fbac38f754c4e6633f32
2022-07-22 14:07:54 -07:00
Shane Smiskol
fbb1ee3f50 Car info diff comment: don't fail if car info structure changes (#25193)
Don't fail if car info structure changes
old-commit-hash: b5e3678245cfbe29041593742f94acc4f7e057cc
2022-07-18 23:17:29 -07:00
Willem Melching
b1901c648d run pre-commit in release CI (#25158)
* run pre-commit in release

* add pylintrc and init files

* build first

* add mypy ini

* limit amount of debug scripts shipped in release

* add python version?

* add more missing __init__.py

* excluded rednose for cppcheck

* remove files before dirty check
old-commit-hash: a006cd168ea5a2fec2f03b29460a3a685538b9cf
2022-07-13 17:55:05 +02:00
Shane Smiskol
5a3528668c Car docs diff bot: skip PRs from forks (#25151)
* check permissions explicitly

* fix syntax

* Fix

* Diff

* fix

* revert
old-commit-hash: e710ba549a3e0b1aba50ba8d4ed47e695a02c538
2022-07-13 00:20:35 -07:00
Shane Smiskol
c862387703 compatibility docs: print diff from PR (#24941)
* print docs diff

* revert car changes

* cause a diff

* temp so it works

* text diff

* tier inline is a bit too much

* comments

* fix

* use paths

* fix

* temp

* temp

* diff

* fix

* remove something

* more text diff

* Delete comment if outdated

* Smaller diff

* remove

* no diff

* Don't try to run on fork PRs

* cause some errors

* Fix

* Fix

* Doesn't support env in job if, only step if

* in case file was moved, don't throw error

* See if this does what I think it does

* See if this does what I think it does

* should work

* change something

* revert

* uncomment

* no comment

* this shouldn't fail

* rename to base

* Remove true

* Remove other true
old-commit-hash: aadaaabd54988a286704ef2bea0bacf4bd62fa8b
2022-07-12 18:58:46 -07:00
Shane Smiskol
7f65623272 Use upstream wait-on-check-action action (#25126)
Use upstream lewagon action
old-commit-hash: ea449f1fe0bbff0eff5b12d64f0b5e75b7983998
2022-07-12 14:08:17 -07:00
Adeeb Shihadeh
33a85302e0 Fix master-ci dirty working tree + CI test (#25087)
* check

* test for dirty working tree

* swap order

* fix diff
old-commit-hash: df251ef50ebfe5c997e14a03fca4ec932bc4c5cf
2022-07-08 13:00:43 -07:00
martinl
907c9f6815 Update path for github workflow hardware unit tests (#25035)
* Update hardware path for github workflow unit tests

* Update release/files_common

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 0bf1462ad0a459f8a2cc863f58089540789922f1
2022-07-05 10:33:20 -07:00
Shane Smiskol
cb82e76c75 Multilang prerequisites (#24999)
* some supporting code for multilang

* for now just english

* test for missing language files

* test for checking if ts file is up to date

* Skip test if causes exception, other test catches this

Test test

Should also work

should now fail

revert

rmn

* add to files_common

* fix files_common

* newlines

* no need to not update

* comment

* only english

* double quotes

* switch around
old-commit-hash: 7178800d844469601cb779d8f76b568ff82ac766
2022-06-30 11:02:53 +02:00
Shane Smiskol
2c5e890a23 UI: wrap all text for translation (#24961)
* rough multiple language demo

* more wrappings

* stash

* add some bad translations

* updates

* map from french to spanish still has same problem of needing to call setText on everything

* add files

* restart UI

* use return code

* relative path

* more translations

* don't loop restart

* Toggle and prime translations

* try on device

* try QComboBox with readable style

* stash

* not yet scrollable

* stash

* dynamic translations (doesn't work for dynamic widget strings yet)

* clean up multiple option selector

* store languages in json

* try transparent

* Try transparent popup

* see how this looks

* tweaks

* clean up

* clean up

* clean up 2 and missing tr

* wrap more strings

* missing updater

* fixes

* add basic test to ensure all strings wrapped

* try in CI

* clean up

* test name

* fix test

* always install qt dev tools

* fix deps

* fast test

* add section so it prints multiple errors

* debug

* debug

get rid of those

* make any difference?

* comment

* oh...

* run with offscreen platform

* try out section

* clean up

* fix missing wrappings (it works!)

* move down

* space

* clear relevant params, set TICI=1
old-commit-hash: 879a7c3201a037c27c92ad6b92143114f52f29d3
2022-06-29 14:47:46 -07:00
Dean Lee
2156e71e7a move replay from selfdrive/ui/replay to tools/replay (#24971)
* mv to tools/replay

* change folder

* add .gitignore

* fix build doc

* disable warning

* enable warning after build

* build qt/util.cc qt/api.cc to library

* cleanup
old-commit-hash: fd5b3d76036b78864111790931a3abcb1d11ee0f
2022-06-28 16:12:42 +02:00
Willem Melching
88a90035cf split locationd and liblocationd tests (#24977)
* laikad: use cython version of gnss kf

* fix import error

* test liblocationd separate

* Revert "laikad: use cython version of gnss kf"

This reverts commit bdd769b9554e7e45e976dabd6595403943e864bb.
old-commit-hash: b95e68778271cccf558452686e022ae57f25a701
2022-06-27 21:31:54 +02:00
Willem Melching
a5b397e001 car_bug_report.yml: fix labels
old-commit-hash: 95d8517a81d23e0c385b5f931e7e89a3d3e52b17
2022-06-21 16:26:40 +02:00
Adeeb Shihadeh
d9d83b0225 Move camerad to system/ (#24836)
* mv camerad

* add hardware symlink

* fix unit tests
old-commit-hash: 6123ab3d1c901ed3763e1a7cb8e1aac3f6b8fda3
2022-06-19 14:43:49 -07:00
Adeeb Shihadeh
396a20d9b3 CI: add build job for latest Ubuntu (#24637)
* CI: add build job for latest Ubuntu

* source

* source env

* scons cache

* cache pyenv

* fix key

* source
old-commit-hash: fbd98b0e541b89f477061bab34dfc41495ac9399
2022-06-11 22:51:09 -07:00
Adeeb Shihadeh
c4f9844637 CI: fix docker push for base image
old-commit-hash: a029245a784acb9fe3d8db7f1023aab222ec0dba
2022-06-11 12:21:12 -07:00
Shane Smiskol
adc451ca3e build checks do not rely on each other (#24783)
old-commit-hash: 5bb1554ec49f4c3e0e29d614c6e8de2b5f71e163
2022-06-09 10:55:05 -07:00
HaraldSchafer
7c4645f227 Fix onnx model replay (#24702)
* No more C2

* Add test

* Various fixups

* Use ONNXCPU

* rm prints

* LFS pull

* Use sim docker

* Try sim docker again

* Print counter

* Make sure it can fail

* Fails correctly

* comments

* Add more install to opencl base docker

* vim not needed in base
old-commit-hash: a2c6b30c982cc4b5ebea890ab7cdd937dea9b4fa
2022-06-03 10:43:09 -07:00
HaraldSchafer
cf0564382a CL in docker (#24718)
* Move CL to base docker

* Different docker for cl

* add cl base docker

* add to tool

* cleanup

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: dc4d4f875b173b92847149918af7f1c63d78701f
2022-06-02 18:26:12 -07:00
Adeeb Shihadeh
3dd10e51e1 Create system/ for generic services (#24717)
* Create system/ for generic services

* logcatd joins the party

* fix those up
old-commit-hash: afd16b2ade7723d87a15fa6c5f5de59734897f51
2022-06-02 17:02:25 -07:00
Lukas Petersson
2e7804266a CI: run process replay in parallel (#24646)
* CI in parallel

* cache key
old-commit-hash: 28dd1a9124559bd590afc53edce4adcb75297ea8
2022-05-24 12:47:29 -07:00
Adeeb Shihadeh
f4675fc260 Merge common/ and selfdrive/common (#24556)
* Merge common/ and selfdrive/common

* fix that

* fix version

* fix unit tests
old-commit-hash: cb8885cffb313bea258c012c3026461a22bf8135
2022-05-18 14:11:57 -07:00
Adeeb Shihadeh
318b9cff4b CI: pull LFS after checkout (#24552)
old-commit-hash: 2c2c61fd77278443cbbf46a93148e1b0aaf5b798
2022-05-16 14:30:20 -07:00
Adeeb Shihadeh
8f0df45031 CI tuneup (#24541)
* little housekeeping

* all the commits

* one more cars
old-commit-hash: b2569d871ffcdb41f0100cdec7ee56eeb5f605fd
2022-05-15 17:57:34 -07:00
Adeeb Shihadeh
c7e8f9af80 push to real master-ci
old-commit-hash: 08cb0edb533646861b036e83a7d87c03bf677c8e
2022-05-14 00:43:40 -07:00
Adeeb Shihadeh
5f429c1513 CI: build master-ci in Actions (#24533)
* jenkins: build master-ci on pc

* make target configurable

* build on actions

* no wait

* more fetch

* v3 has push?

* example

* remove that

* wait

* v1.1.1

* this one works

* schedule

* clear out target first

* no lfs
old-commit-hash: 531f4483b2c24c054b0d0fa264438a8a864e09fa
2022-05-14 00:18:30 -07:00