Commit Graph

343 Commits

Author SHA1 Message Date
Adeeb Shihadeh
a9f5dcf4cf CI: speedup docs build (#30574)
old-commit-hash: 5dba9187e52d243a570bf10386ff9fe889e93abf
2023-12-01 19:55:27 -08:00
Adeeb Shihadeh
d84af30348 bump model unit test timeout
old-commit-hash: afd5877be8260afd840512d477b9164595343eed
2023-11-30 21:48:11 -08:00
Justin Newberry
641ae08637 CI: automatically create PR for submodule bump (#30538)
* add job

* add job (#52)

* add body

* Bump submodules (#53)

* add job

* add body

* add .

* rm that

* need submodules too

* better message

* monday at 4am

* i thought i was still est lol
old-commit-hash: 7a387962c66173fd195152007e279f73e020a6a1
2023-11-27 17:09:32 -08:00
Adeeb Shihadeh
574a8fd901 Revert "CI: automatically create PR to bump submodules (#30523)"
This reverts commit e653b285251e45740bfde63fb798d33c3627ae41.

old-commit-hash: e0ab068273a4726e8634c7a3a4ab5cfecd29e730
2023-11-27 09:40:37 -08:00
Justin Newberry
15061adcdf CI: automatically create PR to bump submodules (#30523)
old-commit-hash: 6f073aed5f412a3571135faebf123b952aedb95c
2023-11-26 08:27:25 -08:00
Adeeb Shihadeh
c544c3200d CI: manage stale PRs (#29367)
* CI: manage stale PRs

* before_close

* rename to ignore stale

* no push

* prod mode!

---------

Co-authored-by: Justin Newberry <justin@comma.ai>
old-commit-hash: 31ef352234b3348aa96417e17d49a0cea5be6450
2023-11-18 23:31:33 -08:00
Justin Newberry
2a934cf3c8 CI: disable registry caching (#30474)
* Revert "CI: separate image for docker cache (#30413)"

This reverts commit ce7c4abe37343b78c3a0da66ec784fd71a46e53a.

* Revert "CI: enable buildx for registry cache (#30473)"

This reverts commit 528b1be03ac407184f19b8d4901cdc5a7c96e7eb.
old-commit-hash: 291c04163a0724ce67aca6188cab092d6cecad02
2023-11-15 18:21:57 -08:00
Justin Newberry
48ac234374 CI: enable buildx for registry cache (#30473)
* just registry cache

* enable buildx
old-commit-hash: edf90f3e7647bf0929f903bbcf3fc67a80ec87e9
2023-11-15 17:53:00 -08:00
Justin Newberry
6af8e72604 Process Replay: move to pytest (#30260)
* process replay pytest

* enable long diff

* readd job name

* make it executable

* cleanup imports

* retrigger
old-commit-hash: 90c873ab1def0756f6f91fcb7f2d6fad503e3f49
2023-11-13 13:50:23 -08:00
Justin Newberry
efaa3ea500 Pytest: default settings on PC improvements (#30441)
* always multithreaded

* multithreaded

* pkill correct process

* escape more

* load for interfaces
old-commit-hash: 2ad82cbfb064676401876a20e49e3965c40344a0
2023-11-13 10:45:24 -08:00
Justin Newberry
a0b0c1c4e7 CI: codecov for multiprocessing (#30432)
old-commit-hash: 26294173207cd5e3c586ca71a88fdd3a09fc7345
2023-11-10 10:02:05 -08:00
Justin Newberry
0a901ebe02 Revert "CI: codecov for multiprocessing" (#30431)
Revert "CI: codecov for multiprocessing (#30428)"

This reverts commit 3b07eefe35677ba9cd35680864b88d5eacd3a25e.
old-commit-hash: 863fdec50e6e222b4b50157c7fe2e254de3435bd
2023-11-09 15:52:28 -08:00
Justin Newberry
81e3076dc6 CI: codecov for multiprocessing (#30428)
* concurrencty codecov

* its a list

* retrigger ci

* increase delay
old-commit-hash: 1e91cf92a180f7093279d19e4a8694c353910d15
2023-11-09 15:19:10 -08:00
Justin Newberry
d50bddf658 CI: label codecov uploads (#30426)
* label

* matrix
old-commit-hash: 5c2796a104fd2bfb4ef7a541108bd4faee587ba5
2023-11-09 11:12:19 -08:00
Justin Newberry
e55c032ac0 CI: pytest for the rest for GHA (#30418)
* pytest car

* all pytest

* need more time

* keep release test short

* keep it short
old-commit-hash: 53b6ab9e180381134c3809239768477bcc6cbd25
2023-11-08 16:04:02 -08:00
Justin Newberry
621dae92c7 build_release: increase timeout again (#30417)
* inc timeout

* 3 minute timeout
old-commit-hash: 844cbd95e73b9ea5cc9571534644342458c36d14
2023-11-08 14:32:16 -08:00
Justin Newberry
d2fde3ab22 build_release: increase timeout (#30416)
inc timeout
old-commit-hash: fa9d3ec1f5c3ca0b32d61a1fdd410cd7bb59c932
2023-11-08 14:15:15 -08:00
Justin Newberry
b4992fefed Pytest: consistent codecov (#30408)
* seed only

* random seed

* ignore version.py

* increase max examples

* increase default max examples
old-commit-hash: d02dd50749c8dabc1cd3385bdf2cf3fb7cb7ac63
2023-11-08 13:43:32 -08:00
Shane Smiskol
f22eeaa0be selfdrive_tests: allow manual run (#30307)
* allow manual run

* Apply suggestions from code review
old-commit-hash: 2acb22fadacaa57919e1bf7bbe93e49542db6600
2023-10-25 15:17:17 -07:00
Adeeb Shihadeh
7630012f4a add CNAME for docs.comma.ai
old-commit-hash: 54db997d80bdc9105eec9ca969727417b17d968b
2023-10-20 20:28:21 -07:00
Justin Newberry
de9bc58c39 add fingerprinting template (#30257)
Add fingerprint template
old-commit-hash: db460762c2da8f2cb49195094f7c07f7ee3f3ed7
2023-10-16 11:32:31 -07: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
Kacper Rączy
2878a3a876 CI: add regen job (#30157)
* Ability to whitelist/blacklist cars in regen_all

* Add CI job for regen, running on 2 segments

* Run regen_all, not regen

* Use coverage run

* Add test_regen

* Use test_regen in ci test

* Add test case names

* ONNXCPU = 1

* Add mazda segment

* Use RUN_CL

* build cl image before running

* unset PYTHONWARNINGS

* Create regen cache

* Replace daemons with processes

* Skip ford

* Skip mazda

* Add comment about commented segments

* Update selfdrive/test/process_replay/test_regen.py

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

* Remove unset pythonwarnings

---------

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 3aa74c28fcd426f73da2201b2fdd7ac2be21ba71
2023-10-05 13:59:00 -07:00
Justin Newberry
a0f1a5207a CI: label for research and fix CI/testing label (#30152)
* research label

* add jenkinsfile
old-commit-hash: c6ad15e52f346f2c3788c607ed3eb589e652f0a9
2023-10-03 13:48:17 -07:00
Shane Smiskol
f2863a0f15 CI: fix building prebuilt image (#30099)
* fix prebuilt and test it

* that does not work
old-commit-hash: 571ebf77fa81deef8adef6fca665e996395e3b43
2023-09-29 02:19:10 -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
e0346cac83 CI: disable native mac build (#30082)
old-commit-hash: 4f72e87ab740ad12932102a8b111818afc77ec38
2023-09-27 21:15:53 -07:00
Adeeb Shihadeh
a2c5b7c2a9 CI: reduce master-ci build frequency
old-commit-hash: 0e02d8b8d154024c569954bbad430bb5e287d003
2023-09-26 16:18:41 -07:00
Justin Newberry
ef75f0ab12 CI: use "slow" marker for pytest (#30063)
* skip to mark

* fix quotes
old-commit-hash: 0251742079b206ce40a3b4d8ae9cec1381494d4a
2023-09-26 13:44:18 -07:00
Adeeb Shihadeh
3512ac86eb pre-commit: always check all file sizes (#30050)
* pre-commit: always check all file sizes

* fix release
old-commit-hash: 425fa316d15e45595ecdd7d394ee28d7fb84e214
2023-09-25 22:22:48 -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
Justin Newberry
52b437f6b6 CI: remove warning messages (#30013)
remove ci warnings
old-commit-hash: f223b66b7ba3f0b5f9cfb86b6350e8bb1d53d0f3
2023-09-22 19:59:38 -07:00
Justin Newberry
70a5d52887 CI: disable buildjet on PR's from forks (#29979)
* fix fork CI

* linter

* needed for docker build too

* slightly more clear

* you should have gone for the head
old-commit-hash: 6f0affbcd29d3ac84ca5db73d3eb12dbfcd6b79f
2023-09-20 13:15:23 -07:00
Adeeb Shihadeh
e14996e079 CI: login to docker hub on BuildJet (#29961)
* CI: login to docker hub on BuildJet

* shell

* try quotes

* forward

* try this

* can't believe this is broken

* try

* fix process replay
old-commit-hash: 4b7b234b9e91c0a291e2ff3fae6e6b5f0cf02113
2023-09-18 15:53:16 -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
4fd9b553be macOS: add prompt about support in setup script (#29939)
* Add prompt about the state of macos support in mac_setup

* Change words

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

---------

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: f0b8ecd14f7aed3d3ad46c770881e3028ed9781f
2023-09-15 19:05:32 -07:00
Justin Newberry
79feec2438 CI: reduce unittest timeout (#29937)
reduce timeout
old-commit-hash: c6f1f36789427e115c533a5d5c319d4e58ff644a
2023-09-15 14:38:51 -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
Adeeb Shihadeh
cc4cb7e078 don't run test twice
old-commit-hash: 7ef8898624cddb0f2afb3322e2691dd5212239f2
2023-09-14 14:08:24 -07:00
Vivek Aithal
244a2fc793 locationd: Unit tests for different scenarios (#29908)
* add different scenarios for locationd

* add locationd scenario tests to unit tests
old-commit-hash: e9edf1300ac486e1e1f79035b14a648d41f0d16d
2023-09-14 13:59:21 -07:00
Vivek Aithal
370d912053 liblocationd: No longer used (#29909)
remove liblocationd
old-commit-hash: 01011c6c1d8a211092d8f90658497f50ebd06bf1
2023-09-13 18:59:32 -07:00
Justin Newberry
490613e5e4 CI: fix setup retry sleep time (#29877)
old-commit-hash: a87d62ffa64a88243e9111e20a740f9ce8b9c11c
2023-09-11 23:08:04 -07:00
Justin Newberry
58ea2bac72 CI: never remove existing labels (#29885)
old-commit-hash: f9a60072f7b5c78723a48634807b2f7304c2d663
2023-09-11 23:04:53 -07:00
Adeeb Shihadeh
1f8459d285 use pytest for cpp tests (#29833)
* add pytest-cpp package (#29828)

* add pytest-cpp package

* disable for now

* use in ci

* use pytest cpp

* use my branch

* add missing tests

* that doesn't make sense

* it was merged upstream

* replace TEST_RLOG_URL with a publicly accessible url

* PR Cleanup

* assert instead

* update poetry lock

* add comment about  pytest-cpp

---------

Co-authored-by: Justin Newberry <jnewberry0502@gmail.com>
Co-authored-by: Justin Newberry <justin@comma.ai>
Co-authored-by: deanlee <deanlee3@gmail.com>
old-commit-hash: 2c1dfc2f341b09381af2cc7872c4092df28dc9d5
2023-09-11 14:01:50 -07:00
Justin Newberry
d1fc58bf81 CI: fix pr labeler permissions (#29862)
* fix pr labeler

* fix that
old-commit-hash: 50b954d595edc43956e2dcba4ff18446df80e371
2023-09-09 01:02:49 -07:00
Justin Newberry
693183a946 CI: auto label PR's (#29842)
* auto label

* on pull request

* checkout

* yaml not yml

* recursive here too

* start with just car stuff and CI

* require all

* no fps

* add translations and fix CI
old-commit-hash: aa52cf3e815ea665b9222c4c6a1e291d6c86f8a9
2023-09-08 17:24:19 -07:00
Kacper Rączy
fc4972539f docker: fix cl tag (#29858)
unset TARGET_ARCHITECTURE before running build
old-commit-hash: c417669cbdadbc3a4fc31073116987264aa0e2d4
2023-09-08 17:20:03 -07:00