Commit Graph

86 Commits

Author SHA1 Message Date
Adeeb Shihadeh dc094792b7 Revert "ci: faster metadrive test (#33755)"
This reverts commit d7c0906d0b.
2024-10-14 09:11:37 -07:00
Maxime Desroches d7c0906d0b ci: faster metadrive test (#33755)
* fast

* fix

* same ratio

* output

* check old

* error

* fail

* better

* log

* test faster runner

* work?

* test

* ratio

* forward

* try without wait

* test old distance

* fxi

* test old runner

* test this

* assert distance

* cleanup

* better

* get distance

* cleanup

* choose runner

* very slow

* wait

* put this back
2024-10-09 15:16:50 -07:00
Adeeb Shihadeh 188de7b90e CI: disable devcontainer until it's faster. not worth 5m 2024-09-11 17:23:33 -07:00
Adeeb Shihadeh 584eb373cd CI: remove 20.04 job 2024-09-07 15:57:30 -07:00
Adeeb Shihadeh e37e93d57b CI: increase shm size to 2G
old-commit-hash: 76fd5b00f1f169013334e06031e6b063c16cf5a5
2024-07-30 14:29:48 -07:00
Hoang Bui e02af37ac8 CI: remove redundant save cache step (#33052)
remove
old-commit-hash: 344694110751b8282eabe0b8b1e4de38646e4623
2024-07-24 10:36:28 -07:00
Mauricio Alvarez Leon 42cee115ad CI: test the tests (#32869)
old-commit-hash: 0fecfd6c4578d17070db91bfa4920888258b987b
2024-07-03 15:27:29 -07:00
Maxime Desroches a1a0e9e8a0 switch to uv (#32853)
* switch to uv

* pin back numpy

* remove lock

* try without cache

* test with no cache

* no cache for all

* debug

* remove debug

* remove pygame dep

* Update README.md

* remove lower bound

* update repo maintenance job

* upgradable

* repo maintenance

* copy poetry api

* build system

* unpin pygame

* readd cache

* readd cache

* basic command

* lower delay

* macos

* fix authors

* macos fix

* use uv

* preview

* other way

* new metadrive

* uv sync

* cp lock in docker

* fix docker

* use hatchling

* fix devcontainer

* fix container

* path

* uv run

* cleanup

* pre-commit

* format

* release_file
old-commit-hash: 12d5afba731b193b6992304c9e31b87603602ae6
2024-06-28 00:04:05 +00:00
Adeeb Shihadeh 6745358478 remove mapbox references (#32811)
old-commit-hash: bccccde568c05a7a641110c90d4ed95047cdea4e
2024-06-22 18:01:47 -07:00
Maxime Desroches 1b836bdb86 Ubuntu 24.04 (#32624)
* noble build

* workflow

* symlink

* map only for noble

* sym

* add qt to cppcheck

* cppcheck noreturn in non void funct

* get kaitai header

* kaitai header

* syntax

* try new pyopencl

* try this version

* install lsb-core manually

* support old 20.04 lsb-core

* try arm

* try latest pyopencl

* revert

* use pocl icd

* no lock

* no arm pyopencl

* new intel opencl runtime

* pin filelock

* undo

* glsl version

* new version

* build test

* remove test

* new metadrive

* remove glsl restrictions

* <optional>

* Update .github/workflows/tools_tests.yaml

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

* cache

* new cache

---------

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 5c4ea14a3cb7bcb443fbee8c5b1d52c10788c9e8
2024-06-18 03:30:32 +00:00
Mauricio Alvarez Leon 008008b03a Update to Python 3.12 (#32548)
* 3.12

* pprofile is broken

* use modified metadrivepy3-12

* 0.3.0 metadrive

* add metadrive/commaai git dependency

* metadrive git set

* pin sounddevice 0.4.6

* datetime.utcnow() deprecation

* poetry lock

* make datetime not aware

* poetry lock

* pin pytools

* google_crc32c wheel

* unpin sounddevice

* clean metadrive

* use python crc

* mypy

* 3.12.4

* allow python3.11

* test

* no pip

* poetry

* better

* better

* merge

* remove

* try

* test

* try  this

* snok

* python

* simpler

* setuptools

* lower

* try

* try

* work?

* ubuntu deps

* ubuntu

* try

* remove

* move

* remove this

* names

* Update .github/workflows/tools_tests.yaml

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

* python<4

* <3.13

---------

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
Co-authored-by: Maxime Desroches <desroches.maxime@gmail.com>
old-commit-hash: 148eaf8fa6c9b23cdd346e926f58fad61f79ff1d
2024-06-11 20:45:15 +00:00
Adeeb Shihadeh 8472df65ea tools/sim: remove special docker image (#32659)
old-commit-hash: 541b5cbf1387df07e76da55d3e332170d9e756f0
2024-06-08 09:18:28 -07:00
Hoang Bui 254d51ac8d CI/tools_test: remove redundant git lfs pull (#32642)
remove redundant
old-commit-hash: 4c549778c0b0bd4430f2ec18023c40d3a6252a1a
2024-06-06 12:59:57 -07:00
Mauricio Alvarez Leon cfbfa14dc9 CI: add devcontainer-rebuild workflow (#32564)
* add devcontainer-rebuild workflow

* add shell

* add shell on ifs

* use scripts/retry.sh
old-commit-hash: a2931d1956addab1e4c2dbc52b11d7d2e9199043
2024-05-28 14:45:17 -07:00
Hoang Bui 6452b26a99 CI/tools: Remove redundant build step (#32539)
old-commit-hash: 2ff94ec374514fb5054099288cb3a070e7286e56
2024-05-25 15:50:10 -07:00
Adeeb Shihadeh 04a7ae120c rm disabled notebooks test
old-commit-hash: 423016d6e9213e10fe7ababa128ee8a99b168540
2024-05-22 17:16:08 -07:00
Hoang Bui acd61af9fc CI/simulator: Fix metadrive test pyopencl.CompilerWarning (#32487)
* add pytest.mark.filterwarnings

* remove -W pyopencl.CompilerWarning

* add comment
old-commit-hash: f3f22a56980d7a3fb2cd7c07fec8ac0e9e376a38
2024-05-20 14:41:31 -07:00
Adeeb Shihadeh bf22381107 CI: remove redundant pj job
old-commit-hash: 04d8a4ecad7d9554c5968535ce3760728a6ff1a7
2024-05-18 16:08:10 -07:00
Hoang Bui 6c438b8902 CI: fix metadrive test (#32457)
* fix test

* this?

* fix

* this?

* deprecation warning inside

* comment
old-commit-hash: 950aeae5443123e59177444d06a7654a41504373
2024-05-18 14:04:22 -07:00
Hoang Bui 29a1763d01 CI/Simulator: Add Metadrive test to CI (#32352)
* works consistently

* ci gha

* fix

* navd

* fix

* cleanup

* change button

* cleanup

---------

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: aca01365e6715c1c5c18242e81e27c6feed151c6
2024-05-05 16:32:08 -07:00
Adeeb Shihadeh cec27f9db5 prep for ubuntu 24.04 (#32307)
* update to ubuntu 24.04

* latest

* revert those

* fix that

* vla

* try that

* fix uid

* keep 20.04 support

* just prep for now
old-commit-hash: a44add160e206aa87a2996372860846cc54ca29c
2024-04-28 16:24:04 -07:00
Shane Smiskol 4e32a90c5a juggle.py: migrate platform name (#32042)
* fix formatting!

* migrate plotjuggler platform for dbc

* test with can

* temp

* Revert "temp"

This reverts commit 9d740bf3bddc8a7833ca8c293a6fb4b692a30bb8.

Revert "test with can"

This reverts commit d6cf2304895d00f83e737f3f749089ce9c5f836e.

* fix test
old-commit-hash: 903cc225ebac1742517068b787f7dff91f7f7823
2024-03-28 16:40:31 -07:00
Justin Newberry 28e9c2ef76 disable notebooks (#31631)
old-commit-hash: 7208e37f8c02c2d5260ed06faf4c531f753811a3
2024-02-28 16:44:10 -08:00
Justin Newberry 4a172b23d2 bump notebooks timeout (#31377)
bump
old-commit-hash: e593ffc28c5900697e679d5a1f1a8fb76c1bfe1c
2024-02-08 11:49:33 -08:00
Justin Newberry c50146837e Docker: merge opencl and base images (#31338)
* mergeem

* don't change workdir
old-commit-hash: ceecf39c54e95e1bf973ea221fb3c5e7f215aecb
2024-02-06 17:11:00 -08:00
Justin Newberry 9dd03ed69c CI: increase notebook cache build timeout (#31212)
allow more time
old-commit-hash: 0b2442314d25adc7aa4f885a6b46299264d1da2d
2024-01-29 10:22:59 -08:00
Justin Newberry 6f47abeaad CI: test the car_porting example notebooks (#31131)
* dont use route

* fix and cleanup

* test the example notebooks
old-commit-hash: f22b6681d67a0ef11d0446edfb40f50a5c1f8417
2024-01-23 14:57:31 -08:00
Justin Newberry 11b807cd32 CI: use namespace.io (#31064)
* namespace

* mkdir

* fix

* restore only

* restore

* v3

* disable provenance
old-commit-hash: 35ed8a0886d8badf05f72edc597a536e1b03d08c
2024-01-18 22:13:19 -08:00
Justin Newberry d6922d3522 Revert "CI: use namespace.so" (#31060)
old-commit-hash: 23cbfe9eb3fc3fd3655e41d44a63a20e04bae1f1
2024-01-18 17:35:24 -08:00
Justin Newberry d792c3c5bb CI: use namespace.so (#31056)
* namespace

* mkdir

* fix

* restore only

* restore

* v3
old-commit-hash: 9ee0a8a2b1abb01eeaca7aa9de5fa86ee60a59e9
2024-01-18 17:17:53 -08:00
Adeeb Shihadeh 04da45f5c3 speedup devcontainer ci job (#30993)
old-commit-hash: 66ddfece826ed41bb52175dffb1f5252be15f086
2024-01-13 15:01:35 -08:00
Justin Newberry 0939b25bc4 CI: move test_maprenderer to GH actions (#30610)
maprenderer to ci
old-commit-hash: 5d668701cb69c1e3d170109a8e788a2acbacebd3
2023-12-14 16:59:28 -08:00
Adeeb Shihadeh 79ad4feddb CI: update to checkout@v4 (#30248)
old-commit-hash: 0336219b6a8c1a416efc6fe70545be6f20aa9bab
2023-10-14 23:25:41 -07:00
Adeeb Shihadeh 4866e8376b docs: move to gh pages (#30242)
* mv to pages

* cleanup

* push static

* mv that

* new name for the orphan

* only master

* build op
old-commit-hash: f8a7def5154acbff3d258b306c86a737ebf98f8c
2023-10-14 23:03:57 -07:00
Justin Newberry a0ccf2b577 Docker: add batman to sudo group (#30188)
add batman to sudo group
old-commit-hash: d731c85b2edd5f568390f293a0f60f03f1f1c6b3
2023-10-05 15:53:07 -07:00
Justin Newberry f64c0e5462 Devcontainer: run setup as batman user (#30084)
old-commit-hash: fb89a2a6dd123077ebf6ecb250ec6848c4bc1e7e
2023-09-27 23:40:02 -07:00
Adeeb Shihadeh e69eeb7344 move remaining big files into LFS (#30053)
old-commit-hash: e185e5ffcd165ee35e1bbd8c80631a89247a1dfc
2023-09-25 21:53:03 -07:00
Justin Newberry fc69b28f7e Devcontainer: improve CI tests and support using local built image (#30012)
* improve devcontainer tests

* test full build with cache

* fix that

* fix the cache

* fix the cache
old-commit-hash: 003018fc468c3a0a902160413ea5f5d434a987b9
2023-09-24 17:24:44 -07:00
Adeeb Shihadeh ee0ddd7e26 Revert "CI: login to dockerhub on aarch64 runners (#29915)"
This reverts commit 28211fe8ada8997119c57c5619349332a406aa76.

old-commit-hash: 079a51cfdff8e79aa4e85d8e3c70285c0a7ab2e0
2023-09-17 15:16:07 -07:00
Kacper Rączy 9525da02b6 CI: login to dockerhub on aarch64 runners (#29915)
* DOCKER_HUB_LOGIN command

* Add docker creds

* checkout runner name

* test again

* Use runner.name to distinguish between buildjet and GH runners
old-commit-hash: c9ec7bc2a3de1bd889d9034bd9336a4f65d36e23
2023-09-14 17:08:49 -07:00
Justin Newberry e468072f1f CI: retry setup on failure (#29785)
* try a setup action

* should be uses

* fix that formatting

* try conclusion

* continue on error

* try without hyphens

* only when failure

* make it optional

* continue on error

* those don't fail anymore

* what about 3 failures

* remove stuff for debugging

* cleanup

* review suggestions

* change that too

* fix pj
old-commit-hash: 917f71d4460bf5503190ade72a3fa760b64dca66
2023-09-06 11:11:15 -07:00
Adeeb Shihadeh 53e0f5eb49 pytest: use a clean environment for all tests (#29788)
* pytest: use a clean environment for all tests

* rm that

* fix pj

* put build back

* fix params

* fix that

* handle no key

* that was removed

---------

Co-authored-by: Justin Newberry <justin@comma.ai>
old-commit-hash: 7b6afbc1623b8c159a92f6a5a951fb4d688045ee
2023-09-05 18:52:40 -07:00
Justin Newberry 643a13f27e CI: use local scons cache instead of building a separate image (#29634)
* use local

* added ci_sim

* revert scons

* dont need these anymore

* same for sim

* fix dockerfiles
old-commit-hash: c46965fc27ecfe76e02affca2aacbe410a55196a
2023-08-25 16:06:17 -07:00
Justin Newberry e128aedc63 CI: move cache dir to workspace directory (#29622)
* comma dir

* mkdir

* fix issues

* test

* fix that

* fix

* do the other ones too

* missed that

* fix

* fix pr comments by moving into two different directories

* fix location

* fix that

* only change current

* fix
old-commit-hash: c0b9458a45f208c9773f859169a7de56d19b1bec
2023-08-25 01:41:04 -07:00
Adeeb Shihadeh 06aea7d935 CI: remove redundant apt installs (#29617)
* CI: remove redundant apt installs

* split build and test

* faster build
old-commit-hash: 36cc41f619a50e21b90171bab1eedf1f15dd61a9
2023-08-24 17:32:15 -07:00
Justin Newberry 4063a92683 CI: use GITHUB_ENV for env variables (#29616)
export doesn't work across steps
old-commit-hash: 90cb417caa049261797449d7e75eea01093e073d
2023-08-24 17:03:25 -07:00
Justin Newberry 630b440536 CI: fix docker push (#29614)
* fix those

* fix docker push too

* dont need that twice
old-commit-hash: ede9f2cda5500d9e094e89a32518c88b56c3335b
2023-08-24 16:30:33 -07:00
Justin Newberry 6847f819d1 CI: use scripts for docker build (#29599)
* use scripts

* remove common

* do login in the workflow

* separate step

* cleanup

* one script is cleaner

* keep it consistent

* review suggestions

* move in ci too

* PR cleanup
old-commit-hash: 3d9f238bf9a1f27c5a9a44df1b0f116182829be0
2023-08-24 16:09:08 -07:00
Adeeb Shihadeh 61cf541322 Minimal build (#29600)
* add build flag for minimum build

* add minimal build

* update

* fix pj

* bump opendbc

* update subaru
old-commit-hash: 4917e22615adbfcc9b3c3ec89b00d240e0b48883
2023-08-24 14:58:30 -07:00
Justin Newberry 7a532e02f3 CI: switch to --cache-to type=inline for buildkit cache (#29575)
this is cleaner
old-commit-hash: 2fdde9b77d5d830277500d6841f32a356544718a
2023-08-23 17:41:33 -07:00